Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Automation: Printer Dialog box
Message
De
08/01/1999 14:15:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00173998
Message ID:
00174156
Vues:
36
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform