469,602 Members | 2,112 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,602 developers. It's quick & easy.

Printing in Python

So I have a tkinter based little program in Python that has a canvas
loaded with a WaveSurfer (http://www.speech.kth.se/wavesurfer/) widget.

I am trying to print the contents of the WaveSurfer canvas. Is there an
easy way to do this in Python? Also, I can pretty easily use the
WaveSurfer "print" function in my program, but taht only prints to a
PostScript printer or prints out a PostScript file.

I would like to automate the process of printing the PostScript file in
a manner that is not terribly unwieldy and as transparent to the user as
possible. Is this possible?

Thanks!
Jul 18 '05 #1
1 2247
uri bushey wrote:
I am trying to print the contents of the WaveSurfer canvas. Is there
an easy way to do this in Python? Also, I can pretty easily use the
WaveSurfer "print" function in my program, but taht only prints to a
PostScript printer or prints out a PostScript file.
Printing was one major reason I dumped Tkinter in favour of
wxPython which does the printing side on all platforms well.
I would like to automate the process of printing the PostScript file
in a manner that is not terribly unwieldy and as transparent to the
user as possible. Is this possible?


On Windows, users can install PDFCreator and associate it with
..ps files.

You may also want to look to see if you can generate PDF instead
of postscript (eg reportlab).

Roger
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Fuzzyman | last post: by
7 posts views Thread by Kamilche | last post: by
2 posts views Thread by Darcy Kahle | last post: by
5 posts views Thread by Donnal Walter | last post: by
2 posts views Thread by David Isaac | last post: by
8 posts views Thread by David Isaac | last post: by
19 posts views Thread by dcrespo | last post: by
3 posts views Thread by defcon8 | last post: by
reply views Thread by guiromero | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.