Printing Documents
How can I print html documents in Python on Windows? -- http://mail.python.org/mailman/listinfo/python-list
Re: Printing Documents
defcon8 wrote: How can I print html documents in Python on Windows? ;-) 1. You start the Microsoft Internet Explorer and make some space on the Desktop for a Python shell window. 2. You start the Python shell and position it within the prepared space 3. Still looking at the Python shell you load the document into the Internet Explorer and then use its menu [File] - [Print] to invoke printing (don't forget to keep your eye on the Python shell...) ;-) Claudio Grondi P.S. There are many options to automate usage of MSIE from Python, so maybe if you explain what you actually intend to achieve, someone else can give you a better advice. -- http://mail.python.org/mailman/listinfo/python-list
Re: Printing Documents
Claudio Grondi wrote: defcon8 wrote: How can I print html documents in Python on Windows? ;-) 1. You start the Microsoft Internet Explorer and make some space on the Desktop for a Python shell window. 2. You start the Python shell and position it within the prepared space 3. Still looking at the Python shell you load the document into the Internet Explorer and then use its menu [File] - [Print] to invoke printing (don't forget to keep your eye on the Python shell...) ;-) Claudio Grondi P.S. There are many options to automate usage of MSIE from Python, so maybe if you explain what you actually intend to achieve, someone else can give you a better advice. I think the automation of opening of html in IE, then the printing of it would be possible. Would you be able to tell me how that is done? -- http://mail.python.org/mailman/listinfo/python-list
Re: Printing Documents
defcon8 wrote: How can I print html documents in Python on Windows? Hopefully this technique will work: http://timgolden.me.uk/python/win32_how_do_i/print.html#shellexecute TJG -- http://mail.python.org/mailman/listinfo/python-list