分发升级后打印机无法正常工作

将配送从16.04升级到18.04.1后,我所拥有的两台打印机(Epson L805和HP 7500A)都停止工作。 爱普生测试页面显示的杯子日志文件:

./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 

使用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. 尝试过以前的爱普生车手(1.6.17-2)。 这在usr / lib / cups / filter目录中添加了丢失的文件epson-escpr-wrapper。

从接受的答案 ,作者希望在这里发布:

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

启动filterpstops(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(遵循Broken ghostscript配置 ):

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

希望这可以帮助