You are not logged in.

#1 2022-09-21 06:00:20

nphuracm
Member
From: China
Registered: 2022-07-16
Posts: 27

" F I L T E R F A I L E D " issue

Yes, "Filter failed."

I know this issue is notorious. I tried many fixes on the Internet, updated epson-inkjet-printer-escpr, restarted and reinstalled CUPS over and over again but no avail AT ALL.

I would like anyone here to post ALL possible fixes to this problem. I'd be EXTRA appreciated.

My setup:
Kernel (linux) 5.19.9
cups latest as of 2022.9.21
epson-inkjet-printer-escpr 1.7.21-1
Epson L3153

Offline

#2 2022-09-21 06:50:05

seth
Member
Registered: 2012-09-03
Posts: 31,824

Re: " F I L T E R F A I L E D " issue

Raise the loglevel, https://wiki.archlinux.org/title/CUPS/Troubleshooting
Then restart cups and check the log.

And fix your caps lock.

Online

#3 Yesterday 01:39:58

nphuracm
Member
From: China
Registered: 2022-07-16
Posts: 27

Re: " F I L T E R F A I L E D " issue

https://0x0.st/oW-B.bin
this is the error_log. restarted cups (through systemctl) and printed a test page.

Offline

#4 Yesterday 06:23:42

seth
Member
Registered: 2012-09-03
Posts: 31,824

Re: " F I L T E R F A I L E D " issue

Whatever you posted is from july 5th and 6th, doesn't cover any attempt to print anything and ends in some binary data junk.

Online

#5 Yesterday 09:43:26

progandy
Member
Registered: 2012-05-17
Posts: 5,019

Re: " F I L T E R F A I L E D " issue

seth wrote:

Whatever you posted is from july 5th and 6th, doesn't cover any attempt to print anything and ends in some binary data junk.

It continues after the binary data until 23/Sep/2022:09:37:36 +0800.

curl "https://0x0.st/oW-B.bin" | less

| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#6 Yesterday 15:40:28

seth
Member
Registered: 2012-09-03
Posts: 31,824

Re: " F I L T E R F A I L E D " issue

D [17/Sep/2022:23:28:45 +0800] [Job 15] PID 385624 (/usr/lib/cups/filter/gstoraster) exited with no errors.
D [17/Sep/2022:23:36:39 +0800] [Job 16] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99)
D [17/Sep/2022:23:36:39 +0800] [Job 16] Started filter /usr/lib/cups/filter/gstoraster (PID 396968)
D [17/Sep/2022:23:36:39 +0800] [Job 16] PID 396968 (/usr/lib/cups/filter/gstoraster) stopped with status 1.

epson-escpr-wrapper has always failed

D [23/Sep/2022:09:37:05 +0800] Queue EPSON_L3150_Series uses a printer driver, which is deprecated.
W [23/Sep/2022:09:37:05 +0800] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103

There're error messages from gs (I assume) but in chinese, and broken utf8 encoding (?)
All I could make out is "There is a grammatical error nearby"
=> Set the system locale to english, reboot and see what happens and whether we maybe get a more informative log.

Online

#7 Today 02:21:35

nphuracm
Member
From: China
Registered: 2022-07-16
Posts: 27

Re: " F I L T E R F A I L E D " issue

https://0x0.st/oWaM.txt
I set both the KDE system language's first priority to English and also /etc/locale.conf but it doesn't seem like I actually prevented Chinese from appearing. I also erased error_log before posting.

Offline

#8 Today 06:36:23

seth
Member
Registered: 2012-09-03
Posts: 31,824

Re: " F I L T E R F A I L E D " issue

/usr/bin/gs:行1

would be

/usr/bin/gs: Line 1

So

/usr/bin/gs: Line 1 未预期的符号“$\'F\\313I\\326܌\\302\\326k\\251\\3444@\\026\\001\\177\\274\\375fPȃ5\'”附近有语法错误

means (?)

unexpected symbol '$\'F\\313I\\326\\302\\326k\\251\\3444@\\026\\001\\177\\274\\375fPȃ5\' There is a grammatical error nearby

what smells as if gs was a shell script, but it's not supposed to be.

What's the output of

file $(realpath /usr/bin/gs)
pacman -Qikk ghostscript

Online

Board footer

Powered by FluxBB