<SOLVED> Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Forum rules
Before you post please read this
InfoLibre
Level 1
Level 1
Posts: 24
Joined: Sat May 05, 2012 12:40 pm
Contact:

<SOLVED> Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Post by InfoLibre »

I upgraded a computer from Linux Mint MATE 19.3 to Linux Mint MATE 20. It prints on an ethernet network Brother-HL-3170CDW.
I installed Linux Mint MATE 20 on another computer in the same network, with the 2 same packages hl3170cdwlpr-1.1.2-1.i386.deb and hl3170cdwcupswrapper-1.1.4-0.i386.deb, to print on the same printer with the same protocol (ipps://192.168.1.2:443). But when I print with this computer, nothing goes out of the printer, even the printer LED stay off. When I look at the print manager, there are two "Print a test page" buttons. Pushing one makes nothing, pressing the other works, a page with only a frame is printed. In /var/spool/cups, I've got 2 new files each time I'm printing :

Code: Select all

-rw-r-----  1 root     lp           234 16 juil. 14:08 d00030-001
-rw-r-----  1 root     lp            27 16 juil. 14:06 d00029-001
-rw-r-----  1 root     lp            32 16 juil. 14:05 d00028-001
-rw-r-----  1 root     lp            27 16 juil. 13:59 d00027-001
-rw-r-----  1 root     lp            27 16 juil. 13:59 d00026-001
-rw-r-----  1 root     lp         45830 16 juil. 13:27 d00025-001
-rw-------  1 root     lp           970 16 juil. 14:08 c00030
-rw-------  1 root     lp           964 16 juil. 14:06 c00029
-rw-------  1 root     lp          1006 16 juil. 14:05 c00028
-rw-------  1 root     lp           964 16 juil. 14:00 c00027
-rw-------  1 root     lp           964 16 juil. 13:59 c00026
-rw-------  1 root     lp          1395 16 juil. 13:53 c00025
In /var/log/cups/access_log/ :

Code: Select all

localhost - - [16/Jul/2020:13:20:41 +0200] "POST /printers/Brother-HL-3170CDW HTTP/1.1" 200 46523 Print-Job successful-ok
localhost - - [16/Jul/2020:13:25:33 +0200] "POST /printers/Brother-HL-3170CDW HTTP/1.1" 200 94388 Print-Job successful-ok
localhost - - [16/Jul/2020:13:27:20 +0200] "POST /printers/Brother-HL-3170CDW HTTP/1.1" 200 46523 Print-Job successful-ok
localhost - - [16/Jul/2020:13:59:20 +0200] "POST /printers/Brother-HL-3170CDW HTTP/1.1" 200 262 Print-Job successful-ok
localhost - - [16/Jul/2020:13:59:53 +0200] "POST /printers/Brother-HL-3170CDW HTTP/1.1" 200 262 Print-Job successful-ok
localhost - - [16/Jul/2020:14:05:30 +0200] "POST /printers/Brother-HL-3170CDW HTTP/1.1" 200 267 Print-Job successful-ok
localhost - - [16/Jul/2020:14:06:24 +0200] "POST /printers/Brother-HL-3170CDW HTTP/1.1" 200 262 Print-Job successful-ok
localhost - - [16/Jul/2020:14:08:03 +0200] "POST /printers/Brother-HL-3170CDW HTTP/1.1" 200 420 Print-Job successful-ok

In /var/log/auth.log :

Code: Select all

    Jul 17 11:20:35 Ordinateur-David dbus-daemon[895]: [system] Rejected send message, 0 matched rules; type="method_return", sender=":1.4" (uid=119 pid=892 comm="avahi-daemon: starting up " label="unconfined") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.194" (uid=1000 pid=12700 comm="xed " label="unconfined")
A similar message is on https://bugzilla.redhat.com/show_bug.cgi?id=1540180

Firewall is deactivated.

Code: Select all

$ lpstat -t -v
    scheduler is running
    system default destination: Brother-HL-3170CDW
    matériel pour Brother-HL-3170CDW : ipps://192.168.1.2:443
    matériel pour PDF : cups-pdf:/
    Brother-HL-3170CDW accepte des requêtes depuis ven. 17 juil. 2020 11:56:21
    PDF accepte des requêtes depuis ven. 10 juil. 2020 22:08:15
    printer Brother-HL-3170CDW is idle. enabled since ven. 17 juil. 2020 11:56:21
    printer PDF is idle. enabled since ven. 10 juil. 2020 22:08:15
    matériel pour Brother-HL-3170CDW : ipps://192.168.1.2:443
    matériel pour PDF : cups-pdf:/
$ ls /etc/cups/ppd

Code: Select all

    Brother-HL-3170CDW.ppd PDF.ppd PDF.ppd.O

Code: Select all

$ inxi -Fxxxrz
System:    Kernel: 5.4.0-42-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: MATE 1.24.0 info: mate-panel 
           wm: marco 1.24.0 dm: LightDM 1.30.0 Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:   Type: Desktop System: Hewlett-Packard product: HP Z420 Workstation v: N/A serial: <filter> Chassis: 
           type: 6 serial: <filter> 
           Mobo: Hewlett-Packard model: 1589 v: 0.00 serial: <filter> UEFI [Legacy]: Hewlett-Packard 
           v: J61 v03.96 date: 10/29/2019 
CPU:       Topology: Quad Core model: Intel Xeon E5-1620 0 bits: 64 type: MCP arch: Sandy Bridge rev: 7 
           L2 cache: 10.0 MiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 28730 
           Speed: 3692 MHz min/max: 1200/3800 MHz Core speeds (MHz): 1: 3692 2: 3691 3: 3786 4: 3747 
Graphics:  Device-1: NVIDIA GK107GL [Quadro K2000] vendor: Hewlett-Packard driver: nouveau v: kernel 
           bus ID: 05:00.0 chip ID: 10de:0ffe 
           Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa compositor: marco 
           v: 1.24.0 tty: N/A 
           OpenGL: renderer: NVE7 v: 4.3 Mesa 20.0.8 direct render: Yes 
Audio:     Device-1: Intel C600/X79 series High Definition Audio vendor: Hewlett-Packard driver: snd_hda_intel 
           v: kernel bus ID: 00:1b.0 chip ID: 8086:1d20 
           Device-2: NVIDIA GK107 HDMI Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
           bus ID: 05:00.1 chip ID: 10de:0e1b 
           Device-3: Philips s SAA7130 Video Broadcast Decoder vendor: Avermedia AVerMedia DVD EZMaker 
           driver: saa7134 v: 0, 2, 17 bus ID: 09:04.0 chip ID: 1131:7130 
           Sound Server: ALSA v: k5.4.0-42-generic 
Network:   Device-1: Intel 82579LM Gigabit Network vendor: Hewlett-Packard driver: e1000e v: 3.2.6-k port: e040 
           bus ID: 00:19.0 chip ID: 8086:1502 
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 931.51 GiB used: 268.68 GiB (28.8%) 
           ID-1: /dev/sda vendor: Toshiba model: DT01ACA100 size: 931.51 GiB speed: 6.0 Gb/s rotation: 7200 rpm 
           serial: <filter> rev: A750 scheme: MBR 
Partition: ID-1: / size: 91.46 GiB used: 9.14 GiB (10.0%) fs: ext4 dev: /dev/sda2 
           ID-2: /home size: 730.66 GiB used: 259.55 GiB (35.5%) fs: ext4 dev: /dev/sda4 
           ID-3: swap-1 size: 15.64 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 50.0 C mobo: N/A gpu: nouveau temp: 49 C 
           Fan Speeds (RPM): N/A gpu: nouveau fan: 2430 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list 
           1: deb http://liveusb.info/multisystem/depot all main
           No active apt repos in: /etc/apt/sources.list.d/balena-etcher.list 
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http://mirror.netcologne.de/linuxmint/packages ulyana main upstream import backport
           2: deb http://mirror.23media.com/ubuntu focal main restricted universe multiverse
           3: deb http://mirror.23media.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http://mirror.23media.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http://archive.canonical.com/ubuntu/ focal partner
Info:      Processes: 242 Uptime: 1d 5h 30m Memory: 23.42 GiB used: 3.96 GiB (16.9%) Init: systemd v: 245 
           runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash v: 5.0.17 running in: mate-terminal inxi: 3.0.38 
If somebody has an idea to help me find what's wrong...
Last edited by InfoLibre on Sun Jul 26, 2020 6:32 am, edited 1 time in total.

brian_p
Level 6
Level 6
Posts: 1231
Joined: Thu Jan 17, 2019 9:20 am

Re: Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Post by brian_p »

I installed Linux Mint MATE 20 on another computer in the same network, with the 2 same packages hl3170cdwlpr-1.1.2-1.i386.deb and hl3170cdwcupswrapper-1.1.4-0.i386.deb, to print on the same printer with the same protocol (ipps://192.168.1.2:443).
What device has the IP address 192.168.1.2?

I am not familiar with the port used. Is there a reason for 443?
--
Brian.

InfoLibre
Level 1
Level 1
Posts: 24
Joined: Sat May 05, 2012 12:40 pm
Contact:

Re: Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Post by InfoLibre »

192.168.1.2 is the printer IP.
443 is port for ipps printing protocol.

brian_p
Level 6
Level 6
Posts: 1231
Joined: Thu Jan 17, 2019 9:20 am

Re: Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Post by brian_p »

InfoLibre wrote:
Wed Jul 22, 2020 1:08 pm
192.168.1.2 is the printer IP.
Ok.
443 is port for ipps printing protocol.
The printing system does not use port 443. One of the ports it uses is 631. Do not be mislead by the s in ipps. It does not mean what you probably think it means. In fact, ipps is a link to ipp.

Let's have the output of

Code: Select all

lpinfo -v
--
Brian.

InfoLibre
Level 1
Level 1
Posts: 24
Joined: Sat May 05, 2012 12:40 pm
Contact:

Re: Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Post by InfoLibre »

# lpinfo -v
network beh
direct hp
file cups-brf:/
network http
network https
network socket
network ipp
network lpd
network ipps
file cups-pdf:/
network smb
direct hpfax

I tried with other protocols (socket://192.168.1.2:9100 or ipp://192.168.1.2:631), the problem is the same. But with ipps://192.168.1.2:443 on the other computer, it works.

brian_p
Level 6
Level 6
Posts: 1231
Joined: Thu Jan 17, 2019 9:20 am

Re: Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Post by brian_p »

InfoLibre wrote:
Wed Jul 22, 2020 1:40 pm
# lpinfo -v
network beh
direct hp
file cups-brf:/
network http
network https
network socket
network ipp
network lpd
network ipps
file cups-pdf:/
network smb
direct hpfax
If this is from the second computer, it does not see any printers or print queues. Nothing can be set up from it. There are no URIs to use.
--
Brian.


InfoLibre
Level 1
Level 1
Posts: 24
Joined: Sat May 05, 2012 12:40 pm
Contact:

Re: Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Post by InfoLibre »

I've got the same think on the computer that can print, excepted for serial :

Code: Select all

$ lpinfo -v
network https
network beh
file cups-brf:/
direct hp
file cups-pdf:/
network http
network lpd
serial serial:/dev/ttyS4?baud=115200
network socket
network ipp
network ipps
network smb
direct hpfax
(and it's strange, this computer doesn't have a serial connector)

brian_p
Level 6
Level 6
Posts: 1231
Joined: Thu Jan 17, 2019 9:20 am

Re: Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Post by brian_p »

What do get with

Code: Select all

driverless
and

Code: Select all

ippfind -T 5
from computer A (the first one) and computer B (the second one)?
--
Brian.

InfoLibre
Level 1
Level 1
Posts: 24
Joined: Sat May 05, 2012 12:40 pm
Contact:

Re: Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Post by InfoLibre »

Nothing on the screen for the 2 commands, on the 2 computers.
Last edited by InfoLibre on Thu Jul 23, 2020 1:04 am, edited 1 time in total.

brian_p
Level 6
Level 6
Posts: 1231
Joined: Thu Jan 17, 2019 9:20 am

Re: Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Post by brian_p »

InfoLibre wrote:
Wed Jul 22, 2020 4:26 pm
Nothing for the 2 commands, on the 2 computers.
You have broken systems.
--
Brian.

InfoLibre
Level 1
Level 1
Posts: 24
Joined: Sat May 05, 2012 12:40 pm
Contact:

Re: Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Post by InfoLibre »

I don't think systems are broken. The system I updated works and prints very well. The system that doesn't print is newly installed.

Jedavis1975
Level 2
Level 2
Posts: 56
Joined: Thu Sep 02, 2010 12:02 am
Location: Texas

Re: Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Post by Jedavis1975 »

My Brother requires 32libiaries to be installed for the printer to work. Does yours? I had a headslap moment while looking through Brother's troubleshooting.

Your model number is in the list
https://support.brother.com/g/b/faqend. ... 100678_000

InfoLibre
Level 1
Level 1
Posts: 24
Joined: Sat May 05, 2012 12:40 pm
Contact:

Re: Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Post by InfoLibre »

I installed the ia32-libs metapackage and it works! Thanks thanks thanks. I saw it was a Brother 32 bit driver but didn't think about installing the missing 32 bit libraries.
I am trying to find which 32 bit libraries are really needed. For now, I removed ia32-libs package and only kept these packages :

Code: Select all

gcc-10-base:i386
libavahi-client3:i386
libavahi-common-data:i386
libavahi-common3:i386
libc6:i386
libcom-err2:i386
libcrypt1:i386
libcups2:i386
libcupsimage2:i386
libdbus-1-3:i386
libffi7:i386
libgcc-s1:i386
libgcrypt20:i386
libgmp10:i386
libgnutls30:i386
libgpg-error0:i386
libgssapi-krb5-2:i386
libhogweed5:i386
libidn2-0:i386
libk5crypto3:i386
libkeyutils1:i386
libkrb5-3:i386
libkrb5support0:i386
liblz4-1:i386
liblzma5:i386
libnettle7:i386
libp11-kit0:i386
libssl1.1:i386
libsystemd0:i386
libtasn1-6:i386
libunistring2:i386
zlib1g:i386
Last edited by InfoLibre on Sun Jul 26, 2020 1:16 pm, edited 1 time in total.

JeremyB
Level 20
Level 20
Posts: 11657
Joined: Fri Feb 21, 2014 8:17 am

Re: <SOLVED> Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Post by JeremyB »

Can you contact Brother and give them this info so they can fix their deb file?

InfoLibre
Level 1
Level 1
Posts: 24
Joined: Sat May 05, 2012 12:40 pm
Contact:

Re: <SOLVED> Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Post by InfoLibre »

I tested with a new installation of Linux Mint MATE 20. Adding the package lib32stdc++6 is enough to fix the problem, as explained on https://support.brother.com/g/b/faqend. ... 100678_000
I filled out the Brother form, asking them to update the dependencies in all of their 32 bit drivers, but I doubt they would. They will never publish a driver for each Linux distribution, with specific dependencies and for each printer.

brian_p
Level 6
Level 6
Posts: 1231
Joined: Thu Jan 17, 2019 9:20 am

Re: <SOLVED> Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Post by brian_p »

JeremyB wrote:
Sun Jul 26, 2020 12:06 pm
Can you contact Brother and give them this info so they can fix their deb file?
The Brother HL-3170CDW has an AirPrint facility. It does driverless printing. Using Brother drivers is outdated and completely unnecessary. Any user is strongly advised to give them a miss and use a modern printing technique as provided by Mint.

This thread is a song and a dance.
--
Brian.

InfoLibre
Level 1
Level 1
Posts: 24
Joined: Sat May 05, 2012 12:40 pm
Contact:

Re: <SOLVED> Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Post by InfoLibre »

AirPrint uses Wi-Fi ? I don't want to print by Wi-Fi but by ethernet.

brian_p
Level 6
Level 6
Posts: 1231
Joined: Thu Jan 17, 2019 9:20 am

Re: <SOLVED> Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Post by brian_p »

AirPrint uses Wi-Fi ? I don't want to print by Wi-Fi but by ethernet.
AirPrint printers are obliged to accept URF raster as a printing language. The Mint printing system is able to produce URF raster to send to the printer. Sending may be done over ethernet, Wi-Fi or USB.
--
Brian.

brian_p
Level 6
Level 6
Posts: 1231
Joined: Thu Jan 17, 2019 9:20 am

Re: <SOLVED> Can't print anymore on Brother HL-3170CDW with Linux Mint MATE 20

Post by brian_p »

I should have wrote Apple raster, not URF raster. The MIME type is image/urf.
--
Brian.

Post Reply

Return to “Printers & Scanners”