D [15/Apr/2021:02:45:21 -0500] [Job 21] PID 20964 (/usr/lib/cups/backend/socket) exited with no errors.
D [15/Apr/2021:02:45:21 -0500] [Job 21] Start rendering...
D [15/Apr/2021:02:45:21 -0500] [Job 21] Processing page 1...
D [15/Apr/2021:02:45:21 -0500] [Job 21] Error: /ioerror in --showpage--
D [15/Apr/2021:02:45:21 -0500] [Job 21] Operand stack:
D [15/Apr/2021:02:45:21 -0500] [Job 21] true (/tmp/gs_wO3nvv) --nostringval-- 1 true
D [15/Apr/2021:02:45:21 -0500] [Job 21] Execution stack:
D [15/Apr/2021:02:45:21 -0500] [Job 21] %interp_exit .runexec2 --nostringval-- showpage --nostringval-- 2 %stopped_push --nostringval-- showpage showpage false 1 %stopped_push 1990 2 3 %oparray_pop 1989 2 3 %oparray_pop 1977 2 3 %oparray_pop showpage 1978 4 3 %oparray_pop showpage showpage 2 1 1 showpage %for_pos_int_continue 1981 4 7 %oparray_pop showpage showpage 1840 3 9 %oparray_pop showpage showpage
D [15/Apr/2021:02:45:21 -0500] [Job 21] Dictionary stack:
D [15/Apr/2021:02:45:21 -0500] [Job 21] --dict:752/1123(ro)(G)-- --dict:1/20(G)-- --dict:80/200(L)-- --dict:80/200(L)-- --dict:135/256(ro)(G)-- --dict:318/325(ro)(G)-- --dict:33/64(L)-- --dict:6/9(L)-- --dict:7/20(L)--
D [15/Apr/2021:02:45:21 -0500] [Job 21] Current allocation mode is local
D [15/Apr/2021:02:45:21 -0500] [Job 21] Last OS error: Broken pipe
D [15/Apr/2021:02:45:21 -0500] [Job 21] GPL Ghostscript 9.52: Unrecoverable error, exit code 1
D [15/Apr/2021:02:45:21 -0500] [Job 21] Rendering completed
D [15/Apr/2021:02:45:21 -0500] [Job 21] PID 20961 (/usr/lib/cups/filter/gstoraster) stopped with status 1.
D [15/Apr/2021:02:45:21 -0500] [Job 21] Hint: Try setting the LogLevel to "debug" to find out more.
D [15/Apr/2021:02:45:21 -0500] [Job 21] End of messages
D [15/Apr/2021:02:45:21 -0500] [Job 21] printer-state=3(idle)
D [15/Apr/2021:02:45:21 -0500] [Job 21] printer-state-message="Rendering completed"
D [15/Apr/2021:02:45:21 -0500] [Job 21] printer-state-reasons=none
我将我的ubuntu更新为20.10 Gorilla,现在出现了上述情况。
上面的日志是使用以下命令获得的:sudo tail -n 100 -f /var/log/cups/error_log
我尝试过在浏览器中使用http://localhost:631
,并删除并重新安装了打印机,并为我的打印机型号安装了每个驱动程序。在尝试打印测试页面后,cups中的错误始终是相同的stopped "Filter failed"
。墨迹级别正确地显示在打印机设置中。当我从windows分区启动时,我可以从这台打印机从同一台pc上的窗口打印。
我还成功地运行了以下命令:
sudo apt-get update
sudo apt-get upgrade
sudo service cups restart
sudo apt-get install hpijs-ppds printer-driver-hpijs
sudo service cups restart
sudo rm /usr/share/ghostscript/9.52/iccprofiles
sudo apt-get install --reinstall libgs9-common
sudo service cups restart
我买的打印机是:HP LaserJet Pro M15w Wireless Laser Printer
我在CUPS中安装的驱动程序是:HP LaserJet m14-m17, hpcups 3.21.2 (grayscale)
(谢谢你的帮助:)
发布于 2021-06-18 19:56:21
试试这个:
1) sudo apt purge hplip hplip-gui printer-driver-hpcups
2) sudo apt autoremove
3) sudo apt update
4) sudo apt upgrade
5) sudo apt install hplip hplip-gui printer-driver-hpcups <+ anything that's removed in the last steps>
6) sudo service cups restart
7) sudo apt-get install hpijs-ppds printer-driver-hpijs
8) sudo service cups restart
9) hp-plugin
我不确定7和8是否必要.我都靠小费..。没什么,那就救我吧!我有HP cp1025
https://askubuntu.com/questions/1331517
复制相似问题