Solution for CUPS: Printer Not ready

At times I am not able to print, on typing lpq it gives and error message “Printer not ready”.

I don’t know why this happens, but created a simple script which just resets the print and then its ready to print.

This is what the script looks like:

sudo sed -i -e ‘/StateMessage .*lpd failed/d’ -e ‘s/State Stopped/State Idle/’ /etc/cups/printers.conf

service cups restart

Happy printing !

 

1 thought on “Solution for CUPS: Printer Not ready”

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

A note to our visitors

This website has updated its privacy policy in compliance with changes to European Union data protection law, for all members globally. We’ve also updated our Privacy Policy to give you more information about your rights and responsibilities with respect to your privacy and personal information. Please read this to review the updates about which cookies we use and what information we collect on our site. By continuing to use this site, you are agreeing to our updated privacy policy.

Scroll to Top