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:
00726499
Views:
15
>>Look at the series of articles that Ed Rauh and I wrote on the WSH. The network object article appeared in the December, 2000 issue of the VFUG newsletter. The articles, which began in September that year, are available on-line at the site (www.vfug.org).
>
>I read the article over the weekend. It was a good article but unfortunatly it didn't solve my problem.
>I am getting a new error when running my code this morning.
>Here is my code:
>oWshNetwork = CreateObject("WScript.Network")
>owshnetwork.AddWindowsPrinterConnection("\\myServer\myPrinter")
>
>Here is the error:
>OLE error code 0x80070706: The print processor is unknown.

Novell, unlike Windows, does not provide printer identity or a set of drivers through the print server; it's the responsibility of the user to select and provide the drivers, since the Novell print queue does not even pass through a PnP identification of the target printer. Install the printer on an NT or Win2K server (or even a Win9x box with the service File and Printer Services for Microsoft Networks installed) and it will work just fine.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform