Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Install printer @ runtime
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00725827
Message ID:
00725837
Views:
15
Have you try AddPrinterConnection and RemovePrinterConnection of WScript.Network object.



>Hi there,
>
>We have a report in lots of pretty colors that our users need to print, but we don't want them to print anything else on the color printer. so this is what I want to do:
>Install the color printer driver (it is a network printer)
>Print my report
>Uninstall the color printer
>
>What I need help with is to install and uninstall a printer at run time.
>Any help is appreciated.
>
>Thanks,
>Einar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform