0

I was wondering if it is possible in Python to send a job to the user's printer. I have a string, and I wanted to be able to print it out on a piece of paper. I have wxPython installed and imported into the app if that makes any sort of difference... Thanks in advance!

2
Contributors
2
Replies
3
Views
10 Years
Discussion Span
Last Post by shadwickman
0

It is easiest to write the data to a file, close it, and then call lpr using os.system() providing you want plain text. Anything more and you have to format it. Postscript is the easiest way to format output.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.