Can I print from Python?

Chris Liechti cliechti at gmx.net
Mon Apr 8 16:13:45 EDT 2002


samschul at pacbell.net (Samuel Schulenburg) wrote in
news:d7fcf8b4.0204071740.7edb1acc at posting.google.com: 
> Under windows the Pythonwin ide has built in windows support for
> printing either the interactive windows, or any script file window.

yes i know, sorry for my bad english... i meant the calculated output of a 
script, not the script itself. :-)

> 
> Sam Schulenburg
> 
> Chris Liechti <cliechti at gmx.net> wrote in message
> news:<Xns91E9B2CEE1835cliechtigmxnet at 62.2.16.82>... 
>> 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