打印机Brother DCP 1610W无法在Xubuntu 16.04下运行

我正试图用Xubuntu 16.04在我的桌面上打印一些东西但是我没有成功。 奇怪的是它在我的笔记本电脑上完美运行(具有相同版本的操作系统,相同的驱动程序等)。

这是输出

tail -f /var/log/syslog 

插入打印机之前和之后:

 Aug 19 11:50:26 mypc kernel: [ 124.382330] usblp 3-10.3:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04F9 pid 0x035B Aug 19 11:50:50 mypc org.freedesktop.PackageKit[3064]: DEBUG:Checking for inactivity (30s) Aug 19 11:51:20 mypc org.freedesktop.PackageKit[3064]: DEBUG:Checking for inactivity (60s) Aug 19 11:51:36 mypc kernel: [ 193.883546] usb 3-10.3: USB disconnect, device number 5 Aug 19 11:51:36 mypc kernel: [ 193.883747] usblp1: removed Aug 19 11:51:36 mypc udev-configure-printer[5268]: remove /devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10.3 Aug 19 11:51:36 mypc udev-configure-printer[5268]: URI of detected printer: usb://Brother/DCP-1610W%20series?serial=E74230B5N526398, normalized: brother dcp 1610w series serial e74230b5n526398 Aug 19 11:51:36 mypc udev-configure-printer[5268]: URI of print queue: usb://Brother/DCP-1610W%20series?serial=E74230B5N526398, normalized: brother dcp 1610w series serial e74230b5n526398 Aug 19 11:51:36 mypc udev-configure-printer[5268]: Queue ipp://localhost/printers/Brother-DCP-1610W-series has matching device URI Aug 19 11:51:36 mypc udev-configure-printer[5268]: Disabled printer ipp://localhost/printers/Brother-DCP-1610W-series as the corresponding device was unplugged or turned off Aug 19 11:51:40 mypc colord-sane: io/hpmud/pp.c 627: unable to read device-id ret=-1 Aug 19 11:51:43 mypc kernel: [ 200.962335] usb 3-10.3: new high-speed USB device number 6 using xhci_hcd Aug 19 11:51:43 mypc kernel: [ 201.051201] usb 3-10.3: New USB device found, idVendor=04f9, idProduct=035b Aug 19 11:51:43 mypc kernel: [ 201.051204] usb 3-10.3: New USB device strings: Mfr=0, Product=0, SerialNumber=3 Aug 19 11:51:43 mypc kernel: [ 201.051205] usb 3-10.3: SerialNumber: E74230B5N526398 Aug 19 11:51:43 mypc kernel: [ 201.053024] usblp 3-10.3:1.0: usblp1: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x04F9 pid 0x035B Aug 19 11:51:43 mypc systemd[1]: Starting Automatic USB/Bluetooth printer setup (-devices-pci0000:00-0000:00:14.0-usb3-3\x2d10-3\x2d10.3)... Aug 19 11:51:43 mypc udev-configure-printer[5285]: add /devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10.3 Aug 19 11:51:43 mypc udev-configure-printer[5285]: device devpath is /devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10.3 Aug 19 11:51:43 mypc udev-configure-printer[5285]: MFG:Brother MDL:DCP-1610W series SERN:- serial:E74230B5N526398 Aug 19 11:51:43 mypc kernel: [ 201.078847] audit_printk_skb: 63 callbacks suppressed Aug 19 11:51:43 mypc kernel: [ 201.078850] audit: type=1400 audit(1471603903.429:118): apparmor="DENIED" operation="open" profile="/usr/sbin/ippusbxd" name="/etc/ld.so.preload" pid=5299 comm="ippusbxd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 Aug 19 11:51:47 mypc colord-sane: io/hpmud/pp.c 627: unable to read device-id ret=-1 Aug 19 11:51:48 mypc kernel: [ 206.136838] audit: type=1400 audit(1471603908.485:119): apparmor="DENIED" operation="open" profile="/usr/sbin/cupsd" name="/etc/ld.so.preload" pid=5309 comm="cups-exec" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 Aug 19 11:51:48 mypc kernel: [ 206.137116] audit: type=1400 audit(1471603908.485:120): apparmor="DENIED" operation="open" profile="/usr/sbin/cupsd" name="/etc/ld.so.preload" pid=5309 comm="cups-deviced" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 Aug 19 11:51:48 mypc kernel: [ 206.140017] audit: type=1400 audit(1471603908.489:121): apparmor="DENIED" operation="open" profile="/usr/sbin/cupsd" name="/etc/ld.so.preload" pid=5311 comm="ipp" requested_mask="r" denied_mask="r" fsuid=7 ouid=0 Aug 19 11:51:48 mypc kernel: [ 206.145184] audit: type=1400 audit(1471603908.493:122): apparmor="DENIED" operation="open" profile="/usr/sbin/cupsd" name="/etc/ld.so.preload" pid=5314 comm="serial" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 Aug 19 11:51:48 mypc kernel: [ 206.148449] audit: type=1400 audit(1471603908.497:123): apparmor="DENIED" operation="open" profile="/usr/sbin/cupsd" name="/etc/ld.so.preload" pid=5316 comm="ipps" requested_mask="r" denied_mask="r" fsuid=7 ouid=0 Aug 19 11:51:48 mypc kernel: [ 206.150067] audit: type=1400 audit(1471603908.497:124): apparmor="DENIED" operation="open" profile="/usr/sbin/cupsd" name="/etc/ld.so.preload" pid=5320 comm="usb" requested_mask="r" denied_mask="r" fsuid=0 ouid=0 Aug 19 11:51:48 mypc kernel: [ 206.156124] usblp1: removed Aug 19 11:51:48 mypc kernel: [ 206.163011] usblp 3-10.3:1.0: usblp1: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x04F9 pid 0x035B Aug 19 11:51:48 mypc hp[5313]: io/hpmud/pp.c 627: unable to read device-id ret=-1 Aug 19 11:51:48 mypc python3: io/hpmud/pp.c 627: unable to read device-id ret=-1 Aug 19 11:51:48 mypc udev-configure-printer[5285]: URI contains USB serial number Aug 19 11:51:48 mypc udev-configure-printer[5285]: URI match: usb://Brother/DCP-1610W%20series?serial=E74230B5N526398 Aug 19 11:51:48 mypc udev-configure-printer[5285]: URI of detected printer: usb://Brother/DCP-1610W%20series?serial=E74230B5N526398, normalized: brother dcp 1610w series serial e74230b5n526398 Aug 19 11:51:48 mypc udev-configure-printer[5285]: URI of print queue: usb://Brother/DCP-1610W%20series?serial=E74230B5N526398, normalized: brother dcp 1610w series serial e74230b5n526398 Aug 19 11:51:48 mypc udev-configure-printer[5285]: Queue ipp://localhost/printers/Brother-DCP-1610W-series has matching device URI Aug 19 11:51:48 mypc udev-configure-printer[5285]: Re-enabled printer ipp://localhost/printers/Brother-DCP-1610W-series Aug 19 11:51:48 mypc systemd[1]: Started Automatic USB/Bluetooth printer setup (-devices-pci0000:00-0000:00:14.0-usb3-3\x2d10-3\x2d10.3). Aug 19 11:51:50 mypc org.freedesktop.PackageKit[3064]: DEBUG:Checking for inactivity (90s) 

我的打印机是Brother-DCP 1610w。 我可以完美地扫描它,它只是打印不起作用。 在“打印机”下,我看到打印机上有绿色复选标记,但在要求打印之后,没有任何反应。 如果我去“打印机”,我看到工作“完成”。

知道可能会发生什么,我应该去解决这个问题吗? 我显然已经重新启动了计算机和打印机。 我也已经安装了这些驱动程序: 下载 – DCP-1610W | support.brother.com

编辑:打印机关闭时执行sudo cat /etc/cups/printers.conf给出了以下内容:

 # Printer configuration file for CUPS v2.1.3 # Written by cupsd # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING  UUID urn:uuid:3f49b902-e331-31f5-558a-cf8be931977d Info Brother DCP-1610W series Location mypc MakeModel Brother DCP-1610W for CUPS DeviceURI usb://Brother/DCP-1610W%20series?serial=E74230B5N526398 State Stopped StateMessage Unplugged or turned off StateTime 1471611395 ConfigTime 1471603824 Reason paused Type 8392708 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy retry-job   UUID urn:uuid:b62f3751-a91c-39b0-59ee-2fb82efd5755 Info DCP1610W MakeModel Brother DCP-1610W for CUPS DeviceURI usb://Brother/DCP-1610W%20series?serial=E74230B5N526398 State Stopped StateMessage Unplugged or turned off StateTime 1471611395 ConfigTime 1471606686 Reason paused Type 8392708 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy retry-job  

打开打印机,我得到:

 # Printer configuration file for CUPS v2.1.3 # Written by cupsd # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING  UUID urn:uuid:3f49b902-e331-31f5-558a-cf8be931977d Info Brother DCP-1610W series Location mypc MakeModel Brother DCP-1610W for CUPS DeviceURI usb://Brother/DCP-1610W%20series?serial=E74230B5N526398 State Idle StateTime 1471702911 ConfigTime 1471603824 Type 8392708 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy retry-job   UUID urn:uuid:b62f3751-a91c-39b0-59ee-2fb82efd5755 Info DCP1610W MakeModel Brother DCP-1610W for CUPS DeviceURI usb://Brother/DCP-1610W%20series?serial=E74230B5N526398 State Idle StateTime 1471702911 ConfigTime 1471606686 Type 8392708 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy retry-job  

您的1610打印机在/etc/cups/printers.conf列出两次,每次都有不同的UUID。

在我的配置文件中,Brother打印机仅列出一次:

 # Printer configuration file for CUPS v2.1.3 # Written by cupsd # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING  UUID urn:uuidzf3a944e2-df3b-3462-73f0-bf2d45b99cdf Info DCP7065DN MakeModel Brother DCP7065DN for CUPS DeviceURI usb://Brother/DCP-7065DN?serial=U62712M1N423077 State Idle StateTime 1472268209 ConfigTime 1470519913 Type 8392724 Accepting Ves Shared Ves JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy retry-job  

我会删除从开始的第二台到文件的最后一行

在编辑/etc/cups/printers.conf之前,您需要使用以下命令停止cupsd服务:

 sudo systemctl stop cups 

然后进行编辑。 保存配置文件后,重启cupsd服务:

 sudo systemctl start cups 

一个警告我运行Ubuntu 16.04而不是Xubuntu 16.04。

我相信你已经发现,CUPS是一个非常挑剔的程序。

看起来您的打印机已经两次添加到CUPS打印机注册表,这可能会导致此挂起。

幸运的是,您可以从GUI中解决这个问题:

  1. 从计算机上的“设置”程序进入“打印机设置”菜单。
  2. 拔掉故障的打印机。
  3. 从设置菜单中删除故障的打印机。
  4. 关闭并重新打开设置菜单,确保它确实消失了。 如果没有,请再次将其删除。
  5. 重新插入打印机,系统应自动检测它。 不要手动添加打印机。

务必重新启动可能需要打印机的任何程序,以便它们可以刷新并获得更新(和正确)的打印机列表。


或者,您可以从CUPS 控制网页 *中删除打印机。 从那里,导航到“打印机”选项卡,然后删除受影响的打印机和任何类似的条目。

此外,当您在此面板中时,您应该查看“ 作业”选项卡,并确保在(重新)连接打印机后不会执行打印作业的回流。

在确定一切准备就绪后,重新插入打印机并拍摄测试文档。 它应该在几秒钟后打印。

*此链接将带您到当地的CUPS管理面板,出现在localhost:631 它只是为了您的方便。