Previously logged and acknowledged as issue number #261362 in old system but never visible there or here.
I use QPrinter::setFullPage() to allow me to place a full-page sized template of a complex form (from an SVG file) on the page. On Linux it works fine. On Windows the template image is offset because, apparently, full page does not mean that on Windows (except when the print is directed to PDF).
This test code:
On Linux prints equal page and paper rectangles as the docs imply:
Page rect: QRect(0,0 14033x9917)
Paper rect: QRect(0,0 14033x9917)
and Windows with a 'real' printer selected:
Page rect: QRect(99,99 6814x4760)
Paper rect: QRect(0,0 7016x4961)
The result is the template is properly placed over the entire page in Linux but is offset right and down on Windows. If the default Windows printer is set to a virtual printer (e.g. Distiller or XPS Writer) the behaviour is correct.
Qt 4.5.2 on Linux. Qt 4.5.2 in Qt SDK 2009.03 on Windows