Printing From Python
Harald Massa
cpl.19.ghum at spamgourmet.com
Fri Jan 30 03:06:37 EST 2004
> Saying that printing (to a printer :-) wasn't easy (at least on
> windows - let alone *cross* platform) - and that was dated 2000.
Printing is not easy, it is a complicated matter.
You can find 4 simplifications:
1) wxPython has a print-framework, wxPython is cross platform (alas, I only
used it in win32)
2) print postscript. Ghostscript is available on "every" platform.
(printing on PDAs and watches is really different). Postscript is
documented
3) create PDF. PDF viewers & printers are available on "every" platform.
PDF can be created by (free) ReportLab toolkit, and I'm sure there are more
PDF-Classes
4) create XHTML & a Print.CSS. HTML viewers are available on every
Plattform, .CSS allows fairly good styling of printouts.
Harald
More information about the Python-list
mailing list