Can I print from Python?
Chris Liechti
cliechti at gmx.net
Sun Apr 7 12:33:32 EDT 2002
jimw1956 at cs.comnojunk (Jim Williams) wrote in
news:20020407103654.19127.00002640 at mb-fm.news.cs.com:
> Hi all...I'm new to Python and really enjoying it so far, but I am
> somewhat perplexed that as far as I have seen it has no facilities for
> printing to a printer? Surely this is possible. Someone please
> enlighten me...I have done a good bit of research and searching and
> can find no reference to how to do this.
one neat solution is to use Reportlab to generate a PDF and you'll find an
Acrobat reader on all big platforms today.
you can also look at some GUI systems. e.g. wxPython has some printing
support etc. but when i need a printed output from a script, i generate a
PDF.
chris
--
Chris <cliechti at gmx.net>
More information about the Python-list
mailing list