rnd for printpdf