Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print to word
Message
De
02/06/2002 13:46:42
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00663854
Message ID:
00663884
Vues:
20
Depends what version of Windows you are running on but, checkout the ActivePrinter property in Word. Setting that property will tell Word to print to the value (printer name) in that property. However, in Windows NT, I have found that Word's response has been erratic and I have often ended having to change the workstation's default printer setting using the API or WSH. In Windows 2000, I have found that setting ActivePrinter does exactly what it is supposed to do. My comments are based on using Word 2000. I haven't used any other version of Word automated by VFP.

>Hi! I've written a program to print a word document from foxpro doing a mail merge from my database.
>
>How do I make word print to another printer other than the default printer?
>
>(I have 3 printers with different stationary in each!).
>
>Many thanks in advance
>
>
>Rob
>BSS
-=Gary
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform