Property painter.pageRect contains a qt.QRect describing the coordinates of the printable area of a page.

This rectangle is expressed in coordinates starting from the top-left corner of the page and with units specified according to =printer.resolution. This coordinate system is not related the the drawing coordinate system.