I would like to add a printer via command line. Now I find several lpadmin scripts on the web that make this possible, but I haven't succeeded yet.
So I hope I can get some help here.
If I now want to add a printer via the GUI, I can do this with the following information:
the above information is the only thing I enter and would like to see this processed in a script, so that I can kick it off remotely.
here is an edited line that we use to install.
lpadmin -p *printqueue* -D "*Printer Display Name*" -E -v http://*printServer*/printers/*PrintQueue*/.printer -m Library/Printers/PPDs/Contents/Resources/KONICAMINOLTAC658.gz -o auth-info-required=negotiate
Ok Ill test it out.
lpadmin -p *printqueue* -D "Test123 -E -v http://192.200.300:53000 -m /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks /PrintCore.framework/Versions/A/Resources/Generic.ppd" -o auth-info-required=negotiate"
What about printqueues ?
We use an Enterprise Print management solution called PrinterLogic. We push a client to WIN & MAC. The icon resides in the task bar and the user can click on it to add any printer. It will open a web browser where the user has to authenticate. Once authenticated, they will see a directory of all offices and printers within that office that are available to them to install. In the admin portal, you upload drivers for MAC/WIN and based on their OS, it will install automatically.
Attached a screenshot for example
Sorry for the late response, I was only able to test with a user yesterday, because we don't do a lot of MacOs.
We can add the Ricoh printers with a generic printer driver, but they cannot print, probably because of the driver.
So I am thinking of a way how I can add this driver through the script, because if I add the printer via the GUI, then I don't have to add a driver, he does this automatically. Is there a way how I can process this in a script so that it can grab the right driver right away?
I added the printer via GUI and looked up the folder.
He creates these files "RICOH MP C3003 JPN.gz" in the following folder:
Are these files sufficient to add the printer?