I am trying to install Kyocera Printer on my mac device, I did the following steps:
1. Created Kyocera Pkg
2. Created policy, added pkg and mapped the printer
3. I am trying to add below command in script
lpadmin -p "Pepper" -D "Pepper" -E -v "lpd://" -m "/Library/Printers/PPDs/Contents/Resources/Kyocera TASKalfa 4053ci.PPD"
I get an error = Printer drivers are deprecated and will stop working in CUPS
I read through lot of blogs and tried below commands also but same issue persists:
lpadmin -p "Pepper" -D "Pepper" -E -v "ipp://" -P "/Library/Printers/PPDs/Contents/Resources/Kyocera TASKalfa 4053ci.PPD"
I have had the same error message when adding a printer, though I can't recall the specific one. But it did appear to have installed correctly and printed as it was supposed to.
I will go back and see if I can find the printer/script that gave me that message and confirm whether it works or not. I'm curious if anyone has an explanation for the error.
This is normal. The version of CUPS in macOS 11.x(Big Sur) and above has deprecated print drivers. It's more of a warning than an error at this point in time and won't inhibit your ability to install a printer. The message is a gentle nudge for people to start transitioning to AirPrint or IPPEverywhere.
Just found another thread troubleshooting the -m everywhere command. I'll have to go back and start testing that. I'm unsure how old our printers are, so here's hoping it goes well on the first try.
It's safe for now. When CUPS no longer allows drivers (3.0 maybe?) then it will be a problem as the command will most likely error out versus giving a warning.
There is no timeline when this cut off will occur so that's why it's best to start preparing for the future but don't go full tilt right this second. The everywhere "driver" is generic so you will lose printer specific features. I would not deploy it into production until you're sure you have all of your ducks in a row.
Depends on your size really and what features you're looking for. Secure print, collating, stapling, etc.
A simple and easy one is PaperCut's Mobility Service. Deploys printers using AirPrint or Secure AirPrint using DDNS(Bonjour), DNS, and known host as discovery methods. You would need to implement their Papercut software to get secured queues or job holding.
Couple other ones are PrinterOn or PrinterLogic.
You can also just stick with scripting like you are now. If I recall correctly you need to drop -P from your command and use -m everywhere.