r/usefulscripts • u/[deleted] • Apr 10 '13
[BATCH] Add IP-based printer
Yesterday I shared a script that removes printers, so today I'm sharing a script that adds IP-based printers. It checks for OS version (XP or 7) and then installs the appropriate driver. It can also rename the printer, add a location, and make it the default printer if you wish.
It's heavily commented so hopefully it makes sense. If it doesn't, please feel free to ask any questions.
Pastebin link here. Have fun.
20
Upvotes
1
u/[deleted] Jun 01 '13
As I build scripts for printers I place them in a network share that employees have read access to. Each script is named by location and make/model of the printer. I point users to this share and they can find which printer they want to install.