Printing a file

Jeremy Sanders jeremy+complangpython at jeremysanders.net
Thu Mar 2 12:06:06 CET 2006


David Boddie wrote:

> That's where QPrintDialog comes in:
> 
>   http://doc.trolltech.com/4.1/qprintdialog.html
> 
> It's also secretly available in Qt 3 via the QPrinter.setup() method:
> 
>   printer = QPrinter()
>   printer.setup()
>   # Now, paint onto the printer as usual.

No - that was in my example. The work I was refering to was taking the
user's input to the dialog and writing the pages to the device in the right
order (I don't think this is done automatically).

Jeremy

-- 
Jeremy Sanders
http://www.jeremysanders.net/



More information about the Python-list mailing list