> Perhaps Eric4 just sends characters to a printer, as someone suggested for a
> solution to your problem. This might be one way to achieve what you want,
> though you miss out on the abstraction provided by Qt if you do this.
>
> I experimented a little with printing to custom paper sizes, modifyi
On Wednesday 21 January 2009, Eduardo Willians wrote:
> > printer.setPaperSize(QSizeF(79, 72), printer.Millimeter)
>
> David, I thank you for your help. Receipt printers use spool-paper, so
> paperSize must be something like 72mm x "the size of the printing".
OK, but you might want to try a fixe
> printer.setPaperSize(QSizeF(79, 72), printer.Millimeter)
David, I thank you for your help. Receipt printers use spool-paper, so
paperSize must be something like 72mm x "the size of the printing".
Based on your suggestion I tried the following:
printer.setPaperSize(QSizeF(72, printer.Custom),
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.Milli
> Hello Eduardo,
>if you refer to normal receipt printers (like epson pos printers), i
> use them but after have problems using directly with qt like you are trying
> i configured the cups spool for the printer in raw format and create a file
> in the encoding configured for the printer (cp
> Hello Eduardo,
>if you refer to normal receipt printers (like epson pos printers), i
> use them but after have problems using directly with qt like you are trying
> i configured the cups spool for the printer in raw format and create a file
> in the encoding configured for the printer (cp
Hello Eduardo,
if you refer to normal receipt printers (like epson pos printers), i use them
but after have problems using directly with qt like you are trying i configured
the cups spool for the printer in raw format and create a file in the encoding
configured for the printer (cp850) in pyth
> Well, I'm trying to config a thermal printer (bematech[1]) with 79mm
> of paper width (72mm of printing capacity) and continous feed. But is
> not working correctly.
>
> Here is untill I got:
>
>
> app = QApplication(sys.argv)
> printer=QPrinter()
> printer.setFullPage(True)
> printer.setPaperSo
Does anyone know *anything* that could help? If you know one little
thing please help.
Thanks
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt