Quick VBScript code help, adding network printers

Status
You're currently viewing only Jonzo's posts. Click here to go back to viewing the entire thread.
Not open for further replies.

Jonzo

Ars Scholae Palatinae
1,231
Hi guys, wondering if someone can help me out here for a second.. trying to write a VBScript that will add all shared printers from a given print server, to a local Windows XP Workstation. Sounds easy enough, except in this siutation when being executed from the Windows XP Workstation, the number of printers, and the the names of the printers on the Print Server would not be known. This is because we have thousands of PCs with hundreds of print servers across the country.

My question is, if I request input from the user (to get print server name), can I add ALL ("*") the printers on that print server to the PC I'm executing the script from? I know you can do it by specifying the printer name to add in the script, but the script wont know the printer name.

Any help is appreciated thanks.
 
Status
You're currently viewing only Jonzo's posts. Click here to go back to viewing the entire thread.
Not open for further replies.