the printer DPI can be obtained using QPrinter::resolution()
the screen DPI can be obtained using QPaintDevice::physicalDpiX() and QPaintDevice::physicalDpiY()
you can use these values to scale your image to make it look the same size on the screen as it will be printed out.
Bookmarks