Your problem is not a CUPS bug but a problem with the proprietary driver
from Brother. See these lines in error_log:

D [28/Sep/2016:16:08:11 +0100] [Job 50] 
/usr/lib/cups/filter/brother_lpdwrapper_DCP1610W: 103: 
/usr/lib/cups/filter/brother_lpdwrapper_DCP1610W: 
/opt/brother/Printers/DCP1610W//cupswrapper/brcupsconfig4: not found
D [28/Sep/2016:16:08:11 +0100] [Job 50] 
//opt/brother/Printers/DCP1610W//lpd/filter_DCP1610W: 60: 
//opt/brother/Printers/DCP1610W//lpd/filter_DCP1610W: 
/opt/brother/Printers/DCP1610W/lpd/rawtobr3: not found
D [28/Sep/2016:16:08:11 +0100] [Job 50] PID 9245 
(/usr/lib/cups/filter/brother_lpdwrapper_DCP1610W) exited with no errors.

First there is the
"/opt/brother/Printers/DCP1610W//cupswrapper/brcupsconfig4: not found".
Are you sure you installed both parts of Brother's driver? The LPD
driver and the CUPS wrapper? If not, install the missing package. If you
have everything correctly installed as described by Brother, this is a
bug in Brother's driver packages.

Another bug is that the filter
/usr/lib/cups/filter/brother_lpdwrapper_DCP1610W exits with a zero exit
status after having failed. This tell CUPS that the job succeeded and so
CUPS removes the job from the queue assuming that it got correctly
printed.

** Changed in: cups (Ubuntu)
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1620038

Title:
  Printing job is "completed" but nothing gets printed

Status in cups package in Ubuntu:
  Invalid

Bug description:
  OS: Xubuntu 16.04.1
  Printer Device: Brother DCP1610W

  My printer is not working on my desktop. I've installed both drivers
  under "printer" in the following link:
  
http://support.brother.com/g/b/downloadlist.aspx?c=as_ot&lang=en&prod=dcp1610w_eu_as&os=128

  The scanner works perfectly fine. I should mention that I've it
  working on my laptop with exactly the same drivers and OS. After
  clicking on "Print", the job status is "completed" but nothing gets
  printed. I can't print test pages.

  Any idea what might be happening and I should I go about fixing this?

  Here are the outputs of [CODE]tail -f /var/log/syslog [/CODE] before
  and after plugging my printer:

  [CODE]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)
  ^C[/CODE]

  --------------------------------

  
  Doing `sudo cat /etc/cups/printers.conf` while the printer is turned OFF 
gives me the following:

  [CODE]# Printer configuration file for CUPS v2.1.3
      # Written by cupsd
      # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
      <DefaultPrinter Brother-DCP-1610W-series>
      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
      </DefaultPrinter>
      <Printer DCP1610W>
      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>[/CODE]

  With the printer ON, I get:

  [CODE]# Printer configuration file for CUPS v2.1.3
      # Written by cupsd
      # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
      <DefaultPrinter Brother-DCP-1610W-series>
      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
      </DefaultPrinter>
      <Printer DCP1610W>
      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
      </Printer>[/CODE]

  I've also tried to print via wireless, but the same thing happens, job
  status is "completed" but nothing gets printed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1620038/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to