Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print to word
Message
From
02/06/2002 13:46:42
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00663854
Message ID:
00663884
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform