Install a local printer with VBS
Posted on 2004-03-30
OK this may sound strange but here goes...
We have an on going problem that our network printers need to be installed per user. Even when shared and installed as administrator on our Win2k workstation some of these printers still insist on being installed for every new user. DOH
But I have found a work around...
When I go to install the printer instead of choosing Network printer, I choose local printer, and then choose create new local port, which i point to the network printer. This then installs the network printer as a local printer, which shows up on all users. Dont know why it works but it does.
What I would like is a script that could do this, install a local printer pointing the local port to the network printer.
Ive a script that installs the network printers easily enough...
Set WshNetwork = CreateObject("WScript.Network")
'Install the admin photocopier
But havent a clue about doing this with local printers...
Any help much appreciated, thanks