Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a HTML document via OLE Automation with IE 5
Message
De
11/02/2000 14:50:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00330712
Message ID:
00330979
Vues:
13
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform