全新安装 Ubuntu 12.04 - 64 位后无法打印到网络打印机

全新安装 Ubuntu 12.04 - 64 位后无法打印到网络打印机

背景:

我有一台运行 ClearOS 的服务器,用作我的打印服务器(以及其他服务)。当我使用 Ubuntu 10.04 时,我可以正常打印。快进,我通过全新安装升级到 Ubuntu 12.04 64 位,现在当我按照向导设置 IPP 打印机时,我的文档无法打印(尽管它们在其他客户端上运行正常)。有什么想法吗?

以下是客户端日志:

==> access_log <==
localhost - - [28/Apr/2012:12:41:28 -0500] "POST /printers/HL-2140 HTTP/1.1" 200 284 Create-Job successful-ok
localhost - - [28/Apr/2012:12:41:28 -0500] "POST /printers/HL-2140 HTTP/1.1" 200 14145 Send-Document successful-ok

==> error_log <==
E [28/Apr/2012:12:41:33 -0500] [Job 9] Unable to add document to print job.

==> access_log <==
localhost - - [28/Apr/2012:12:41:35 -0500] "POST / HTTP/1.1" 200 345 Create-Printer-Subscription successful-ok
localhost - - [28/Apr/2012:12:41:35 -0500] "POST / HTTP/1.1" 200 345 Create-Printer-Subscription successful-ok

==> error_log <==
W [28/Apr/2012:12:42:34 -0500] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id 'HL-2140-Gray..' already exists
W [28/Apr/2012:12:42:34 -0500] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id 'cups-HL-2140' already exists

==> access_log <==
localhost - ksoviero [28/Apr/2012:12:42:45 -0500] "POST / HTTP/1.1" 200 186 Renew-Subscription successful-ok

以下是服务器日志:

==> /var/log/cups/access_log <==
10.0.0.170 - - [28/Apr/2012:12:44:30 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 400 0 unknown-0000 -
10.0.0.170 - - [28/Apr/2012:12:44:30 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 621 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:30 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 262 Validate-Job successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:30 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 262 Create-Job successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:30 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:30 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok

==> /var/log/cups/error_log <==
E [28/Apr/2012:12:44:30 -0500] cupsdReadClient: 12 IPP Read Error!
I [28/Apr/2012:12:44:30 -0500] [Job 91] Adding start banner page "none".
I [28/Apr/2012:12:44:30 -0500] [Job 91] Queued on "Brother_HL-2140_series_USB_1" by "ksoviero".

==> /var/log/cups/access_log <==
10.0.0.170 - - [28/Apr/2012:12:44:30 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 426 577419 Send-Document successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:31 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:31 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:31 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok

==> /var/log/cups/error_log <==
E [28/Apr/2012:12:44:31 -0500] Send-Document: Unauthorized
I [28/Apr/2012:12:44:31 -0500] cupsdCloseClient: SSL shutdown successful!
I [28/Apr/2012:12:44:31 -0500] cupsdCloseClient: SSL shutdown successful!

==> /var/log/cups/access_log <==
10.0.0.170 - - [28/Apr/2012:12:44:32 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:32 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:32 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok

==> /var/log/cups/error_log <==
I [28/Apr/2012:12:44:32 -0500] cupsdCloseClient: SSL shutdown successful!

==> /var/log/cups/access_log <==
10.0.0.170 - - [28/Apr/2012:12:44:33 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok

==> /var/log/cups/error_log <==
I [28/Apr/2012:12:44:33 -0500] cupsdCloseClient: SSL shutdown successful!

==> /var/log/cups/access_log <==
10.0.0.170 - - [28/Apr/2012:12:44:34 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:34 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:35 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok

==> /var/log/cups/error_log <==
I [28/Apr/2012:12:44:35 -0500] cupsdCloseClient: SSL shutdown successful!

==> /var/log/cups/access_log <==
10.0.0.170 - - [28/Apr/2012:12:44:37 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:37 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:38 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok

==> /var/log/cups/error_log <==
I [28/Apr/2012:12:44:38 -0500] cupsdCloseClient: SSL shutdown successful!

==> /var/log/cups/access_log <==
10.0.0.170 - - [28/Apr/2012:12:44:42 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:42 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:43 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok

==> /var/log/cups/error_log <==
I [28/Apr/2012:12:44:43 -0500] cupsdCloseClient: SSL shutdown successful!

==> /var/log/cups/access_log <==
10.0.0.170 - - [28/Apr/2012:12:44:50 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:50 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:51 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:51 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:51 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok

==> /var/log/cups/error_log <==
I [28/Apr/2012:12:44:51 -0500] cupsdCloseClient: SSL shutdown successful!

==> /var/log/cups/access_log <==
10.0.0.170 - - [28/Apr/2012:12:44:52 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:52 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok

==> /var/log/cups/error_log <==
I [28/Apr/2012:12:44:52 -0500] cupsdCloseClient: SSL shutdown successful!

==> /var/log/cups/access_log <==
10.0.0.170 - - [28/Apr/2012:12:44:52 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:54 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:54 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:54 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok

==> /var/log/cups/error_log <==
I [28/Apr/2012:12:44:53 -0500] cupsdCloseClient: SSL shutdown successful!

==> /var/log/cups/access_log <==
10.0.0.170 - - [28/Apr/2012:12:44:56 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok

==> /var/log/cups/error_log <==
I [28/Apr/2012:12:44:56 -0500] cupsdCloseClient: SSL shutdown successful!

==> /var/log/cups/access_log <==
10.0.0.170 - - [28/Apr/2012:12:44:57 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:57 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:44:59 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok

==> /var/log/cups/error_log <==
I [28/Apr/2012:12:44:59 -0500] cupsdCloseClient: SSL shutdown successful!

==> /var/log/cups/access_log <==
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 316 Get-Jobs successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 414 CUPS-Get-Printers successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 414 CUPS-Get-Classes successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 72 CUPS-Get-Default client-error-not-found
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 225 CUPS-Get-Printers successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 316 Get-Jobs successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 414 CUPS-Get-Printers successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 414 CUPS-Get-Classes successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 72 CUPS-Get-Default client-error-not-found
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 412 CUPS-Get-Printers successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 316 Get-Jobs successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 414 CUPS-Get-Printers successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 414 CUPS-Get-Classes successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 72 CUPS-Get-Default client-error-not-found
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 316 Get-Jobs successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:02 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:02 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 316 Get-Jobs successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 414 CUPS-Get-Printers successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 414 CUPS-Get-Classes successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 72 CUPS-Get-Default client-error-not-found
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 225 CUPS-Get-Printers successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 316 Get-Jobs successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 414 CUPS-Get-Printers successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 414 CUPS-Get-Classes successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 72 CUPS-Get-Default client-error-not-found
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 412 CUPS-Get-Printers successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 316 Get-Jobs successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 414 CUPS-Get-Printers successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 414 CUPS-Get-Classes successful-ok
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 72 CUPS-Get-Default client-error-not-found
localhost - - [28/Apr/2012:12:45:02 -0500] "POST / HTTP/1.1" 200 316 Get-Jobs successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:04 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok

==> /var/log/cups/error_log <==
I [28/Apr/2012:12:45:04 -0500] cupsdCloseClient: SSL shutdown successful!

==> /var/log/cups/access_log <==
10.0.0.170 - - [28/Apr/2012:12:45:10 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:10 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:11 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:11 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:12 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:12 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:12 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok

==> /var/log/cups/error_log <==
I [28/Apr/2012:12:45:12 -0500] cupsdCloseClient: SSL shutdown successful!

==> /var/log/cups/access_log <==
10.0.0.170 - - [28/Apr/2012:12:45:13 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok

==> /var/log/cups/error_log <==
I [28/Apr/2012:12:45:13 -0500] cupsdCloseClient: SSL shutdown successful!

==> /var/log/cups/access_log <==
10.0.0.170 - - [28/Apr/2012:12:45:14 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:14 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:14 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok

==> /var/log/cups/error_log <==
I [28/Apr/2012:12:45:14 -0500] cupsdCloseClient: SSL shutdown successful!

==> /var/log/cups/access_log <==
10.0.0.170 - - [28/Apr/2012:12:45:16 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok

==> /var/log/cups/error_log <==
I [28/Apr/2012:12:45:16 -0500] cupsdCloseClient: SSL shutdown successful!

==> /var/log/cups/access_log <==
10.0.0.170 - - [28/Apr/2012:12:45:17 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:17 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:19 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok

==> /var/log/cups/error_log <==
I [28/Apr/2012:12:45:19 -0500] cupsdCloseClient: SSL shutdown successful!

==> /var/log/cups/access_log <==
10.0.0.170 - - [28/Apr/2012:12:45:22 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:22 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:24 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok

==> /var/log/cups/error_log <==
I [28/Apr/2012:12:45:24 -0500] cupsdCloseClient: SSL shutdown successful!

==> /var/log/cups/access_log <==
10.0.0.170 - - [28/Apr/2012:12:45:30 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:30 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:31 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:31 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:32 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 369 Get-Job-Attributes successful-ok
10.0.0.170 - - [28/Apr/2012:12:45:32 -0500] "POST /printers/Brother_HL-2140_series_USB_1 HTTP/1.1" 200 654 Get-Printer-Attributes successful-ok

==> /var/log/cups/error_log <==
I [28/Apr/2012:12:45:32 -0500] cupsdCloseClient: SSL shutdown successful!
I [28/Apr/2012:12:45:32 -0500] [Job 91] Adding end banner page "none".
E [28/Apr/2012:12:45:32 -0500] [Job 91] No files, canceling job!
I [28/Apr/2012:12:45:32 -0500] cupsdCloseClient: SSL shutdown successful!

答案1

我遇到了类似的问题,我无法从 ubuntu 12.04 打印到通过 Samba 连接的 Windows 打印机。以前在 ubuntu 11.10 上可以正常使用。

我不明白的是,没有“真正的”错误消息,因为它显示例如“发送文档成功”。甚至用户身份验证也正常工作。

答案2

(算了,我后来在你的错误报告中看到它在 x86 架构上也会失败)

假设你安装的 Ubuntu 10.04 是 32 位版本,你的驱动程序可能需要一些 32 位库依赖项。我在 Ubuntu 上使用的各种 Brother 打印机(HL-4070、HL-3040 和 HL-4150)都存在这样的问题,CUPS 会立即报告打印成功但打印机不做任何事情。

sudo apt-get install ia32-libs

相关内容