Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Switching printers programatically
Message
From
13/02/2002 09:55:15
 
 
To
13/02/2002 01:35:24
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00619293
Message ID:
00619444
Views:
19
>Hi. I am using VFP7 on a WinNT4 with Win98 w/stations. I have a USB bar code printer and a parallel printer that I want to connect to a pc. How do I programatically switch to "the right printer at the right time" in VFP?
>
>Thanks, Randy

One way to do it is with Word.
oWord = createobject("word.application")
oDialog=oWord.Dialogs(97)
WITH oDialog
   .Printer = "Proper Printer Name"
   .Execute
ENDWITH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform