I have a HP DeskJet 940c. It had always worked.
A few days ago it has suddenly stopped working. Even after reboot, its status ("Printer State") always shows "Stopped - Filter failed" and every time I try to print the job remains "pending" forever.
I have rebooted several times.
Is there any known fix/workaround?
I assume that the printer worked before. Check your
/var/spool/cups
directory, and empty it.If that does not help, see the instructions for install the necessary plugins for your HP printer here.
Im my case, it was due to missing libraries as shown by cups error log fragment:
Pay attention if your printer driver is 32 or 64 bit, so you should install the right libraries arch.
In my case, one of my kids borrowed the USB cord. Ubuntu didn't seem to know this. After I uninstalled the printer driver, I noticed the cord missing. Replace cord and driver, now works fine
For me, the problem was solved by restarting the print server:
This just happened to me out of the blue - yesterday the printer worked. I tried restarting the
cups
service, and tried restarting the machine, both didn't work. I'm on Ubuntu 16.04.6 LTS.What worked for me:
I updated the installed software packages, after which the problem was gone.
For me, the problem happened because I had restarted the router and the IP address of the printer had changed. I went into the printer configuration in Ubuntu and updated the IP address (which I took from the printer's Network Summary printout) and it worked again after that.
As proposed in the comments, removing the printer and adding it again worked for me.
I did empty the var/spool/cups directory before, but I don't know if this deletion had an impact. I didn't use the HP Device Manager.
Start a print job, look into the cups error logs:
Check if it is failing due to a missing library. In my case I saw the error:
To find the missing library:
Install the missing library, and re-run a test print:
Even if that fails, your driver might require 32-bit libraries.
Removing the printer in system settings and re-installing it using the HP Device Manager fixed the problem for me.