Adding Printers via a Script

dead2sin

Registered
I was wondering if there is a way that you can add printers to a computer via a script. I'll explain the situation below:

We use Network Printers that are all attached to one windows server box. The best way to add the printer is via the Advanced Setting in the Printer Setup Utility and selecting "Windows Printer via Samba"

The only problem with this method is that you need to type the password in plain text for the intial setup. I need to figure out a way to set this up while masking the password (For Security Reasons).
I was thinking that we could do this via a script of some sort. Any info would be great.


Thanks!

Nate
 
If you want to automate a process, the process has to be automatable. The easiest way to add a print is Rendezvous. Rendezvous printers require no user intervention to be discovered by the computer. Apple has released Rendezvous (aka zeroconf) for Windows. Look into your options for installing it on Windows Server. With Renezvous, you will use TCP/IP rather than SMB to connect to your print server.
 
Of course now it's called BonJour in case you couldn't find anything referring to Rendezvous. ;) Regardless, it's all "zeroconf."
 
Back
Top