Management,OS X December 26, 2012 at 8:00 am

Adding Printers via Command Line

Adding printers on multiple machines can be tedious if you have to manually setup all the duplexer and paper tray options that the printer supports. Thankfully there is a command line tool called lpadmn which allows you to configure the printer and all its options in one command. You can then push this command out using Apple Remote Desktop, run it over SSH, install it with a payload-less package or even have something like Munki run the script for you. On the 318 Tech Journal, William Smith has an excellent writeup on exactly how to use lpadmin and even get all the printer options setup correctly.  Check it out here.

Nate Walck

Nate is a Systems Reliability Engineer at Dropbox, Inc in San Francisco, CA. He runs afp548.com along with Sam Keeley and is one of the founding members of the ##osx-server IRC channel on freenode.net. He loves being involved in the Mac Admin community and using Open Source projects whenever possible, especially Munki, The Luggage and Puppet.

More Posts

Follow Me:
Twitter

Leave a reply

You must be logged in to post a comment.