10 "pixels" at 300, 600, or 1200 dots per inch (i.e. typical printer resolution) is less than a millimetre from the page edges: your pageRect() and paperRect() are very similar. That position is probably comparable to the tolerance of paper positioning in the printer, and less than the typical non-printable margin on a printer.
You are right. I just misunderstood the conception "page margin".
The QPrinter::setPageMargin function gave me a illusion that the entire paper is drawable.
Bookmarks