Property printer.paperSize contains a qt.QSizeF describing the desired size of the drawable area.

When this property contains a valid size, that is a size with positive width and height, the painter initial coordinate system is adjusted to display the specified drawable area within the desired page size. When using Qt-4.4 or greater for printing to a PostScript or PDF file, this also ensures that the image described in the resulting file has the desired dimensions.