Can't print any more "Stopped - Filter failed"
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?
9 Answers
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.
5Im my case, it was due to missing libraries as shown by cups error log fragment:
D [07/Apr/2014:18:42:50 -0300] [Job 6] /usr/lib/cups/filter/watermarkfilter: error while loading shared libraries: libcupsimage.so.2: cannot open shared object file: No such file or directory
D [07/Apr/2014:18:42:50 -0300] [Job 6] /usr/lib/cups/filter/rastertoprinterbin: error while loading shared libraries: libcupsimage.so.2: cannot open shared object file: No such file or directoryPay attention if your printer driver is 32 or 64 bit, so you should install the right libraries arch.
0In 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:
sudo systemctl restart cups.service 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.
apt-get update
apt-get upgrade 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:
sudo tail -n 100 -f /var/log/cups/error_logCheck if it is failing due to a missing library. In my case I saw the error:
error while loading shared libraries: libcupsimage.so.2: cannot open shared object file: No such file or directory
To find the missing library:
$ apt-file search libcupsimage.so.2
libcupsimage2: /usr/lib/x86_64-linux-gnu/libcupsimage.so.2Install the missing library, and re-run a test print:
sudo apt-get install libcupsimage2Even if that fails, your driver might require 32-bit libraries.
sudo apt-get install libcupsimage2:i386 Removing the printer in system settings and re-installing it using the HP Device Manager fixed the problem for me.
More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"