lpadmin and Apple printer creation help



  • Okay so here is what I'm trying to do, maybe someone can help me as having to do this by hand going forward is just going to suck if there is no work around.

    7jyigKRj5m.png

    In the above picture from OSX 10.15.3 (most current Apple OS) where it says "Use" and the printer package that I want to use, is there anyway I can automatically fill in these details via lpadmin?

    The normal process I would use would look like this;

    lpadmin -p Printer-Name -L "Printer Location" -E -v ipp://printer-address -o printer-is-shared=false -P "Path to PPD file"

    Since the above isn't a PPD (and PPDs are going away anyways - CUPS is working to depreciate print drivers and use generics for everything. . .) how can I manage just the printer setup via terminal so I don't have to do this by hand, potentially repeatedly across hundreds of devices?



  • Got it with this.

    lpadmin -p Printer-Name -E -v ipp://printer-address -o printer-is-shared=false -o printer-make-and-model="Canon iPR Svr G250 V1.0 US" -P "/Library/Printers/PPDs/Contents/en.lproj/Canon iPR Svr G250 V1.0 US"



  • Using the GUI works for getting this fiery printer installed and the tools selected, so I'd like to replicate it.



  • Got it with this.

    lpadmin -p Printer-Name -E -v ipp://printer-address -o printer-is-shared=false -o printer-make-and-model="Canon iPR Svr G250 V1.0 US" -P "/Library/Printers/PPDs/Contents/en.lproj/Canon iPR Svr G250 V1.0 US"