打印到 HP 2050 时出现“foomatic-rip 失败”

打印到 HP 2050 时出现“foomatic-rip 失败”

几天前,我使用 Ubuntu 12.04 盒子打印 Lexmark CX310dn 打印机时一切正常。现在,每当我打印东西时,我都会注意到文本

foomatic-rip 失败

打印对话框中的打印机名称旁边。

在 CUPS 控制中心 (http://本地主机:631/)我看到我的打印机驱动程序是

驱动程序:Lexmark 2050 Foomatic/c2050

答案1

我跑了

tail /var/log/cups/error_log

打印失败后,注意到foomatic-rip failed错误前几行有此行

bash: c2050: command not found

所以我尝试了这些命令:

$ c2050
The program 'c2050' is currently not installed.  You can install it by typing:
sudo apt-get install printer-driver-c2050

$ sudo apt-get install printer-driver-c2050

此后,打印机开始打印,但打印的是乱码。所以我首先重新启动了打印机,然后移除并重新添加了打印机。我做了困难的事情,但你可以尝试简单的方法系统设置首先。无论如何,在我的情况下,我首先添加了驱动程序建议的http://www.openprinting.org/printer/Lexmark/Lexmark-CX310dn。我下载了 deb 文件并使用

sudo dpkg --install openprinting-ppds-postscript-lexmark_20140829-1lsb3.2_all.deb

然后我访问了 CUPs 界面并添加了打印机。

案件告破。

相关内容