打印机状态已停止并且不打印

打印机状态已停止并且不打印

我有一台佳能 Laser Shot LBP6200d,正在运行 Ubuntu 16.04。打印机数据库中没有驱动程序,因此我从佳能网站安装了 64 位 Linux 驱动程序,安装完成后,Linux 识别了我的打印机。首先,当我发送文件进行打印时,状态显示已完成,即使文件未打印。之后,按照指南,我替换了 pdftops 文件。现在,当我打印任何东西时,状态都是停止的。

lpinfo -v给出这个:

network lpd
network beh
direct ccp
network socket
network https
network ipp
direct cnusb:/dev/usb/lp2
network ipps
network http
network ipp14
direct usb://Canon/LBP6200?serial=0000A1C4O8SI
direct hp
direct hpfax

所以我可以看到打印机已被识别

lsmod | grep usb给出:

usblp                  20480  0
usb_storage            69632  1 uas
usbnet                 45056  1 cdc_ether
mii                    16384  1 usbnet
btusb                  45056  0
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
btintel                16384  1 btusb
bluetooth             520192  29 bnep,btbcm,btrtl,btusb,rfcomm,btintel
usbhid                 49152  0
hid                   118784  2 hid_generic,usbhid

lsusb

Bus 002 Device 006: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure
Applications Processor
Bus 002 Device 005: ID 413c:8187 Dell Computer Corp. DW375 Bluetooth
Module
Bus 002 Device 004: ID 413c:8184 Dell Computer Corp. F3607gw v2 Mobile
Broadband Module
Bus 002 Device 010: ID 0101:0007  
Bus 002 Device 011: ID 04a9:271b Canon, Inc. 
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching
Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 05ca:1814 Ricoh Co., Ltd HD Webcam
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching
Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

跑步ls -l /dev/usb/lp* /dev/bus/usb/*/*给了:

crw-rw-r-- 1 root root 189,   0 Oct  5 21:10 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189,   1 Oct  5 21:10 /dev/bus/usb/001/002
crw-rw-r-- 1 root root 189,   2 Oct  5 21:11 /dev/bus/usb/001/003
crw-rw-r-- 1 root root 189, 128 Oct  5 21:10 /dev/bus/usb/002/001
crw-rw-r-- 1 root root 189, 129 Oct  5 21:10 /dev/bus/usb/002/002
crw-rw-r-- 1 root root 189, 131 Oct  5 21:11 /dev/bus/usb/002/004
crw-rw-r-- 1 root root 189, 132 Oct  5 21:11 /dev/bus/usb/002/005
crw-rw-r-- 1 root root 189, 133 Oct  5 21:11 /dev/bus/usb/002/006
crw-rw-r-- 1 root root 189, 137 Oct  5 21:21 /dev/bus/usb/002/010
crw-rw-r-- 1 root lp   189, 138 Oct  5 21:21 /dev/bus/usb/002/011
crw-rw---- 1 root lp   180,   2 Oct  5 21:21 /dev/usb/lp2

最后我运行了,sudo usb_printerid /dev/usb/lp2因为打印机已连接在那里,并且得到了:

GET_DEVICE_ID string:
MFG:Canon;MDL:LBP6200;CMD:CAPT;VER:3.0;CLS:PRINTER;DES:Canon LBP6200

因此,很明显打印机已安装并被识别。驱动程序似乎正在运行,系统知道打印机的正确路径。(在我更换之前,一切都差不多pdftops)我还知道打印机正在运行,因为它在 Windows 10 上正常运行。

如果有人能指导我,那就太好了。提前谢谢。

编辑:我还在tail -f /var/log/syslog拔掉打印机电源的情况下运行,然后在运行时将其重新插入。这是我插入打印机后得到的输出:

Oct  5 21:21:06 phantom-Latitude-E6410 kernel: [  620.069201] usb
2-1.2: Product: Canon CAPT USB Device
Oct  5 21:21:06 phantom-Latitude-E6410 kernel: [  620.069205] usb
2-1.2: Manufacturer: Canon
Oct  5 21:21:06 phantom-Latitude-E6410 kernel: [  620.069208] usb
2-1.2: SerialNumber: 0000A1C4O8SI
Oct  5 21:21:06 phantom-Latitude-E6410 kernel: [  620.072122] usblp
2-1.2:1.0: usblp2: USB Bidirectional printer dev 11 if 0 alt 0 proto 2
vid  0x04A9 pid 0x271B
Oct  5 21:21:06 phantom-Latitude-E6410 mtp-probe: checking bus 2,
device 11: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2"
Oct  5 21:21:06 phantom-Latitude-E6410 mtp-probe: bus: 2, device: 11
was not an MTP device
Oct  5 21:21:06 phantom-Latitude-E6410 systemd[1]: Reached target
Printer.
Oct  5 21:21:07 phantom-Latitude-E6410 systemd[1]: Starting Automatic
USB/Bluetooth printer setup
(-devices-pci0000:00-0000:00:1d.0-usb2-2\x2d1-2\x2d1.2)...
Oct  5 21:21:07 phantom-Latitude-E6410 udev-configure-printer[3402]:
add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2
Oct  5 21:21:07 phantom-Latitude-E6410 udev-configure-printer[3402]:
device devpath is /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2
Oct  5 21:21:07 phantom-Latitude-E6410 udev-configure-printer[3402]:
MFG:Canon MDL:LBP6200 SERN:- serial:0000A1C4O8SI
Oct  5 21:21:07 phantom-Latitude-E6410 colord-sane: [bjnp]
create_broadcast_socket: ERROR - bind socket to local address failed -
Cannot assign requested address
Oct  5 21:21:12 phantom-Latitude-E6410 kernel: [  625.183617] usblp2:
removed
Oct  5 21:21:12 phantom-Latitude-E6410 kernel: [  625.190449] usblp
2-1.2:1.0: usblp2: USB Bidirectional printer dev 11 if 0 alt 0 proto 2
vid 0x04A9 pid 0x271B
Oct  5 21:21:12 phantom-Latitude-E6410 udev-configure-printer[3402]:
URI contains USB serial number
Oct  5 21:21:12 phantom-Latitude-E6410 udev-configure-printer[3402]:
URI match: usb://Canon/LBP6200?serial=0000A1C4O8SI
Oct  5 21:21:12 phantom-Latitude-E6410 udev-configure-printer[3402]:
URI of detected printer: usb://Canon/LBP6200?serial=0000A1C4O8SI,
normalized: canon lbp6200 serial 0000a1c4o8si
Oct  5 21:21:12 phantom-Latitude-E6410 udev-configure-printer[3402]:
URI of print queue: usb://Canon/LBP6200?serial=0000A1C4O8SI,
normalized: canon  lbp6200 serial 0000a1c4o8si
Oct  5 21:21:12 phantom-Latitude-E6410 udev-configure-printer[3402]:
Queue ipp://localhost/printers/Canon-LBP6200 has matching device URI
Oct  5 21:21:12 phantom-Latitude-E6410 udev-configure-printer[3402]:
URI of print queue: cnusb:/dev/usb/lp2, normalized: cnusb dev usb lp2
Oct  5 21:21:12 phantom-Latitude-E6410 systemd[1]: Started Automatic
USB/Bluetooth printer setup
(-devices-pci0000:00-0000:00:1d.0-usb2-2\x2d1-2\x2d1.2).

我相信错误就在这里某个地方,但我无法找到它。

相关内容