Printing from Windows

Andreas Ulbrich andreas.ulbrich at gmx.net
Tue Dec 4 05:21:47 EST 2001


Markus Schaber wrote:

> Hi,
> 
> On Tue, 4 Dec 2001 09:35:44 +0100
> "David Brown" <dav-nospam-id at westco-nospam-ntrol.com> wrote:
> 
> 
>>It doesn't look like there is much hope for using Tkinter for printing,
>>so I'm generalising my original question.
>>
>>Are there any good ways to make a printout from a Python program?  I'll
>>be running mostly on Windows, but I'd much prefer a cross-platform
>>solution for later migration to Linux.  Sure, I could use the Win32 api
>>directly - but that is the sort of thing I am trying to avoid with
>>Python + Tkinter.  There must surely be thousands of developers out
>>there with the same problem.
>>
>>Any hints or ideas would be much appreciated.
>>
> 
> Maybe the gtk+ printing works with windows and unix in the same way.
> 
> This has the disadvantage that gtk+ is not part of standard python, but there are some extreme powerful widgets there (including embedding the mozilla engine).
> 
> markus
> 

I personally prefer PyQt for this purpose. Of course, just like gtk+ its 
not part of the standard Python distribution. Using Qt seems somewhat 
more sane to me. But well that's pretty much a matter of taste :-)




More information about the Python-list mailing list