Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a Word doc with Printer Dialog
Message
 
À
05/07/2007 15:00:12
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01238048
Message ID:
01238050
Vues:
9
>I am trying to print a Word document from VFP and I need to manually duplex. Is there a way to tell the document to do that or can I show the printer dialog box? (I can't get the printer dialog box to show up.) This is what I'm doing:
>
>
>loWord = CREATEOBJECT("Word.Application")
>loDocument=loWord.Documents.OPEN("MyDoc",,.t.)
>loDocument.PrintOut()
>
This may help:
http://support.microsoft.com/kb/q194306/


To activate the printer dialog you may use:
loWord.visible=.t.
loWord.Dialogs(88).show
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform