You are not logged in.

#1 2012-09-12 16:40:18

pitdicker
Member
Registered: 2010-04-29
Posts: 4

[SOLVED] Printer stopped working with message 'filter failed'

Hello everyone,

Since about 10 days I can't print anymore.
It has worked fine for more than a year.
I apply updates to my system about weekly.
I can't remember to have done anything strange before the printer stopped working.

Wat I have tried:
- tried if there was any filter that would print, also the postscript filter.
- reverted cups and foomatic to a previous package version
  (in between restarted the cups deamon)
- removed all configuration files of cups and did a fresh install of it
- set the LogLevel to debug and tried to figure out /var/log/cups/error_log
- based on the message "Could not write to temp file", tried removing or changing the permissions of /var/spool/cups/tmp

I have not checked, but I am quite sure the printer is fine, and the problem is somewere on the side of the computer.

I am not yet using sytemd. The line of deamons in rc.conf is:

DAEMONS=(syslog-ng network netfs dkms crond dbus alsa avahi-deamon cupsd ntpd)

Ouput of lpstat -a -p:

printer Brother_HL-2240D_series is idle.  enabled since wo 12 sep 2012 18:09:17 CEST
	Filter failed

Last contents of /var/log/cups/error_log:

E [12/Sep/2012:18:07:50 +0200] [Job 779] Job stopped due to filter errors; please consult the error_log file for details.
D [12/Sep/2012:18:07:50 +0200] [Job 779] The following messages were recorded from 18:07:49 to 18:07:50
D [12/Sep/2012:18:07:50 +0200] [Job 779] Adding start banner page "none".
D [12/Sep/2012:18:07:50 +0200] [Job 779] Adding end banner page "none".
D [12/Sep/2012:18:07:50 +0200] [Job 779] File of type application/pdf queued by "pitdicker".
D [12/Sep/2012:18:07:50 +0200] [Job 779] hold_until=0
D [12/Sep/2012:18:07:50 +0200] [Job 779] Queued on "Brother_HL-2240D_series" by "pitdicker".
D [12/Sep/2012:18:07:50 +0200] [Job 779] time-at-processing=1347466069
D [12/Sep/2012:18:07:50 +0200] [Job 779] job-sheets=none,none
D [12/Sep/2012:18:07:50 +0200] [Job 779] argv[0]="Brother_HL-2240D_series"
D [12/Sep/2012:18:07:50 +0200] [Job 779] argv[1]="779"
D [12/Sep/2012:18:07:50 +0200] [Job 779] argv[2]="pitdicker"
D [12/Sep/2012:18:07:50 +0200] [Job 779] argv[3]="gegevens.pdf — Gebied"
D [12/Sep/2012:18:07:50 +0200] [Job 779] argv[4]="1"
D [12/Sep/2012:18:07:50 +0200] [Job 779] argv[5]="InputSlot=Default number-up=1 Quality=FromPrintoutMode PageSize=A4 PrintoutMode=High Duplex=DuplexNoTumble job-uuid=urn:uuid:593ef3a1-6f24-328f-598c-3cd4e6d63f08 job-originating-host-name=localhost time-at-creation=1347466069 time-at-processing=1347466069"
D [12/Sep/2012:18:07:50 +0200] [Job 779] argv[6]="/var/spool/cups/d00779-001"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[8]="HOME=/var/spool/cups/tmp"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[10]="SERVER_ADMIN=root@arch"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[11]="SOFTWARE=CUPS/1.6.1"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[13]="USER=root"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[14]="CUPS_MAX_MESSAGE=2047"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[17]="IPP_PORT=631"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[18]="CHARSET=utf-8"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[19]="LANG=en.UTF-8"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[20]="PPD=/etc/cups/ppd/Brother_HL-2240D_series.ppd"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[21]="RIP_MAX_CACHE=128m"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[22]="CONTENT_TYPE=application/pdf"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[23]="DEVICE_URI=usb://Brother/HL-2240D%20series?serial=G0J116932"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[24]="PRINTER_INFO=Brother HL-2240D series"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[25]="PRINTER_LOCATION="
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[26]="PRINTER=Brother_HL-2240D_series"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[27]="PRINTER_STATE_REASONS=none"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[28]="CUPS_FILETYPE=document"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[29]="FINAL_CONTENT_TYPE=printer/Brother_HL-2240D_series"
D [12/Sep/2012:18:07:50 +0200] [Job 779] envp[30]="AUTH_I****"
D [12/Sep/2012:18:07:50 +0200] [Job 779] Started filter /usr/lib/cups/filter/pdftopdf (PID 2633)
D [12/Sep/2012:18:07:50 +0200] [Job 779] Started filter /usr/lib/cups/filter/foomatic-rip (PID 2634)
D [12/Sep/2012:18:07:50 +0200] [Job 779] Started backend /usr/lib/cups/backend/usb (PID 2635)
D [12/Sep/2012:18:07:50 +0200] [Job 779] Getting input from file 
D [12/Sep/2012:18:07:50 +0200] [Job 779] foomatic-rip version 4.0.17.256 running...
D [12/Sep/2012:18:07:50 +0200] [Job 779] Parsing PPD file ...
D [12/Sep/2012:18:07:50 +0200] [Job 779] Added option ColorSpace
D [12/Sep/2012:18:07:50 +0200] [Job 779] Added option Resolution
D [12/Sep/2012:18:07:50 +0200] [Job 779] Added option PageSize
D [12/Sep/2012:18:07:50 +0200] [Job 779] Added option PrintoutMode
D [12/Sep/2012:18:07:50 +0200] [Job 779] Added option InputSlot
D [12/Sep/2012:18:07:50 +0200] [Job 779] Added option ImageableArea
D [12/Sep/2012:18:07:50 +0200] [Job 779] Added option PaperDimension
D [12/Sep/2012:18:07:50 +0200] [Job 779] Added option Duplex
D [12/Sep/2012:18:07:50 +0200] [Job 779] Added option Quality
D [12/Sep/2012:18:07:50 +0200] [Job 779] Added option Font
D [12/Sep/2012:18:07:50 +0200] [Job 779] Parameter Summary
D [12/Sep/2012:18:07:50 +0200] [Job 779] -----------------
D [12/Sep/2012:18:07:50 +0200] [Job 779] Spooler: cups
D [12/Sep/2012:18:07:50 +0200] [Job 779] Printer: Brother_HL-2240D_series
D [12/Sep/2012:18:07:50 +0200] [Job 779] Shell: /bin/bash
D [12/Sep/2012:18:07:50 +0200] [Job 779] PPD file: /etc/cups/ppd/Brother_HL-2240D_series.ppd
D [12/Sep/2012:18:07:50 +0200] [Job 779] ATTR file: 
D [12/Sep/2012:18:07:50 +0200] [Job 779] Printer model: Brother HL-2140 Foomatic/hpijs-pcl5e (recommended)
D [12/Sep/2012:18:07:50 +0200] [Job 779] Job title: gegevens.pdf — Gebied
D [12/Sep/2012:18:07:50 +0200] [Job 779] File(s) to be printed:
D [12/Sep/2012:18:07:50 +0200] [Job 779] <STDIN>
D [12/Sep/2012:18:07:50 +0200] [Job 779] Ghostscript extra search path ('GS_LIB'): /usr/share/cups/fonts
D [12/Sep/2012:18:07:50 +0200] [Job 779] Printing system options:
D [12/Sep/2012:18:07:50 +0200] [Job 779] Pondering option 'number-up=1'
D [12/Sep/2012:18:07:50 +0200] [Job 779] Unknown option number-up=1.
D [12/Sep/2012:18:07:50 +0200] [Job 779] Pondering option 'job-uuid=urn:uuid:593ef3a1-6f24-328f-598c-3cd4e6d63f08'
D [12/Sep/2012:18:07:50 +0200] [Job 779] Unknown option job-uuid=urn:uuid:593ef3a1-6f24-328f-598c-3cd4e6d63f08.
D [12/Sep/2012:18:07:50 +0200] [Job 779] Pondering option 'job-originating-host-name=localhost'
D [12/Sep/2012:18:07:50 +0200] [Job 779] Unknown option job-originating-host-name=localhost.
D [12/Sep/2012:18:07:50 +0200] [Job 779] Pondering option 'time-at-creation=1347466069'
D [12/Sep/2012:18:07:50 +0200] [Job 779] Unknown option time-at-creation=1347466069.
D [12/Sep/2012:18:07:50 +0200] [Job 779] Pondering option 'time-at-processing=1347466069'
D [12/Sep/2012:18:07:50 +0200] [Job 779] Unknown option time-at-processing=1347466069.
D [12/Sep/2012:18:07:50 +0200] [Job 779] Options from the PPD file:
D [12/Sep/2012:18:07:50 +0200] [Job 779] Pondering option 'InputSlot=Default'
D [12/Sep/2012:18:07:50 +0200] [Job 779] Pondering option 'Quality=FromPrintoutMode'
D [12/Sep/2012:18:07:50 +0200] [Job 779] Pondering option 'PageSize=A4'
D [12/Sep/2012:18:07:50 +0200] [Job 779] Pondering option 'PrintoutMode=High'
D [12/Sep/2012:18:07:50 +0200] [Job 779] Pondering option 'Duplex=DuplexNoTumble'
D [12/Sep/2012:18:07:50 +0200] [Job 779] ================================================
D [12/Sep/2012:18:07:50 +0200] [Job 779] File: <STDIN>
D [12/Sep/2012:18:07:50 +0200] [Job 779] ================================================
D [12/Sep/2012:18:07:50 +0200] [Job 779] Printing on printer with URI: usb://Brother/HL-2240D%20series?serial=G0J116932
D [12/Sep/2012:18:07:50 +0200] [Job 779] libusb_get_device_list=15
D [12/Sep/2012:18:07:50 +0200] [Job 779] STATE: +connecting-to-device
D [12/Sep/2012:18:07:50 +0200] [Job 779] STATE: -connecting-to-device
D [12/Sep/2012:18:07:50 +0200] [Job 779] Printer found with device ID: MFG:Brother;CMD:PJL,HBP;MDL:HL-2240D series;CLS:PRINTER; Device URI: usb://Brother/HL-2240D%20series?serial=G0J116932
D [12/Sep/2012:18:07:50 +0200] [Job 779] Device protocol: 2
D [12/Sep/2012:18:07:50 +0200] [Job 779] Sending data to printer.
D [12/Sep/2012:18:07:50 +0200] [Job 779] Set job-printer-state-message to "Sending data to printer.", current level=INFO
D [12/Sep/2012:18:07:50 +0200] [Job 779] Filetype: PDF
D [12/Sep/2012:18:07:50 +0200] [Job 779] Storing temporary files in /var/spool/cups/tmp
D [12/Sep/2012:18:07:50 +0200] [Job 779] Could not write to temp file
D [12/Sep/2012:18:07:50 +0200] [Job 779] PID 2633 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [12/Sep/2012:18:07:50 +0200] [Job 779] Process is dying with "Unable to determine number of pages, page count: -1
D [12/Sep/2012:18:07:50 +0200] [Job 779] ", exit stat 3
D [12/Sep/2012:18:07:50 +0200] [Job 779] Cleaning up...
D [12/Sep/2012:18:07:50 +0200] [Job 779] Sent 0 bytes...
D [12/Sep/2012:18:07:50 +0200] [Job 779] PID 2634 (/usr/lib/cups/filter/foomatic-rip) stopped with status 3.
D [12/Sep/2012:18:07:50 +0200] [Job 779] Hint: Try setting the LogLevel to "debug" to find out more.
D [12/Sep/2012:18:07:50 +0200] [Job 779] Waiting for read thread to exit...
D [12/Sep/2012:18:07:50 +0200] [Job 779] PID 2635 (/usr/lib/cups/backend/usb) exited with no errors.
D [12/Sep/2012:18:07:50 +0200] [Job 779] End of messages
D [12/Sep/2012:18:07:50 +0200] [Job 779] printer-state=3(idle)
D [12/Sep/2012:18:07:50 +0200] [Job 779] printer-state-message="Filter failed"
D [12/Sep/2012:18:07:50 +0200] [Job 779] printer-state-reasons=none

Can somebody give me a hint on how to proceed?

Thanks

Last edited by pitdicker (2012-10-04 14:33:19)

Offline

#2 2012-09-12 18:25:57

natestar13
Member
From: Tampa, FL
Registered: 2012-01-16
Posts: 55

Re: [SOLVED] Printer stopped working with message 'filter failed'

See this post.  Was cups or cup-filters upgraded when you recently updated your system?


Machine:  Lenovo ThinkCenter M92 (M3209) - Inte i7-3770 CPU

Offline

#3 2012-09-13 11:43:08

vau
Member
From: Adelaide, Australia
Registered: 2008-08-23
Posts: 24

Re: [SOLVED] Printer stopped working with message 'filter failed'

I have exactly the same problem, but mainly with pdf files (and on different printer). I suspect (it's just a hunch, I can not back it up) that fontconfig is at fault, as it was the only package I recently updated with some complaints pacman displayed. I will try to have a closer look into it on a weekend.

Offline

#4 2012-09-13 21:55:44

hamelg
Member
From: France
Registered: 2008-06-19
Posts: 128

Re: [SOLVED] Printer stopped working with message 'filter failed'

Here, I have this issue only when using the text filter texttopdf: "echo TEST | lpr" gives theses errors :

D [13/Sep/2012:23:09:18 +0200] [Job 2148] Started filter /usr/lib/cups/filter/texttopdf
 (PID 22683)
D [13/Sep/2012:23:09:18 +0200] [Job 2148] Started filter /usr/lib/cups/filter/pdftopdf 
(PID 22684)
D [13/Sep/2012:23:09:18 +0200] [Job 2148] Started filter /usr/lib/cups/filter/pdftops (
PID 22685)
D [13/Sep/2012:23:09:18 +0200] [Job 2148] Started backend /usr/lib/cups/backend/cups-pd
f (PID 22686)
D [13/Sep/2012:23:09:18 +0200] [Job 2148] pdftops - copying to temp print file "/var/sp
ool/cups/tmp/0589d50615cea"
D [13/Sep/2012:23:09:18 +0200] [Job 2148] Page = 595x842; 0,0 to 595,842
D [13/Sep/2012:23:09:18 +0200] [Job 2148] PID 22683 (/usr/lib/cups/filter/texttopdf) ex
ited with no errors.
D [13/Sep/2012:23:09:18 +0200] [Job 2148] Exception: temp file (file position 37076): E
OF while reading token
D [13/Sep/2012:23:09:18 +0200] [Job 2148] Using image rendering resolution 300 dpi
D [13/Sep/2012:23:09:18 +0200] [Job 2148] Started filter gs (PID 22690)
D [13/Sep/2012:23:09:18 +0200] [Job 2148] Started filter pstops (PID 22691)
D [13/Sep/2012:23:09:18 +0200] [Job 2148] PID 22684 (/usr/lib/cups/filter/pdftopdf) sto
pped with status 5.
D [13/Sep/2012:23:09:18 +0200] [Job 2148] Hint: Try setting the LogLevel to "debug" to 
find out more.
D [13/Sep/2012:23:09:18 +0200] [Job 2148] Page = 595x842; 0,0 to 595,842
D [13/Sep/2012:23:09:18 +0200] [Job 2148] slow_collate=0, slow_duplex=0, slow_order=0
D [13/Sep/2012:23:09:18 +0200] [Job 2148] Before copy_comments - %!PS-Adobe-3.0
D [13/Sep/2012:23:09:18 +0200] [Job 2148] %!PS-Adobe-3.0
D [13/Sep/2012:23:09:18 +0200] [Job 2148] %%BoundingBox: 0 0 612 792
D [13/Sep/2012:23:09:18 +0200] [Job 2148] %%Creator: GPL Ghostscript 906 (ps2write)
D [13/Sep/2012:23:09:18 +0200] [Job 2148] %%LanguageLevel: 2
D [13/Sep/2012:23:09:18 +0200] [Job 2148] %%CreationDate: D:20120913230918+02'00'
D [13/Sep/2012:23:09:18 +0200] [Job 2148] %%Pages: 1
D [13/Sep/2012:23:09:18 +0200] [Job 2148] %%EndComments
D [13/Sep/2012:23:09:18 +0200] [Job 2148] Before copy_prolog - %%BeginProlog
D [13/Sep/2012:23:09:18 +0200] [Job 2148] PID 22690 (gs) exited with no errors.
D [13/Sep/2012:23:09:18 +0200] [Job 2148] Before copy_setup - %%Page: 1 1
D [13/Sep/2012:23:09:18 +0200] [Job 2148] Before page loop - %%Page: 1 1
D [13/Sep/2012:23:09:18 +0200] [Job 2148] Copying page 1...
D [13/Sep/2012:23:09:18 +0200] [Job 2148] PAGE: 1 1
D [13/Sep/2012:23:09:18 +0200] [Job 2148] pagew = 595.0, pagel = 842.0
D [13/Sep/2012:23:09:18 +0200] [Job 2148] bboxx = 0, bboxy = 0, bboxw = 595, bboxl = 84
2
D [13/Sep/2012:23:09:18 +0200] [Job 2148] PageLeft = 0.0, PageRight = 595.0
D [13/Sep/2012:23:09:18 +0200] [Job 2148] PageTop = 842.0, PageBottom = 0.0
D [13/Sep/2012:23:09:18 +0200] [Job 2148] PageWidth = 595.0, PageLength = 842.0
D [13/Sep/2012:23:09:18 +0200] [Job 2148] Wrote 1 pages...
D [13/Sep/2012:23:09:18 +0200] [Job 2148] PID 22691 (pstops) exited with no errors.
D [13/Sep/2012:23:09:18 +0200] [Job 2148] PID 22685 (/usr/lib/cups/filter/pdftops) exit
ed with no errors.
D [13/Sep/2012:23:09:18 +0200] [Job 2148] PID 22686 (/usr/lib/cups/backend/cups-pdf) ex
ited with no errors.
D [13/Sep/2012:23:09:18 +0200] [Job 2148] End of messages
D [13/Sep/2012:23:09:18 +0200] [Job 2148] printer-state=3(idle)
D [13/Sep/2012:23:09:18 +0200] [Job 2148] printer-state-message="Filter failed"
D [13/Sep/2012:23:09:18 +0200] [Job 2148] printer-state-reasons=none
E [13/Sep/2012:23:14:19 +0200] [Job 2148] Stopping unresponsive job.
E [13/Sep/2012:23:22:22 +0200] [Job 2150] Job stopped due to filter errors; please consult the error_log file for details.

Offline

#5 2012-09-15 16:35:02

pitdicker
Member
Registered: 2010-04-29
Posts: 4

Re: [SOLVED] Printer stopped working with message 'filter failed'

natestar13, thanks for your reply.
I did not upgrade any packages the days before it stopped working.
But just in case, tried to revert cups, cup-filters, hplib and the foomatic packages to their previous versions.
This did not help.

I forgot to search the forum, I only tried a google search, so thanks for the link.
I have not blacklisted the usblp module.

hamelg: you seem to have a slightly different problem, because for me all printing fails. Maybe it is good to start a new treat?

I welcome any suggestions

Offline

#6 2012-09-17 17:35:25

johnride
Member
Registered: 2012-04-28
Posts: 16

Re: [SOLVED] Printer stopped working with message 'filter failed'

My answer won't help but I'm having the same "Filter Failed" issue with a HP LaserJet P1005 wich works very well on a different OS.

As I don't really understand what is the filter exactly I tried some random stuff like reverting hplip or tried to use another driver in the CUPS configuration but no luck.

Hope some solution will come up!

Offline

#7 2012-09-21 12:07:20

squareduck
Member
Registered: 2012-09-21
Posts: 1

Re: [SOLVED] Printer stopped working with message 'filter failed'

Check out this bug (and workaround):

https://bugs.launchpad.net/hplip/+bug/951763

Offline

#8 2012-10-04 14:31:56

pitdicker
Member
Registered: 2010-04-29
Posts: 4

Re: [SOLVED] Printer stopped working with message 'filter failed'

Hello squareduck.

Thanks for your link.
I tried the steps in de bug report. Because my printer is not from HP and probably does not have a smart instal function, I could not follow the workaround.

However, since today I can print again.
I did nothing special, and to be fair I did not try to fix it for almost a week.
So this is sadly no solution for others, but in my case this is solved.

Thanks everyone who took the time!

Offline

#9 2012-10-31 04:07:20

johnride
Member
Registered: 2012-04-28
Posts: 16

Re: [SOLVED] Printer stopped working with message 'filter failed'

For me it has been fixed by installing foo2zjs from the AUR wich contains the right foo2xqx driver for my HP Laserjet P1005.

I can provide the ppd file if it is interesting for anyone.

Here is to actually get to work this printer, I found it out after some blind tries :

DO NOT install hplip nor other hp-printing related packages, just install foomatic-filters and foomatic-db-engine with foo2zjs from AUR .

Last edited by johnride (2013-02-11 15:30:27)

Offline

#10 2013-10-29 21:41:39

hmarton
Member
Registered: 2012-07-17
Posts: 4

Re: [SOLVED] Printer stopped working with message 'filter failed'

I recently had this problem too. The reason here was that the file system was full (/var/spool/cups) and the cups daemon couldn't create files on it. Cleaning the pacman cache which was on the same file system solved the issue.

Offline

#11 2013-11-07 16:01:03

HoZ
Member
Registered: 2008-03-30
Posts: 45

Re: [SOLVED] Printer stopped working with message 'filter failed'

hmarton wrote:

I recently had this problem too. The reason here was that the file system was full (/var/spool/cups) and the cups daemon couldn't create files on it. Cleaning the pacman cache which was on the same file system solved the issue.

Thank you so much for posting this.  I've been spinning my wheels for days trying to track this issue down.  I have two Arch boxes that print to a networked Brother laser printer.  One worked, and the other didn't.  I kept getting the "filter failed" message.  After cleaning my pacman cache, all is well again.

Offline

#12 2014-11-26 09:53:01

dimti
Member
Registered: 2013-11-06
Posts: 11

Re: [SOLVED] Printer stopped working with message 'filter failed'

Hello

I have same problem, but in log files some difference:

E [26/Nov/2014:12:30:57 +0300] [Job 96] Job stopped due to filter errors; please consult the error_log file for details.
D [26/Nov/2014:12:30:57 +0300] [Job 96] The following messages were recorded from 12:30:55 to 12:30:57
D [26/Nov/2014:12:30:57 +0300] [Job 96] Adding start banner page "none".
D [26/Nov/2014:12:30:57 +0300] [Job 96] Adding end banner page "none".
D [26/Nov/2014:12:30:57 +0300] [Job 96] File of type application/pdf queued by "dimti".
D [26/Nov/2014:12:30:57 +0300] [Job 96] hold_until=0
D [26/Nov/2014:12:30:57 +0300] [Job 96] Queued on "Brother_DCP-7010" by "dimti".
D [26/Nov/2014:12:30:57 +0300] [Job 96] time-at-processing=1416994255
D [26/Nov/2014:12:30:57 +0300] [Job 96] 3 filters for job:
D [26/Nov/2014:12:30:57 +0300] [Job 96] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [26/Nov/2014:12:30:57 +0300] [Job 96] pdftops (application/vnd.cups-pdf to application/vnd.cups-postscript, cost 100)
D [26/Nov/2014:12:30:57 +0300] [Job 96] brlpdwrapperDCP7010 (application/vnd.cups-postscript to printer/Brother_DCP-7010, cost 0)
D [26/Nov/2014:12:30:57 +0300] [Job 96] job-sheets=none,none
D [26/Nov/2014:12:30:57 +0300] [Job 96] argv[0]="Brother_DCP-7010"
D [26/Nov/2014:12:30:57 +0300] [Job 96] argv[1]="96"
D [26/Nov/2014:12:30:57 +0300] [Job 96] argv[2]="dimti"
D [26/Nov/2014:12:30:57 +0300] [Job 96] argv[3]="[SOLVED] Printer stopped working with message 'filter failed' (Page 1) / Kernel & Hardware / Arch Linux Forums"
D [26/Nov/2014:12:30:57 +0300] [Job 96] argv[4]="1"
D [26/Nov/2014:12:30:57 +0300] [Job 96] argv[5]="InputSlot=TRAY1 Sleep=PrinterDefault PageSize=A4 TonerSaveMode=Off BrMediaType=PLAIN Resolution=300dpi number-up=1 job-uuid=urn:uuid:42f36ef5-3687-36ab-736b-dce8fafee9e8 job-originating-host-name=localhost time-at-creation=1416994255 time-at-processing=1416994255"
D [26/Nov/2014:12:30:57 +0300] [Job 96] argv[6]="/var/spool/cups/d00096-001"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[7]="CUPS_STATEDIR=/run/cups"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[8]="HOME=/var/spool/cups/tmp"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[10]="SERVER_ADMIN=root@prototype.dimti.ru"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[11]="SOFTWARE=CUPS/2.0.1"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[13]="USER=root"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[14]="CUPS_MAX_MESSAGE=2047"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[17]="IPP_PORT=631"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[18]="CHARSET=utf-8"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[19]="LANG=ru_RU.UTF-8"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[20]="PPD=/etc/cups/ppd/Brother_DCP-7010.ppd"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[21]="RIP_MAX_CACHE=128m"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[22]="CONTENT_TYPE=application/pdf"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[23]="DEVICE_URI=usb://Brother/DCP-7010?serial=000H5J605176"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[24]="PRINTER_INFO=Brother DCP-7010"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[25]="PRINTER_LOCATION=Local Printer"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[26]="PRINTER=Brother_DCP-7010"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[27]="PRINTER_STATE_REASONS=none"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[28]="CUPS_FILETYPE=document"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
D [26/Nov/2014:12:30:57 +0300] [Job 96] envp[30]="AUTH_I****"
D [26/Nov/2014:12:30:57 +0300] [Job 96] Started filter /usr/lib/cups/filter/pdftopdf (PID 2173)
D [26/Nov/2014:12:30:57 +0300] [Job 96] Started filter /usr/lib/cups/filter/pdftops (PID 2174)
D [26/Nov/2014:12:30:57 +0300] [Job 96] Started filter /usr/lib/cups/filter/brlpdwrapperDCP7010 (PID 2175)
D [26/Nov/2014:12:30:57 +0300] [Job 96] Started backend /usr/lib/cups/backend/usb (PID 2176)
D [26/Nov/2014:12:30:57 +0300] [Job 96] pdftops - copying to temp print file "/var/spool/cups/tmp/0087e5476ba50"
D [26/Nov/2014:12:30:57 +0300] [Job 96] Loading USB quirks from "/usr/share/cups/usb".
D [26/Nov/2014:12:30:57 +0300] [Job 96] Loaded 71 quirks.
D [26/Nov/2014:12:30:57 +0300] [Job 96] Printing on printer with URI: usb://Brother/DCP-7010?serial=000H5J605176
D [26/Nov/2014:12:30:57 +0300] [Job 96] libusb_get_device_list=13
D [26/Nov/2014:12:30:57 +0300] [Job 96] STATE: +connecting-to-device
D [26/Nov/2014:12:30:57 +0300] [Job 96] STATE: -connecting-to-device
D [26/Nov/2014:12:30:57 +0300] [Job 96] Printer found with device ID: MFG:Brother;CMD:PJL,HBP;MDL:DCP-7010;CLS:PRINTER; Device URI: usb://Brother/DCP-7010?serial=000H5J605176
D [26/Nov/2014:12:30:57 +0300] [Job 96] Device protocol: 2
D [26/Nov/2014:12:30:57 +0300] [Job 96] Sending data to printer.
D [26/Nov/2014:12:30:57 +0300] [Job 96] Set job-printer-state-message to "Sending data to printer.", current level=INFO
D [26/Nov/2014:12:30:57 +0300] [Job 96] PID 2173 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [26/Nov/2014:12:30:57 +0300] [Job 96] Printer make and model: Brother Brother DCP7010 series
D [26/Nov/2014:12:30:57 +0300] [Job 96] Switching to Poppler's pdftops instead of Ghostscript for Brother, Minolta, and Konica Minolta to work around bugs in the printer's PS interpreters
D [26/Nov/2014:12:30:57 +0300] [Job 96] Running command line for pstops: pstops 96 dimti '[SOLVED] Printer stopped working with message 'filter failed' (Page 1) / Kernel & Hardware / Arch Linux Forums' 1 'InputSlot=TRAY1 Sleep=PrinterDefault PageSize=A4 TonerSaveMode=Off BrMediaType=PLAIN Resolution=300dpi number-up=1 job-uuid=urn:uuid:42f36ef5-3687-36ab-736b-dce8fafee9e8 job-originating-host-name=localhost time-at-creation=1416994255 time-at-processing=1416994255'
D [26/Nov/2014:12:30:57 +0300] [Job 96] Using image rendering resolution 300 dpi
D [26/Nov/2014:12:30:57 +0300] [Job 96] Running command line for pdftops: pdftops -level3 -origpagesizes -nocenter -r 300 /var/spool/cups/tmp/0087e5476ba50 -
D [26/Nov/2014:12:30:57 +0300] [Job 96] Started filter pdftops (PID 2196)
D [26/Nov/2014:12:30:57 +0300] [Job 96] Started filter pstops (PID 2197)
D [26/Nov/2014:12:30:57 +0300] [Job 96] Syntax Warning: May not be a PDF file (continuing anyway)
D [26/Nov/2014:12:30:57 +0300] [Job 96] Syntax Error: Couldn't find trailer dictionary
D [26/Nov/2014:12:30:57 +0300] [Job 96] Syntax Error: Couldn't find trailer dictionary
D [26/Nov/2014:12:30:57 +0300] [Job 96] Syntax Error: Couldn't read xref table
D [26/Nov/2014:12:30:57 +0300] [Job 96] The print file is empty.
D [26/Nov/2014:12:30:57 +0300] [Job 96] PID 2196 (pdftops) stopped with status 1!
D [26/Nov/2014:12:30:57 +0300] [Job 96] PID 2197 (pstops) stopped with status 1!
D [26/Nov/2014:12:30:57 +0300] [Job 96] PID 2174 (/usr/lib/cups/filter/pdftops) stopped with status 1.
D [26/Nov/2014:12:30:57 +0300] [Job 96] Hint: Try setting the LogLevel to "debug" to find out more.
D [26/Nov/2014:12:30:57 +0300] [Job 96] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [26/Nov/2014:12:30:57 +0300] [Job 96] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [26/Nov/2014:12:30:57 +0300] [Job 96] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [26/Nov/2014:12:30:57 +0300] [Job 96] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [26/Nov/2014:12:30:57 +0300] [Job 96] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [26/Nov/2014:12:30:57 +0300] [Job 96] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [26/Nov/2014:12:30:57 +0300] [Job 96] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [26/Nov/2014:12:30:57 +0300] [Job 96] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [26/Nov/2014:12:30:57 +0300] [Job 96] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [26/Nov/2014:12:30:57 +0300] [Job 96] Read 479 bytes of print data...
D [26/Nov/2014:12:30:57 +0300] [Job 96] Wrote 479 bytes of print data...
D [26/Nov/2014:12:30:57 +0300] [Job 96] Sent 479 bytes...
D [26/Nov/2014:12:30:57 +0300] [Job 96] PID 2175 (/usr/lib/cups/filter/brlpdwrapperDCP7010) exited with no errors.
D [26/Nov/2014:12:30:57 +0300] [Job 96] Waiting for read thread to exit...
D [26/Nov/2014:12:30:57 +0300] [Job 96] PID 2176 (/usr/lib/cups/backend/usb) exited with no errors.
D [26/Nov/2014:12:30:57 +0300] [Job 96] End of messages
D [26/Nov/2014:12:30:57 +0300] [Job 96] printer-state=3(idle)
D [26/Nov/2014:12:30:57 +0300] [Job 96] printer-state-message="Filter failed"
D [26/Nov/2014:12:30:57 +0300] [Job 96] printer-state-reasons=none
E [26/Nov/2014:12:32:20 +0300] [Job 95] Stopping unresponsive job.

Bad records (of my opinion):

D [26/Nov/2014:12:30:57 +0300] [Job 96] Running command line for pdftops: pdftops -level3 -origpagesizes -nocenter -r 300 /var/spool/cups/tmp/0087e5476ba50 -
D [26/Nov/2014:12:30:57 +0300] [Job 96] Started filter pdftops (PID 2196)
D [26/Nov/2014:12:30:57 +0300] [Job 96] Started filter pstops (PID 2197)
D [26/Nov/2014:12:30:57 +0300] [Job 96] Syntax Warning: May not be a PDF file (continuing anyway)
D [26/Nov/2014:12:30:57 +0300] [Job 96] Syntax Error: Couldn't find trailer dictionary
D [26/Nov/2014:12:30:57 +0300] [Job 96] Syntax Error: Couldn't find trailer dictionary
D [26/Nov/2014:12:30:57 +0300] [Job 96] Syntax Error: Couldn't read xref table
D [26/Nov/2014:12:30:57 +0300] [Job 96] The print file is empty.
D [26/Nov/2014:12:30:57 +0300] [Job 96] PID 2196 (pdftops) stopped with status 1!
D [26/Nov/2014:12:30:57 +0300] [Job 96] PID 2197 (pstops) stopped with status 1!
D [26/Nov/2014:12:30:57 +0300] [Job 96] PID 2174 (/usr/lib/cups/filter/pdftops) stopped with status 1.
D [26/Nov/2014:12:30:57 +0300] [Job 96] Hint: Try setting the LogLevel to "debug" to find out more.
D [26/Nov/2014:12:30:57 +0300] [Job 96] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [26/Nov/2014:12:30:57 +0300] [Job 96] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [26/Nov/2014:12:30:57 +0300] [Job 96] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [26/Nov/2014:12:30:57 +0300] [Job 96] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [26/Nov/2014:12:30:57 +0300] [Job 96] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [26/Nov/2014:12:30:57 +0300] [Job 96] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [26/Nov/2014:12:30:57 +0300] [Job 96] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [26/Nov/2014:12:30:57 +0300] [Job 96] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [26/Nov/2014:12:30:57 +0300] [Job 96] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [26/Nov/2014:12:30:57 +0300] [Job 96] Read 479 bytes of print data...
D [26/Nov/2014:12:30:57 +0300] [Job 96] Wrote 479 bytes of print data...
D [26/Nov/2014:12:30:57 +0300] [Job 96] Sent 479 bytes...
D [26/Nov/2014:12:30:57 +0300] [Job 96] PID 2175 (/usr/lib/cups/filter/brlpdwrapperDCP7010) exited with no errors.
D [26/Nov/2014:12:30:57 +0300] [Job 96] Waiting for read thread to exit...
D [26/Nov/2014:12:30:57 +0300] [Job 96] PID 2176 (/usr/lib/cups/backend/usb) exited with no errors.
D [26/Nov/2014:12:30:57 +0300] [Job 96] End of messages
D [26/Nov/2014:12:30:57 +0300] [Job 96] printer-state=3(idle)
D [26/Nov/2014:12:30:57 +0300] [Job 96] printer-state-message="Filter failed"
D [26/Nov/2014:12:30:57 +0300] [Job 96] printer-state-reasons=none
E [26/Nov/2014:12:32:20 +0300] [Job 95] Stopping unresponsive job.

I tried to update cups, cups-filter, setup a2ps. Setup my printer driver from auth (brother dcp7010) and readd printer in cups.

Why is that programs returnet code 1?:

D [26/Nov/2014:12:30:57 +0300] [Job 96] PID 2196 (pdftops) stopped with status 1!
D [26/Nov/2014:12:30:57 +0300] [Job 96] PID 2197 (pstops) stopped with status 1!
D [26/Nov/2014:12:30:57 +0300] [Job 96] PID 2174 (/usr/lib/cups/filter/pdftops) stopped with status 1.

And why is that file?:

D [26/Nov/2014:12:30:57 +0300] [Job 96] Error: /usr/share/brother/inf/brPrintList :cannot open file !!

in dir /usr/share/brother/inf/ i have these files:

[root@prototype dimti]# ls -la /usr/share/brother/inf/
итого 28
drwxr-xr-x 2 root root 4096 ноя 26 09:44 .
drwxr-xr-x 8 root root 4096 ноя 26 09:44 ..
-rwxr-xr-x 1 root root 5600 ноя 26 09:44 braddprinter
-rw-r--r-- 1 root root  652 ноя 26 09:44 brDCP7010func
-rw-r--r-- 1 root root  166 ноя 26 09:44 brDCP7010rc
-rw-r--r-- 1 root root  215 ноя 26 09:44 paperinf

Can i turn for more debug info in logs?


... And solution for solve problem:

FREE SPACE OM THE DISC!!!

[root@prototype dimti]# df
Файловая система 1K-блоков Использовано  Доступно Использовано% Cмонтировано в
/dev/sda1         50941596     50149948         0          100% /

Printer worked perfectly after clear space on disc.

Thank for hmarton (I read latest post again)

Offline

#13 2015-06-15 16:12:39

colinkeenan
Member
From: Kansas City, MO USA
Registered: 2013-06-13
Posts: 213
Website

Re: [SOLVED] Printer stopped working with message 'filter failed'

This is a very old thread, but it comes up high in a search for this problem under Arch Linux, so I want to add another solution that worked for me 6/15/2015. I just ran "hp-doctor" from the terminal. It saw a mismatch in the driver and downloaded it from hp and installed it. It also gave 3 red error messages along the way suggesting python modules to be installed. I let it download and install the driver. All the python modules it recommended were available via pacman, so I installed them all. Now my printer works again.

Offline

#14 2015-06-15 22:49:43

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [SOLVED] Printer stopped working with message 'filter failed'

Wow, this topic has been resurrected twice. What do you call a zombie zombie?

colinkeenan wrote:

This is a very old thread

Yes. It is. Please don't bump these. Especially when they're marked as solved. You have been here long enough to familiarize yourself with the forum etiquette, but please re-read it.

If you feel your solution is particularly useful, then the wiki is the place to post it.

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB