I have a Dell network printer mapped to my MAC.
I'm able to print from applications without any issues, but when I try to print using terminal (lp or lpr), every file gets held up on the printer with "Hold for authentication"
I'm able to enter my details for the printer and the job goes through, but I'm prompted every time I try to print using lp. Saving my details to the keychain does not help.
Best Answer
I've seen this before. Try the following to resolve it:
Hold for authentication
errorlpstat -s
device for
and followed by a colon:
and a printer address. For example, if your output looked like:device for Brother_MFC_9335CDW: dnssd://Brother%20MFC-9335CDW._ipp._tcp.local.
Then your printer name would be
Brother_MFC_9335CDW
sudo lpadmin -p PrinterName -o auth-info-required=username,password
NOTE: Replace the
PrinterName
with your printer's name from Step 3You should be prompted for your Mac user password - enter this and press return
Now try printing again as a test.
If it doesn't work, let me know and we'll troubleshoot further.
Since the above didn't work we'll repeat the process with some minor adjustments. More specifically, after Step 1 but before Step 2, do the following:
Now proceed with Step 2 from above.