Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print to specific printer in Word
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01227339
Message ID:
01227344
Views:
13
>I need to be able to print to a specific printer.
>
>Using "word.application" I can do it, but i need to use "word.basic"
>
>can anyone help.
>
>
>using oword.createobject("word.application") i can set the active printer
>
>using oword.createobject("word.basic") i cannot

You can reset Windows default printer:
Declare Integer SetDefaultPrinter In WINSPOOL.drv String
If SetDefaultPrinter(cPrintername)<=0
... error
endif
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform