GUI and printing

Stuart I Reynolds S.I.Reynolds at cs.bham.ac.uk
Thu Apr 29 10:25:09 EDT 1999


Randall Hopper wrote:
> 
> Re printing.  I don't know the details (since I haven't used this feature),
> but seems I recall that Tk has some support for PostScript printing.
> Grepping Tkinter, I see that the Canvas widget has a "postscript" method.
> 

You can do it like this:

  mytkwidget.postscript(file = filename)

Stuart




More information about the Python-list mailing list