Ubuntu Server 16.04 上的 CUPS 打印作业已接收并“成功”,但没有实际打印

Ubuntu Server 16.04 上的 CUPS 打印作业已接收并“成功”,但没有实际打印

我正在设置本地服务器,其中一部分将是使用 HP LaserJet 1018 的 CUPS 打印服务器。

我能够设置并运行 CUPS,并且能够顺利安装打印机。

但是,当我去打印一份作业时,它被接收并且看似成功,但实际上什么都没有打印。

以下是 的内容/var/log/cups/error_log

$ cat /var/log/cups/error_log 
E [03/Jul/2016:17:36:24 -0400] [cups-deviced] PID 11834 (gutenprint52+usb) stopped with status 1!
W [03/Jul/2016:17:42:23 -0400] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_LaserJet_1018-Gray..\' already exists
W [03/Jul/2016:17:53:05 -0400] Notifier for subscription 2 (dbus://) went away, retrying!
E [03/Jul/2016:17:54:25 -0400] [cups-deviced] PID 21003 (gutenprint52+usb) stopped with status 1!
E [03/Jul/2016:17:54:32 -0400] [cups-deviced] PID 21031 (gutenprint52+usb) stopped with status 1!
W [03/Jul/2016:17:54:48 -0400] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_LaserJet_1018-Gray..\' already exists
W [03/Jul/2016:17:54:54 -0400] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_LaserJet_1018-Gray..\' already exists
E [03/Jul/2016:18:02:17 -0400] [cups-deviced] PID 21389 (gutenprint52+usb) stopped with status 1!
W [03/Jul/2016:18:02:36 -0400] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_LaserJet_1018-Gray..\' already exists
W [03/Jul/2016:18:02:46 -0400] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_LaserJet_1018-Gray..\' already exists

其中一些/var/log/cups/access_log

localhost - - [03/Jul/2016:18:02:36 -0400] "POST /admin/ HTTP/1.1" 401 353 CUPS-Add-Modify-Printer successful-ok
localhost - cactus [03/Jul/2016:18:02:36 -0400] "POST /admin/ HTTP/1.1" 200 353 CUPS-Add-Modify-Printer successful-ok
192.168.0.106 - cactus [03/Jul/2016:18:02:36 -0400] "POST /admin HTTP/1.1" 200 14525 - -
192.168.0.106 - cactus [03/Jul/2016:18:02:46 -0400] "POST /admin HTTP/1.1" 200 409 - -
localhost - - [03/Jul/2016:18:02:46 -0400] "POST /admin/ HTTP/1.1" 401 24541 CUPS-Add-Modify-Printer successful-ok
localhost - cactus [03/Jul/2016:18:02:46 -0400] "POST /admin/ HTTP/1.1" 200 24541 CUPS-Add-Modify-Printer successful-ok
192.168.0.106 - cactus [03/Jul/2016:18:02:46 -0400] "POST /admin HTTP/1.1" 200 2425 - -
localhost - - [03/Jul/2016:18:03:00 -0400] "POST /printers/HP_LaserJet_1018 HTTP/1.1" 200 423 Print-Job successful-ok
192.168.0.106 - - [03/Jul/2016:18:03:41 -0400] "POST /printers/HP_LaserJet_1018 HTTP/1.1" 200 394 Validate-Job successful-ok
192.168.0.106 - - [03/Jul/2016:18:03:41 -0400] "POST /printers/HP_LaserJet_1018 HTTP/1.1" 200 343 Create-Job successful-ok
192.168.0.106 - - [03/Jul/2016:18:03:41 -0400] "POST /printers/HP_LaserJet_1018 HTTP/1.1" 200 440 Send-Document successful-ok
192.168.0.106 - - [03/Jul/2016:18:08:57 -0400] "POST /printers/HP_LaserJet_1018 HTTP/1.1" 200 469 Validate-Job successful-ok
192.168.0.106 - - [03/Jul/2016:18:08:57 -0400] "POST /printers/HP_LaserJet_1018 HTTP/1.1" 200 434 Create-Job successful-ok
192.168.0.106 - - [03/Jul/2016:18:08:57 -0400] "POST /printers/HP_LaserJet_1018 HTTP/1.1" 200 80371 Send-Document successful-ok
localhost - - [03/Jul/2016:18:09:03 -0400] "POST /printers/HP_LaserJet_1018 HTTP/1.1" 200 227 Create-Job successful-ok
localhost - - [03/Jul/2016:18:09:03 -0400] "POST /printers/HP_LaserJet_1018 HTTP/1.1" 200 281 Send-Document successful-ok
localhost - - [03/Jul/2016:18:09:16 -0400] "POST /printers/HP_LaserJet_1018 HTTP/1.1" 200 423 Print-Job successful-ok

以下是 CUPS 作业页面的截图:

在此处输入图片描述

我怎样才能让服务器真正打印页面?

答案1

我在使用 HP LaserJet 1020 时也遇到了同样的问题。删除打印机驱动程序-gutenprint软件包帮我解决了这个问题;看来当前版本有问题。您可能还需要卸载 cups、清除 /etc/cups/ 目录并重新安装 cups。

答案2

我遇到了同样的问题 - 作业已成功添加,打印机(Brother MFC-J*)亮起并显示正在打印 - 但随后它就完成了,没有打印任何内容。

CUPS 也出现了同样的症状。添加型号为“everywhere”(IPP Everywhere)的打印机后,页面打印出来了!因此,必须将 ipptool 与 IPP Everywhere 调整后的作业一起使用。

相关内容