Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a HTML document via OLE Automation with IE 5
Message
From
11/02/2000 14:50:29
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00330712
Message ID:
00330979
Views:
15
>Hi,
>
>Now I know how to navigate, click on links, get page information using IE5 OLE Automation (thanks to Eric Moore), but I could not find how to print and save the document. Someone can help me ?
>
>Regards,

In IE5, printing is as simple as oIE.window.print, if you can put up with the user having to confirm the printing operation.

If you need total automation with no user intervention, you can use an Active-X control called ScriptX:

http://www.meadroid.com/scriptx

Here is an article detailing many ways of printing in IE5:

http://msdn.microsoft.com/msdn-online/workshop/Author/script/DHTMLPRINT.asp
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform