Message
De
26/06/2001 13:55:39
 
 
À
26/06/2001 11:51:30
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00523610
Message ID:
00523694
Vues:
10
>I have the following code which opens the document but need to know what commands to use to print the document.
>WITH loWord
> cFile = CURDIR()+"\Reports\DonateBlank.doc"
> .Documents.Open(cFile)
>ENDWITH
>

To print the whole document, you just need:

loWord.ActiveDocument.PrintOut()

There are a ton of parameters to that method that let you modify exactly what's printed or how it's printed or whatever.

Tamar
Précédent
Suivant
Répondre
Fil
Voir