大网数据广告活动
服务器运维问答

Cups is not printing with "Filter Failed" message -- how to get more info?

· 52CE 我爱测

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 an…

问题原文

原帖链接 · Illarion Kovalchuk · CC BY-SA 3.0

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.

社区高分解答

原帖链接 · Greg Bell · CC BY-SA 3.0

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 this

[17/Aug/2014:12:47:31 +1000] [Job 83] JCL: 12345X@PJL 
[17/Aug/2014:12:47:31 +1000] [Job 83] <job data> 
[17/Aug/2014:12:47:31 +1000] [Job 83] sh: 1: hpijs: not found 
[17/Aug/2014:12:47:31 +1000] [Job 83] GPL Ghostscript 9.10: Can't start ijs server "hpijs" 
[17/Aug/2014:12:47:31 +1000] [Job 83] renderer exited with status 1 
[17/Aug/2014:12:47:31 +1000] [Job 83] Possible error on renderer command line or PostScript error. Check options.Kid3 exit status: 3

It can be solved with:

sudo apt-get install hpijs-ppds printer-driver-hpijs

Not sure if both are needed, I just picked all hpijs-like things in Aptitude.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2014-06-07)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。