By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,950 Members | 1,647 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,950 IT Pros & Developers. It's quick & easy.

Printing in Python

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.