Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a Word doc with Printer Dialog
Message
 
To
05/07/2007 15:00:12
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01238048
Message ID:
01238050
Views:
10
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform