分发升级后打印机不工作

bob*_*bob 7 printing 18.04

将发行版从 16.04 升级到 18.04.1 后,我拥有的两台打印机(Epson L805 和 HP 7500A)都停止工作。epson 测试页的 Cups 日志文件显示:

./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find default_gray.icc 
./base/gsicc_manage.c:2025: gsicc_set_device_profile(): cannot find device profile
Unrecoverable error: rangecheck in .putdeviceprops
Operand stack:
[Job 2256] true
[Job 2256] PID 21466 (/usr/lib/cups/filter/gstoraster) stopped with status 1.
[Job 2256] Hint: Try setting the LogLevel to "debug" to find out more.
[Job 2256] PID 21467 (/opt/epson-inkjet-printer-escpr/cups/lib/filter/epson-escpr-wrapper) stopped with status 1.
[Job 2256] Hint: Try setting the LogLevel to "debug" to find out more.
[Job 2256] Can\'t open CUPS raster file.
[Job 2256] PID 21469 (/usr/lib/cups/backend/lpd) exited with no errors.
[Job 2256] End of messages
[Job 2256] printer-state=3(idle)
[Job 2256] printer-state-message="Filter failed"
[Job 2256] printer-state-reasons=none
Run Code Online (Sandbox Code Playgroud)

使用 64 位 epson 驱动程序用于 L805 打印机(epson-inkjet-printer-escpr_1.6.30-1lsb3.2_amd64.deb 驱动程序)和 lsb-9.2

我尝试了以下所有方法,但没有成功:

  1. 清除 var/spool/cups。
  2. 卸载并重新安装打印机和驱动程序。
  3. 使用 Epson 的旧驱动程序 epson-inkjet-printer-l805_1.0.0-1lsb3.2_amd64.deb。
  4. 删除了 hplip v. 3.17.10 并安装了 hplip 版本 3.18.9(最新)
  5. 将打印机固件升级到最新版本。
  6. 连接并安装为 USB 打印机。
  7. 尝试了以前的 epson 驱动程序(1.6.17-2)。这在 usr/lib/cups/filter 目录中添加了丢失的文件 epson-escpr-wrapper。

Win*_*nix 2

已接受的答案来看,作者希望在此发布:

我遇到了同样的问题。为了追踪其起源,我查看了“/var/log/cups/error_log”,在我的例子中,我发现问题是由 Ghostscript 使用的 icc 配置文件引起的。我有以下错误:

已启动过滤器 pstops (PID 26489)
./base/gsicc_manage.c:1244: gsicc_open_search(): 找不到 default_gray.icc
./base/gsicc_manage.c:2261: gsicc_init_iccmanager(): 找不到默认的 icc 配置文件
./base/ gsicc_manage.c:1244: gsicc_open_search(): 找不到default_rgb.icc
./base/gsicc_manage.c:2025: gsicc_set_device_profile(): 找不到设备配置文件
**** 无法打开初始设备,退出。

所以对我来说有效的是手动删除 icc 配置文件,然后重新安装 libgs9-common (遵循损坏的 Ghostscript 配置):

sudo rmdir /usr/share/ghostscript/9.25/iccprofiles
sudo apt-get install --reinstall libgs9-common

希望这可以帮助

  • 这是 OP 已知的链接答案的精确副本。您将其重新发布到此处有何目的? (2认同)