Print to printer

avnit avnit7 at gmail.com
Sat Nov 5 15:38:20 EST 2005


Do you know if there's a way to print a file? I'm trying to print an
HTML file, so your solution is good, but doesn't really work for me.
Just reading the HTML file and the printing the content obviously
wouldn't work. I also tried:

>>> printer.write(file('path/to/file.ext'))

but apparently this function only takes strings as parameters.

Thanks.




More information about the Python-list mailing list