CUPS: Print-Job: Unauthorized

CUPS: Print-Job: Unauthorized

Problem

When looking though the cups error log.

/var/log/cups/error_log

I found the following error messages:

Print-Job: Unauthorized
Resume-Printer: Unauthorized
PID 29644 (/usr/lib/cups/backend/lpd) stopped with status 1!

 

Resolution

To resolve these errors edit printers.conf file.

vi /etc/cups/printers.conf

Edit the following line:

AuthInfoRequired username,password

Replace the line with instead:

AuthInfoRequired none

Restart the CUPS service.

/etc/init.d/cups restart
service cups restart

The error now should not re appear in the logs.