![更新至 Ubuntu 12.04 后 HP LaserJet P1505 无法工作](https://linux22.com/image/960762/%E6%9B%B4%E6%96%B0%E8%87%B3%20Ubuntu%2012.04%20%E5%90%8E%20HP%20LaserJet%20P1505%20%E6%97%A0%E6%B3%95%E5%B7%A5%E4%BD%9C.png)
从 Ubuntu 11.10 更新到 Ubuntu 12.04 后,我的 HP LaserJet P1505 无法工作。应用程序可以看到它,并且知道打印机何时开启,何时未开启。但是当我打印任何文档时,我都会收到“打印机错误”:“正在连接到设备”弹出消息,然后是“打印完成”消息。
在 /var/log/syslog 中我有以下内容(如果附加这么长的日志违反规则,请编辑消息):
May 5 00:45:39 dmitriy-desktop hp-mkuri: io/hpmud/model.c 625: unable to find [s{product}] support-type in /usr/share/hplip/data/models/models.dat
May 5 00:45:41 dmitriy-desktop /usr/sbin/hpljP1505: foo2zjs: Missing HP LaserJet P1505 firmware file /lib/firmware/hp/sihpP1505.dl
May 5 00:45:41 dmitriy-desktop /usr/sbin/hpljP1505: foo2zjs: ...read foo2zjs installation instructions and run ./getweb P1505
May 5 00:45:42 dmitriy-desktop udev-configure-printer: add /devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0
May 5 00:45:42 dmitriy-desktop udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1d.7/usb2/2-2
May 5 00:45:42 dmitriy-desktop udev-configure-printer: Device vendor/product is 03F0:3F17
May 5 00:45:42 dmitriy-desktop udev-configure-printer: MFG:Hewlett-Packard MDL:HP LaserJet P1505 SERN:- serial:CA4118W
May 5 00:45:42 dmitriy-desktop kernel: [14955.846817] usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3F17
May 5 00:45:42 dmitriy-desktop kernel: [14955.846971] usbcore: registered new interface driver usblp
May 5 00:45:42 dmitriy-desktop udev-configure-printer: add /devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/usb/lp0
May 5 00:45:43 dmitriy-desktop kernel: [14956.991611] usblp0: removed
May 5 00:45:43 dmitriy-desktop kernel: [14957.002692] usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3F17
May 5 00:45:44 dmitriy-desktop udev-configure-printer: URI contains USB serial number
May 5 00:45:44 dmitriy-desktop udev-configure-printer: URI match: usb://HP/LaserJet%20P1505?serial=CA4118W
May 5 00:45:44 dmitriy-desktop udev-configure-printer: SERN field matches USB serial number
May 5 00:45:44 dmitriy-desktop udev-configure-printer: URI match: hp:/usb/HP_LaserJet_P1505?serial=CA4118W
May 5 00:45:44 dmitriy-desktop udev-configure-printer: URI of print queue: hp:/usb/HP_LaserJet_P1505?serial=CA4118W, normalized: laserjet p1505 serial ca4118w
May 5 00:45:44 dmitriy-desktop udev-configure-printer: URI of detected printer: usb://HP/LaserJet%20P1505?serial=CA4118W, normalized: laserjet p1505 serial ca4118w
May 5 00:45:44 dmitriy-desktop udev-configure-printer: Queue ipp://localhost:631/printers/HP-LaserJet-P1505 has matching device URI
May 5 00:45:44 dmitriy-desktop udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1d.7/usb2/2-2
May 5 00:45:44 dmitriy-desktop udev-configure-printer: Device already handled
May 5 00:45:44 dmitriy-desktop udev-configure-printer: IPP-Resume-Printer request failed
May 5 00:45:44 dmitriy-desktop udev-configure-printer: URI of detected printer: hp:/usb/HP_LaserJet_P1505?serial=CA4118W, normalized: laserjet p1505 serial ca4118w
May 5 00:45:44 dmitriy-desktop udev-configure-printer: Queue ipp://localhost:631/printers/HP-LaserJet-P1505 has matching device URI
May 5 00:45:44 dmitriy-desktop udev-configure-printer: IPP-Resume-Printer request failed
May 5 00:45:45 dmitriy-desktop /usr/sbin/hpljP1505: foo2zjs: Missing HP LaserJet P1505 firmware file /lib/firmware/hp/sihpP1505.dl
May 5 00:45:45 dmitriy-desktop /usr/sbin/hpljP1505: foo2zjs: ...read foo2zjs installation instructions and run ./getweb P1505
May 5 00:45:45 dmitriy-desktop /usr/sbin/hpljP1505: foo2zjs: Missing HP LaserJet P1505 firmware file /lib/firmware/hp/sihpP1505.dl
May 5 00:45:45 dmitriy-desktop /usr/sbin/hpljP1505: foo2zjs: ...read foo2zjs installation instructions and run ./getweb P1505
May 5 00:45:45 dmitriy-desktop udev-configure-printer: add /devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/usb/lp0
May 5 00:45:45 dmitriy-desktop udev-configure-printer: device devpath is /devices/pci0000:00/0000:00:1d.7/usb2/2-2
May 5 00:45:45 dmitriy-desktop udev-configure-printer: Device already handled
May 5 00:45:48 dmitriy-desktop /usr/sbin/hpljP1505: foo2zjs: Missing HP LaserJet P1505 firmware file /lib/firmware/hp/sihpP1505.dl
May 5 00:45:48 dmitriy-desktop /usr/sbin/hpljP1505: foo2zjs: ...read foo2zjs installation instructions and run ./getweb P1505
May 5 00:45:48 dmitriy-desktop /usr/sbin/hpljP1505: foo2zjs: Missing HP LaserJet P1505 firmware file /lib/firmware/hp/sihpP1505.dl
May 5 00:45:48 dmitriy-desktop /usr/sbin/hpljP1505: foo2zjs: ...read foo2zjs installation instructions and run ./getweb P1505
May 5 00:51:54 dmitriy-desktop foo2xqx-wrapper: foo2xqx-wrapper -r1200x600 -p9 -T3 -m1 -s7 -d1 -n1
May 5 00:51:56 dmitriy-desktop foo2xqx-wrapper: gs -sPAPERSIZE=a4 -g9920x7016 -r1200x600 -sDEVICE=pbmraw -dCOLORSCREEN -dMaxBitmap=500000000
May 5 00:51:56 dmitriy-desktop foo2xqx-wrapper: foo2xqx -r1200x600 -g9920x7016 -p9 -m1 -n1 -d1 -s7 -u 176x84 -l 176x84 -T3
May 5 00:51:56 dmitriy-desktop kernel: [15329.392969] usblp0: removed
我想从hplipopensource.com,但得到的答复是 Ubuntu 12.04 已经有适合我的型号的最新的 HPLIP 驱动程序。
另一个有趣的事情是,升级之前和 Windows 7 中 Tonner 灯和 Ready 灯都亮着,但在 12.04 中只有 Ready 灯亮着。
有什么想法可以让我的打印机在 12.04 中打印吗?
答案1
在打印机/CUPS 面板中删除您的打印机。然后转到 ubuntu 软件中心并安装 HPLIP。在安装过程中,它将检测打印机并提示您直接从 HP 下载驱动程序。照做。重新启动,您就完成了。