Printing Documents

defcon8 defcon8 at gmail.com
Thu Sep 7 15:02:09 EDT 2006


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?




More information about the Python-list mailing list