Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ExecWB and specifying a printer
Message
 
To
14/10/2004 17:41:19
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00951574
Message ID:
00951756
Views:
10
Try this:

* Set default printer
oWSHNet = CREATEOBJECT('Wscript.Network')
oWSHNet.SetDefaultPrinter('Windows_Printer_Name')

* print it, no dialogs
...execWB(6,2)



>How can I specify the printer when using execWB(6,1)? Currently it brings up the print dialog box with the Windows Default printer selectd. I want to be able to specify which printer is selected in the dialog box...
>
>Thanks in Advance!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform