[cups] Guidance on troubleshooting printing to USB-connected brother laser printer

Banibrata Dutta banibrata.dutta at gmail.com
Mon Sep 28 02:02:36 PDT 2020


Hi,

Looking for some guidance on how to troubleshoot an issue where I am able
to print to a new Brother HL L2321D (L2320 series) laser printer, connected
to the host PC running Ubuntu MATE 20.04 over USB. I have installed the
manufacturer provided drivers. After installation of the driver, I could
print from within LibreOffice a 2 page document, on 2 sheets.

The issues seen are:
1. Printing a 4-page PDF from within Firefox resulted in only 1st page
being printed. There was no paper jam but remaining 3 pages weren't printed.
2. Printing of a webpage that fit into 1 page (from Firefox) also printed
fine.
3. Printing the same 4-page PDF (from step-1) opened in Evince Viewer (PDF
viewer on Ubuntu MATE) when printed printed first 2 pages, back-2-back
(i.e. 2 sided, thanks to this printer's auto-duplexer, since I had selected
that option), but remaining 2 pages not printed.
4. Printing the same 4-page PDF again (step-1) but now trying by selecting
page 3,4, didn't print. This PDF was from scanned images, so different
pages had different dimensions, so I thought that this could be an issue,
so ...
5. Downloaded a 5 page PDF of an A4 size cheatsheet, probably generated
using some typesetting software and tried to print it... no printout came.
In fact, the moment the print is fired, I can see the "Ready LED" on
printer flashing, indicating control/data flow, but unlike in cases where
some print happens, the drum/roller do not spinup, and eventually (say
after 20 seconds) the LED flashing stops, and it goes to steady (as if
waiting for command).
6. Tried printing something from within LibreOffice, but again no print.

Note that each time I fire print, the c* and d* files are added to the
spool directory and not cleared. When I check the job status using the
online dashboard (http://localhost:631/jobs/) for the printer, I see that
all jobs are marked as completed (none marked as failed).

Towards the end of the mail are some captured information from this system
based on Ubuntu printing troubleshooting instructions. Any help / guidance
on how to troubleshoot this erratic print behaviour would be highly
appreciated.

regards,
BD

---

falkawn at nest001:~/Downloads$ lsmod | grep usb
usb_storage            65536  2 uas
usblp                  20480  0
snd_usb_audio         270336  3
snd_usbmidi_lib        32768  1 snd_usb_audio
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
snd_pcm               131072  12
snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
mc                     45056  4
videodev,snd_usb_audio,videobuf2_v4l2,videobuf2_common
snd_rawmidi            32768  2 snd_seq_midi,snd_usbmidi_lib
snd                    86016  19
snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_seq_oss,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
usbhid                 53248  0
hid                   139264  2 usbhid,hid_generic
scsi_mod              233472  5 sd_mod,usb_storage,uas,libata,sg


falkawn at nest001:~/Downloads$ tail -f /var/log/syslog
Sep 28 14:00:54 nest001 org.mate.panel.applet.BriskMenuFactory[24618]:
/usr/share/system-config-printer/system-config-printer.py:976:
DeprecationWarning: urllib.parse.splittype() is deprecated as of 3.8, use
urllib.parse.urlparse() instead
Sep 28 14:00:54 nest001 org.mate.panel.applet.BriskMenuFactory[24618]:
(scheme, rest) = urllib.parse.splittype (object.device_uri)
Sep 28 14:00:54 nest001 org.mate.panel.applet.BriskMenuFactory[24618]:
/usr/share/system-config-printer/system-config-printer.py:2236:
DeprecationWarning: Gdk.threads_enter is deprecated
Sep 28 14:00:54 nest001 org.mate.panel.applet.BriskMenuFactory[24618]:
Gdk.threads_enter ()
Sep 28 14:00:54 nest001 org.mate.panel.applet.BriskMenuFactory[24618]:
/usr/share/system-config-printer/system-config-printer.py:2187:
DeprecationWarning: Gdk.threads_leave is deprecated
Sep 28 14:00:54 nest001 org.mate.panel.applet.BriskMenuFactory[24618]:
Gdk.threads_leave ()
Sep 28 14:00:54 nest001 org.mate.panel.applet.BriskMenuFactory[24618]:
/usr/share/system-config-printer/system-config-printer.py:701:
DeprecationWarning: Gtk.Menu.popup_for_device is deprecated
Sep 28 14:00:54 nest001 org.mate.panel.applet.BriskMenuFactory[24618]:
self.printer_context_menu.popup_for_device (None, None, None, None,
Sep 28 14:01:35 nest001 kernel: usblp0: removed
Sep 28 14:01:35 nest001 kernel: usblp 1-8:1.0: usblp0: USB Bidirectional
printer dev 9 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0062


falkawn at nest001:~/Downloads$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 0e8f:0016 GreenAsia Inc. 4 port USB 1.1 hub UH-174
Bus 001 Device 006: ID 0cf3:9271 Qualcomm Atheros Communications AR9271
802.11n
Bus 001 Device 005: ID 0e8f:0016 GreenAsia Inc. 4 port USB 1.1 hub UH-174
Bus 001 Device 009: ID 04f9:0062 Brother Industries, Ltd HL-L2320D series
Bus 001 Device 004: ID 03f0:0024 HP, Inc KU-0316 Keyboard
Bus 001 Device 017: ID 0951:1666 Kingston Technology DataTraveler 100
G3/G4/SE9 G2
Bus 001 Device 003: ID 0733:0430 ViewQuest Technologies, Inc. Intel Pro
Share Webcam
Bus 001 Device 002: ID 08bb:2902 Texas Instruments PCM2902 Audio Codec
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


falkawn at nest001:~/Downloads$ ls -l /dev/usb/lp* /dev/bus/usb/*/*
crw-rw-r--  1 root root 189,   0 Sep 27 19:47 /dev/bus/usb/001/001
crw-rw-r--  1 root root 189,   1 Sep 27 19:47 /dev/bus/usb/001/002
crw-rw-r--  1 root root 189,   2 Sep 27 19:47 /dev/bus/usb/001/003
crw-rw-r--  1 root root 189,   3 Sep 27 19:47 /dev/bus/usb/001/004
crw-rw-r--  1 root root 189,   4 Sep 27 19:47 /dev/bus/usb/001/005
crw-rw-r--  1 root root 189,   5 Sep 27 19:47 /dev/bus/usb/001/006
crw-rw-r--  1 root root 189,   6 Sep 27 19:47 /dev/bus/usb/001/007
crw-rw-r--+ 1 root lp   189,   8 Sep 28 14:01 /dev/bus/usb/001/009
crw-rw-r--  1 root root 189,  16 Sep 28 13:37 /dev/bus/usb/001/017
crw-rw-r--  1 root root 189, 128 Sep 27 19:47 /dev/bus/usb/002/001
crw-rw----  1 root lp   180,   0 Sep 28 14:01 /dev/usb/lp0


falkawn at nest001:~/Downloads$ sudo usb_printerid /dev/usb/lp0
[sudo] password for falkawn:
GET_DEVICE_ID string:
MFG:Brother;CMD:PJL,HBP;MDL:HL-L2320D series;CLS:PRINTER;CID:Brother Laser
Type1;


falkawn at nest001:~/Downloads$ lpinfo -v
network ipp
network https
file cups-brf:/
network socket
serial serial:/dev/ttyS0?baud=115200
serial serial:/dev/ttyS1?baud=115200
network ipps
network http
network beh
direct hp
network lpd
direct usb://Brother/HL-L2320D%20series?serial=E73793F0N202895
network smb
direct hpfax


More information about the cups mailing list