[PyQt] Re: Thermal Printer on QPrinter

dboddie at trolltech.com dboddie at trolltech.com
Tue Jan 20 18:43:52 GMT 2009


On Tue Jan 20 12:47:17 GMT 2009, Eduardo Willians wrote:

> Does anyone know *anything* that could help? If you know one little
> thing please help.

Have you tried the (new in Qt 4.4) QPrinter.setPaperSize() method that
accepts a QSizeF object?

  printer.setPaperSize(QSizeF(79, 72), printer.Millimeter)

David


More information about the PyQt mailing list