Numerical property printer.resolution contains the resolution of the printer. This is initially set by the mode argument of the constructor qt.QtLuaPrinter(mode). The resolution affects the coordinate systems for properties printer.paperRect and printer.pageRect. It only affects the drawing coordinate systems when property printer.papersize does not contain a valid size.