Printing Documents

C

Claudio Grondi

defcon8 said:
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.
 
D

defcon8

Claudio said:
defcon8 said:
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top