Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation: Printer Dialog box
Message
From
08/01/1999 14:15:43
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00173998
Message ID:
00174156
Views:
35
Ken,

That works if you are printing only one letter, But when you use the mailmergetoprinter command it brings up the printer dialog box. I found a way around it, but it is a little slow.

oWordObject=createobject("Word.Basic")

With oWordObject
.FileOpen(WordDoc)
.MailMergetoDoc
.FilePrint
EndWith

This allows me to print all the mailmerge letters without the user ever interacting with word. I would like to be able to skip the mailmergetodoc and just print the letters without having the printer dialog box pop up.

Thank you for your help.

Mark
Previous
Reply
Map
View

Click here to load this message in the networking platform