Thread: Using Lpadmin
View Single Post
afansher

 
Member Since: Jul 02, 2011
Posts: 3
afansher is on a distinguished road

afansher is offline
I'm trying to set up IP printers by using lpadmin in order to streamline the process. My goal is to make an applescript application that will run a set of terminal commands that set up 3 different network printers. I would like to use the drivers that came with OSX and the problem I am running into is lpadmin -P wants drivers using the extension .PPD, however all of the OSX printer drivers are archived as .GZ files.

I get this message when I run the command pointing to the .GZ file ---

Expected PPD after '-P' option!

Its adds the printer but sets it up as a Local Raw Printer


This is where I am stuck, I was hoping to find a way to set up the printers in the GUI and then view and copy the settings in the terminal but couldn't figure out how to do this, lpstat seems like it would do this but I couldn't get it to display all settings. Any help would you guys could give me would be great.



Thanks
QUOTE Thanks