[win32com] Print html

Vadim Chugunov chega_ at yahoo.com
Fri Aug 11 17:03:37 EDT 2000


> I'm looking for a way to automate printing html on win32 with python.
> Currently, I'm able to load IE5 as a com object and get it to load a
> document.
> I can get the document object from the IE5 object.
> Neither object seems to have a print method of any kind.
> Any ideas?

Try:  browser.document.parentWindow.print()

Vadim





More information about the Python-list mailing list