Anyone successfully got a brother printer working?

Hello.

I bought a brother MFC-T810W and have the same problem as dodgypast.

I found ‘brother_mfct810w_printer_en.ppd’.
I found ‘cupswrappermfct810w’ and renamed it to ‘brother_lpdwrapper_mfct810w’ as suggested by dodgypast.

Here is where my problems start: in / usr / lib / cups / filter I already have a “brother_lpdwrapper_mfct810w” but the content is different. I renamed this file and copied the new one.
In cups, I specified the ppd file and made a first print. My printer told me “receiving data” but did not print anything.

I have no more idea. Can anyone help me ?
thanks in advance

https://wiki.archlinux.org/title/Packaging_Brother_printer_drivers

This answer does not really help me because I am not able to create a pkgbuild …

I now run the script from here for mine:
https://support.brother.com/g/b/downloadhowto.aspx?c=th&lang=en&prod=mfct810w_us_as_cn&os=127&dlid=dlf006893_000&flang=4&type3=625

It works fine, you need to set the driver up with:
ipp:///ipp/print

e.g. I use:
ipp://192.168.1.135/ipp/print

As shown in the script, I loaded the installer then executed the commands and followed the installation guidelines.

I then added the printer in cups by indicating the path to the .ppd file which was created during the installation.

I printed a page from the PC and in cups, at the task level I see the requested print with a status = finished. But on the printer nothing happens.

After I copied brother_‘lpdwrapper_mfct810w’ and ‘cupswrappermfct810w’ to /usr/lib/cups/filter. But no improvement.

As a last attempt in /usr/lib/cups/filter, i deleted ‘brother_lpdwrapper_mfct810w’ then renamed ‘cupswrappermfct810w’ to ‘brother_lpdwrapper_mfct810w’.
And this time when printing I could see “receiving data” on the screen of the printer but still no printing of the page.

I specify that I connected the printer to the PC by USB and I checked as indicated in the wiki and that it was OK.

I think that wifi/network printers should not need any drivers to be installed on clientside.

I do enable local DNS resolution and use driverless IPP option to use my brother printer.

like so:
sudo nano /etc/nsswitch.conf
and change the hosts line to include mdns_minimal [NOTFOUND=return] before resolve

the host line should look like this:
hosts: files mymachines myhostname mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns
(no line breaks)
restart services:
sudo systemctl restart avahi-daemon NetworkManager
and add it like so with system-config-printer:

Gerät wählen = choose device
Netzwerkdrucker = Networkprinter
Verbindung = Connection

Now on adding printer it should find your printer and show two entries under Networkprinters.
One with showing ipv4 and the other showing IPP address format.
Device URI on the right shows also IPP and Connection show Driverless IPP that is what you should choose.
No Driver tinkering needed.

1 Like

I applied the above but in my case, with system-config-printer I have no printer detected in network printer.

is cups and avahi setup and running?

systemctl status avahi-daemon

Yes, both (avahi-daemon and cups ) are active.

❯ systemctl status avahi-daemon
● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
     Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: disabled)
     Active: active (running) since Wed 2021-11-10 15:03:11 UTC; 1h 16min ago
TriggeredBy: ● avahi-daemon.socket
   Main PID: 506 (avahi-daemon)
     Status: "avahi-daemon 0.8 starting up."
      Tasks: 2 (limit: 19119)
     Memory: 1.8M
        CPU: 66ms
     CGroup: /system.slice/avahi-daemon.service
             ├─506 "avahi-daemon: running [arch-desktop.local]"
             └─512 "avahi-daemon: chroot helper"

nov. 10 16:06:52 arch-desktop avahi-daemon[506]: Registering new address record for 192.168.118.100 on wlp39>
nov. 10 16:06:52 arch-desktop avahi-daemon[506]: Withdrawing address record for 192.168.118.100 on wlp39s0.
nov. 10 16:06:52 arch-desktop avahi-daemon[506]: Leaving mDNS multicast group on interface wlp39s0.IPv4 with>
nov. 10 16:06:52 arch-desktop avahi-daemon[506]: Interface wlp39s0.IPv4 no longer relevant for mDNS.
nov. 10 16:06:54 arch-desktop avahi-daemon[506]: Joining mDNS multicast group on interface wlp39s0.IPv6 with>
nov. 10 16:06:54 arch-desktop avahi-daemon[506]: New relevant interface wlp39s0.IPv6 for mDNS.
nov. 10 16:06:54 arch-desktop avahi-daemon[506]: Registering new address record for fe80::e549:d1bf:1cf3:a29>
nov. 10 16:06:54 arch-desktop avahi-daemon[506]: Joining mDNS multicast group on interface wlp39s0.IPv4 with>
nov. 10 16:06:54 arch-desktop avahi-daemon[506]: New relevant interface wlp39s0.IPv4 for mDNS.
nov. 10 16:06:54 arch-desktop avahi-daemon[506]: Registering new address record for 192.168.100.5 on wlp39s0>
lines 1-23/23 (END)


❯ systemctl status cups
● cups.service - CUPS Scheduler
     Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor preset: disabled)
     Active: active (running) since Wed 2021-11-10 15:03:11 UTC; 1h 14min ago
TriggeredBy: ● cups.path
             ● cups.socket
       Docs: man:cupsd(8)
   Main PID: 530 (cupsd)
     Status: "Scheduler is running..."
      Tasks: 1 (limit: 19119)
     Memory: 35.9M
        CPU: 385ms
     CGroup: /system.slice/cups.service
             └─530 /usr/bin/cupsd -l

nov. 10 15:03:11 arch-desktop systemd[1]: Starting CUPS Scheduler...
nov. 10 15:03:11 arch-desktop systemd[1]: Started CUPS Scheduler.
╭─ ~                                                                                                      ─╮
╰─❯                                                                                                       ─╯


Hello,

I come back with a little more information.

When I run system-config-printer:
On adding printer it found my printer and showed two entries under Networkprinters.
And one is showing IPP address format.
Brother MFC-T810W (Brother%20MFC-T810W_ipp_tcp.local)
Device URI on the right shows also IPP.
ipp://Brother%20MFC-T810W_ipp_tcp.local/
and Connection show:
Driverless IPP
That is what I chose.

On the next dialog box I indicate the printer name, description and location and I press “apply”.

The response was: CUPS server error.

I searched the logs and found the following:

❯ nano /var/log/cups/access_log

localhost - - [12/Nov/2021:10:24:33 +0000] "POST / HTTP/1.1" 200 275 Create-Printer-Subscriptions successful-ok 
localhost - - [12/Nov/2021:10:24:50 +0000] "GET /admin/conf/cupsd.conf HTTP/1.1" 401 0 - - 
localhost - armand [12/Nov/2021:10:24:50 +0000] "GET /admin/conf/cupsd.conf HTTP/1.1" 200 4753 - - 
localhost - armand [12/Nov/2021:10:24:50 +0000] "GET /admin/conf/cupsd.conf HTTP/1.1" 200 4753 - - 
localhost - - [12/Nov/2021:10:24:57 +0000] "POST / HTTP/1.1" 401 147 CUPS-Get-Devices successful-ok 
localhost - armand [12/Nov/2021:10:24:57 +0000] "POST / HTTP/1.1" 200 1943 CUPS-Get-Devices - 
localhost - armand [12/Nov/2021:10:24:57 +0000] "POST / HTTP/1.1" 200 1028 CUPS-Get-Devices - 
localhost - - [12/Nov/2021:10:25:15 +0000] "POST / HTTP/1.1" 200 993266 CUPS-Get-PPDs - 
localhost - - [12/Nov/2021:10:25:17 +0000] "POST / HTTP/1.1" 200 216 CUPS-Get-PPD - 
localhost - - [12/Nov/2021:10:25:42 +0000] "POST /admin/ HTTP/1.1" 401 329 CUPS-Add-Modify-Printer successful-ok 
localhost - armand [12/Nov/2021:10:25:42 +0000] "POST /admin/ HTTP/1.1" 200 329 CUPS-Add-Modify-Printer server-error-internal-error
❯ nano /var/log/cups/error_log       (Extract) 
      ...............................

E [12/Nov/2021:10:25:19 +0000] [CGI] Unable to create PPD file: Could not poll sufficient capability info from the printer (ipp://Brother%20MFC-T810W._ipp._tcp.local/, ipp://BRW30C9AB750E55.local:631/ipp/print) via IPP!

   ............................................

D [12/Nov/2021:10:25:42 +0000] [Client 16] HTTP_STATE_WAITING Closing for error 32 (Broken pipe) 
D [12/Nov/2021:10:25:42 +0000] [Client 16] Closing connection. 
D [12/Nov/2021:10:25:42 +0000] cupsdSetBusyState: newbusy="Not busy", busy="Active clients" 
D [12/Nov/2021:10:25:42 +0000] [Client 17] POST /admin/ HTTP/1.1 
D [12/Nov/2021:10:25:42 +0000] cupsdSetBusyState: newbusy="Active clients", busy="Not busy" 
D [12/Nov/2021:10:25:42 +0000] [Client 17] Read: status=200, state=6 
D [12/Nov/2021:10:25:42 +0000] [Client 17] Authorized as armand using PeerCred. 
D [12/Nov/2021:10:25:42 +0000] [Client 17] 2.0 CUPS-Add-Modify-Printer 15 
D [12/Nov/2021:10:25:42 +0000] CUPS-Add-Modify-Printer ipp://localhost/printers/printer 
D [12/Nov/2021:10:25:42 +0000] cupsdIsAuthorized: username="armand" 
D [12/Nov/2021:10:25:42 +0000] printer device-uri: OK 
I [12/Nov/2021:10:25:42 +0000] Setting printer device-uri to "ipp://Brother%20MFC-T810W._ipp._tcp.local/" (was "file:///dev/null".) 
D [12/Nov/2021:10:25:42 +0000] cupsdMarkDirty(----S) 
D [12/Nov/2021:10:25:42 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients" 
D [12/Nov/2021:10:25:42 +0000] copy_model: Running "cups-driverd cat driverless:ipp://Brother%20MFC-T810W._ipp._tcp.local/"... 
E [12/Nov/2021:10:25:44 +0000] [CGI] Unable to create PPD file: Could not poll sufficient capability info from the printer (ipp://Brother%20MFC-T810W._ipp._tcp.local/, ipp://BRW30C9AB750E55.local:631/ipp/print) via IPP! 
E [12/Nov/2021:10:25:44 +0000] copy_model: empty PPD file 
D [12/Nov/2021:10:25:44 +0000] CUPS-Add-Modify-Printer server-error-internal-error: Unable to copy PPD file. 
D [12/Nov/2021:10:25:44 +0000] cupsdMarkDirty(P----) 
D [12/Nov/2021:10:25:44 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files" 
D [12/Nov/2021:10:25:44 +0000] cupsdDeregisterPrinter(p=0x556250b39d00(printer), removeit=1) 
E [12/Nov/2021:10:25:44 +0000] [Client 17] Returning IPP server-error-internal-error for CUPS-Add-Modify-Printer (ipp://localhost/printers/printer) from localhost. 
D [12/Nov/2021:10:25:44 +0000] [Client 17] Content-Length: 118 
D [12/Nov/2021:10:25:44 +0000] [Client 17] cupsdSendHeader: code=200, type="application/ipp", auth_type=0 
I [12/Nov/2021:10:25:44 +0000] Expiring subscriptions... 
D [12/Nov/2021:10:25:44 +0000] PID 25514 (/usr/lib/cups/daemon/cups-driverd) stopped with status 1. 
D [12/Nov/2021:10:25:44 +0000] [Client 17] con->http=0x556250b36660 
D [12/Nov/2021:10:25:44 +0000] [Client 17] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=118, response=0x556250b35a60(IPP_STATE_DATA), pipe_pid=0, file=-1 

       .............................

If anyone has a brilliant idea to unlock the situation, that would be GREAT!

https://bbs.archlinux.org/viewtopic.php?id=270783
:sunglasses:

That did work fine for my Brother HL-L2375DW! After hours of research on the web, I can say this trick worked for me! Tx a lot!

1 Like

yea indeed there is not much ionformation about in the web… i was finding this on my own after using AUR driver packge and got annoyed by the fact it ws not working nicely… find the Printer on the https://openprinting.github.io/printers/ page…