将发行版从 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
我尝试了以下所有方法,但没有成功:
从已接受的答案来看,作者希望在此发布:
我遇到了同样的问题。为了追踪其起源,我查看了“/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
希望这可以帮助
| 归档时间: |
|
| 查看次数: |
2617 次 |
| 最近记录: |