Can I print from Python?

Samuel Schulenburg samschul at pacbell.net
Sun Apr 7 21:40:55 EDT 2002


Under windows the Pythonwin ide has built in windows support for
printing either the interactive windows, or any script file window.

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



More information about the Python-list mailing list