接收到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页面的屏幕截图:

在此处输入图像描述

如何让服务器实际打印页面?

我遇到了与HP LaserJet 1020相同的问题。删除printer-driver-gutenprint包解决了我的问题; 看来目前的版本已经破了。 您可能还需要卸载cups,清除/ etc / cups /目录并再次安装cups。