How to print contents of a tkinter.Canvas widget?
How would I print contents of a Python Tkinter.Canvas widget?
I've read that it's possible to print to a postscript printer from this contr开发者_开发问答ol but examples are hard to come by.
So, any ideas what is needed to print the contents (including images)?
If you've got a cross-platform method all the better!
AFAIK it can only be done using the postscript
method from the Canvas. This generates a postscript file with the canvas contents.
Check the documentation for details about this method.
精彩评论