I have a laser printer (Samsung ML-2010) that is in good condition, it works in Windows and old linuxes, but not with my fresh installation of ArchLinux. The printer is recognised and configured, but not printing, saying about any job:
canceled at
Fri 06 Jun 2014 10:15:26 PM EEST
"Filter failed"
The question is -- where to look at to find more? Cups logs don't seem to have anything related.
For Ubuntu 14.04 users (and maybe others) you cannot add the foomatic-filters as suggested above, as they conflict with the CUPS project's version (cups-filters).
The hint may be in
/var/log/cups/error_log
. In my case, the output looks like thisIt can be solved with:
Not sure if both are needed, I just picked all hpijs-like things in Aptitude.
Since this is a top hit on Google for "debian jessie filter failed" I'm going to add what helped for me.
This is for Debian Jessie and CUPS failing with "filter failed"!
The culprit was the
ghostscript
package from stable (i.e. Jessie in this case) which crashes a lot. I upgraded to theghostscript
package from testing.For the benefit of anyone seeing this error message in 2019, a possible cause is an incompatibility between older versions of
cups-filters
and recent versions ofghostscript
. Upgrading the former or downgrading the latter resolves the issue.Note that upgrades to
cups-filters
were not released for some platforms (e.g. Raspbian Stretch on the Raspberry Pi) until mid-June 2019, so if this did not work in the past trysudo apt update && sudo apt upgrade
again.Try installing
foomatic-filters
andfoomatic-db-engine
from AUR.I had the same problem on Debian Jessie!
The tip of Erik Winkels solved the problem.
I modificated the /etc/apt/sources.list
- Added the line: deb http://ftp.at.debian.org/debian/ sid main
Then I followed the steps:
- sudo aptitude update
- sudo aptitude safe-upgrade ghostscript
- Revert the sources.list, and again:
- sudo aptitude update
Now my ghostscript is in Version 9.19~dfsg-3, and printing works.
I had a similar "Filter failed" error message with a HP CP1217 printer, the steps on this page (https://ramblingmoose.wordpress.com/2018/04/18/debian-and-raspbian-installing-a-cups-print-server-and-a-proprietary-p1102w-print-driver-on-linux/) helped me, I'll quote the relevant bit:
For users of the Raspberry Pi and possibly certain other Debian-based platforms that experienced this issue in May-June 2019, the problem was that ghostscript and libgs9 were upgraded two or three weeks before the upgraded versions of cups-browsed, cups-filters, cups-filters-core-drivers, libcupsfilters1, and libfontembed1 were made available in the Raspbian repos. Running
sudo apt update && sudo apt upgrade
again on or after June 14, 2019 should hopefully fix the problem.I just solved a problem very similar to this. It was caused by the spring 2019 Debian upgrade. To solve it, I added "oldstable" to my Debian sources.list and then I was able to downgrade several packages. I downgraded:
In my case (HP Laserjet CP1215) the right printer driver was missing =>
foo2hp
You can install it with:
sudo apt-get install printer-driver-foo2zjs-common
Also restart CUPS:
sudo service cups restart
I have a raspberry pi an in my case this was due to my rootfs being full.
Test if this is the case for you with
df -h
and cleanup you file system if necessary.Use
sudo ncdu -x /
to find the folder that's eating up all that space, again, if this is the case for you.