Aus Internet Explorer automatisiert drucken

 # IE COM Example # print without prompting the user with printer dialog  from win32com.client.gencache import EnsureDispatch from time import sleep import win32com ie = EnsureDispatch("InternetExplorer.Application") ie.Visible = 1 ie.Navigate("http://www.heise.de") if ie.Busy:  sleep(2) # print the current IE document without prompting the user for the printer dialog  ie.ExecWB(win32com.client.constants.OLECMDID_PRINT, \     win32com.client.constants.OLECMDEXECOPT_DONTPROMPTUSER)