You are not logged in.

#1 2021-09-15 18:08:29

losipai
Member
Registered: 2021-07-29
Posts: 8

[SOLVED] Missing CUPS filter for Brother printer (DCP-8410CDW)

Some things are beginning to make sense and I think I can reliably print now, but not with the printer's actual driver but only IPP/driverless. This means I can't access settings such as duplex printing, color/grayscale, resolution etc.

There is an AUR package brother-dcpl8410cdw-cups-bin which, although out-of-date, installs a PPD file some CUPS wrapper under /opt. I can add the printer using this PPD which enables all the printer settings, but when I try to print the job is immediately stopped. In system-config-printer it then says that it failed to load the CUPS wrapper under /usr/lib/cups/filter/brother_lpdwrapper_dcpl8410cdw.
This file is indeed installed by the AUR package, but if I symlink from the mentioned path to /opt, the error stops appearing but print jobs just say "completed" and the printer doesn't receive anything.

To make it more confusing, after I install nss-mdns and start avahi-daemon, several versions of the printer become discoverable but I can never connect to any of them once installed. Only if I change the location to socket://printers-ipv4-address does CUPS actually connect. Is this fine?
Plus for some combinations of protocols and models in the "Add printer" wizard (which all look very similar), it ends up printing PDFs as binary garbage.

It's not important if mDNS works or if I need to configure the static IP. What I would like is to be able to use the real driver with printing options e.g. duplex printing and choosing grayscale.

Last edited by losipai (2023-04-22 08:33:38)

Offline

#2 2021-09-15 19:11:52

zpg443
Member
Registered: 2016-12-03
Posts: 271

Re: [SOLVED] Missing CUPS filter for Brother printer (DCP-8410CDW)

Are you able to access CUPS.org via web interface (http://localhost:631/printers/)? Can you connect via lpd and display the Brother driver that way? If so, what does it show?

Post the output of:

avahi-browse --all --ignore-local --resolve --terminate

Last edited by zpg443 (2021-09-15 19:14:37)

Offline

#3 2021-09-16 06:19:15

losipai
Member
Registered: 2021-07-29
Posts: 8

Re: [SOLVED] Missing CUPS filter for Brother printer (DCP-8410CDW)

zpg443 wrote:

Are you able to access CUPS.org via web interface

Yes.

zpg443 wrote:

Can you connect via lpd and display the Brother driver that way?

Not sure about lpd, does running lpinfo count?

lpinfo -v
network lpd://BRWDCE99495D95D/BINARY_P1

# after starting avahi-daemon
lpinfo -v
network lpd://BRWDCE99495D95D/BINARY_P1
network dnssd://Brother%20DCP-L8410CDW%20series._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-b422002d2500

lpstat -v
device for Brother-DCP-L8410CDW: ipp://Brother%20DCP-L8410CDW%20series._ipp._tcp.local/
zpg443 wrote:

Post the output of:

avahi-browse --all --ignore-local --resolve --terminate

Whoa, I removed some other Wi-Fi connected devices from the output

+  wlan0 IPv4 Brother DCP-L8410CDW series                   PDL Printer          local
+  wlan0 IPv4 Brother DCP-L8410CDW series                   UNIX Printer         local
+  wlan0 IPv4 Brother DCP-L8410CDW series                   Internet Printer     local
+  wlan0 IPv4 Brother DCP-L8410CDW series                   _scanner._tcp        local
+  wlan0 IPv4 Brother DCP-L8410CDW series                   Web Site             local
+  wlan0 IPv4 Brother DCP-L8410CDW series                   _privet._tcp         local
+  wlan0 IPv4 Brother DCP-L8410CDW series                   _uscan._tcp          local
=  wlan0 IPv4 Brother DCP-L8410CDW series                   Internet Printer     local
   hostname = [BRWDCE99495D95D.local]
   address = [192.168.1.214]
   port = [631]
   txt = ["mopria-certified=1.3" "print_wfds=T" "UUID=e3248000-80ce-11db-8000-b422002d2500" "PaperMax=legal-A4" "kind=document,envelope,label,postcard" "URF=SRGB24,W8,CP1,IS19-1,MT1-3-4-5-8-11,OB10,PQ4,RS600,V1.4,DM1" "TBCP=F" "Transparent=T" "Binary=T" "PaperCustom=T" "Scan=T" "Fax=F" "Duplex=T" "Copies=T" "Color=T" "usb_CMD=PJL,PCL,PCLXL,URF" "usb_MDL=DCP-L8410CDW series" "usb_MFG=Brother" "priority=25" "adminurl=http://BRWDCE99495D95D.local./net/net/airprint.html" "product=(Brother DCP-L8410CDW series)" "ty=Brother DCP-L8410CDW series" "note=" "rp=ipp/print" "pdl=application/octet-stream,image/urf,image/jpeg,image/pwg-raster" "qtotal=1" "txtvers=1"]
=  wlan0 IPv4 Brother DCP-L8410CDW series                   UNIX Printer         local
   hostname = [BRWDCE99495D95D.local]
   address = [192.168.1.214]
   port = [515]
   txt = ["UUID=e3248000-80ce-11db-8000-b422002d2500" "TBCP=F" "Transparent=T" "Binary=T" "PaperCustom=T" "Scan=T" "Fax=F" "Duplex=T" "Copies=T" "Color=T" "usb_CMD=PJL,PCL,PCLXL,URF" "usb_MDL=DCP-L8410CDW series" "usb_MFG=Brother" "priority=50" "adminurl=http://BRWDCE99495D95D.local./" "product=(Brother DCP-L8410CDW series)" "ty=Brother DCP-L8410CDW series" "note=" "rp=duerqxesz5090" "pdl=application/octet-stream,image/urf,image/jpeg,image/pwg-raster" "qtotal=1" "txtvers=1"]
=  wlan0 IPv4 Brother DCP-L8410CDW series                   PDL Printer          local
   hostname = [BRWDCE99495D95D.local]
   address = [192.168.1.214]
   port = [9100]
   txt = ["UUID=e3248000-80ce-11db-8000-b422002d2500" "TBCP=T" "Transparent=F" "Binary=T" "PaperCustom=T" "Scan=T" "Fax=F" "Duplex=T" "Copies=T" "Color=T" "usb_CMD=PJL,PCL,PCLXL,URF" "usb_MDL=DCP-L8410CDW series" "usb_MFG=Brother" "priority=75" "adminurl=http://BRWDCE99495D95D.local./" "product=(Brother DCP-L8410CDW series)" "ty=Brother DCP-L8410CDW series" "note=" "pdl=application/octet-stream,image/urf,image/jpeg,image/pwg-raster" "qtotal=1" "txtvers=1"]
=  wlan0 IPv4 Brother DCP-L8410CDW series                   _scanner._tcp        local
   hostname = [BRWDCE99495D95D.local]
   address = [192.168.1.214]
   port = [54921]
   txt = ["flatbed=T" "feeder=T" "button=T" "mdl=DCP-L8410CDW series" "mfg=Brother" "ty=Brother DCP-L8410CDW series" "adminurl=http://BRWDCE99495D95D.local./" "note=" "txtvers=1"]
=  wlan0 IPv4 Brother DCP-L8410CDW series                   Web Site             local
   hostname = [BRWDCE99495D95D.local]
   address = [192.168.1.214]
   port = [80]
   txt = []
=  wlan0 IPv4 Brother DCP-L8410CDW series                   _privet._tcp         local
   hostname = [BRWDCE99495D95D.local]
   address = [192.168.1.214]
   port = [80]
   txt = ["cs=offline" "id=" "type=printer" "url=https://www.google.com/cloudprint" "note=Brother DCP-L8410CDW series [b422002d2500]" "ty=Brother DCP-L8410CDW series [b422002d2500]" "txtvers=1"]
=  wlan0 IPv4 Brother DCP-L8410CDW series                   _uscan._tcp          local
   hostname = [BRWDCE99495D95D.local]
   address = [192.168.1.214]
   port = [80]
   txt = ["duplex=T" "is=adf,platen" "cs=binary,grayscale,color" "UUID=e3248000-80ce-11db-8000-b422002d2500" "pdl=application/pdf,image/jpeg" "note=" "ty=Brother DCP-L8410CDW series" "rs=eSCL" "representation=http://BRWDCE99495D95D.local./icons/device-icons-128.png" "adminurl=http://BRWDCE99495D95D.local./net/net/airprint.html" "vers=2.62" "txtvers=1"]

Last edited by losipai (2021-09-16 06:22:39)

Offline

#4 2021-09-16 16:07:31

zpg443
Member
Registered: 2016-12-03
Posts: 271

Re: [SOLVED] Missing CUPS filter for Brother printer (DCP-8410CDW)

You may have to use lpd to access the Brother driver (as least I had to do that for my Brother printer).

Since you can access the CUPS.org via web interface and it found a printer available under "Printers," select the the dropdown that says "Administration" then select "default options." Do you see something like the following:

Media Size:	Letter
MediaType:      Plain Paper
InputSlot:	       Tray1
Duplex:	       None
Resolution:     300dpi
Toner Save:	Off
Sleep Time [Min.]:	Printer Default

If so, you can change the selections to include duplex mode. You did not say whether you were using a DE. For KDE, the same "default options" are available under system settings/Printers there.

https://funloop.org/post/2013-08-07-bro … setup.html

Last edited by zpg443 (2021-09-16 16:12:33)

Offline

#5 2021-09-16 17:25:52

losipai
Member
Registered: 2021-07-29
Posts: 8

Re: [SOLVED] Missing CUPS filter for Brother printer (DCP-8410CDW)

Yes I have those, aren't they just default options though? It didn't seem like they would affect which options show, just the default values.
However there is a big difference in what shows up here depending on if I use the driverless way or the PPD. Both in the web interface -> default options, and in the print dialog.

I'm using Wayland/Sway.
I suspect settings -> printers in a DE would be the same as the system-config-printer package.

Last edited by losipai (2021-09-16 17:26:52)

Offline

#6 2021-09-16 18:08:19

zpg443
Member
Registered: 2016-12-03
Posts: 271

Re: [SOLVED] Missing CUPS filter for Brother printer (DCP-8410CDW)

Open a browser, and select Print. For my browser there is a selection for 'more settings' and 'Print using system dialog'. Did you get the latter option to use the 'system dialog'? If you are not getting the Brother driver (using lpd, for example), you won't have it. Since the package is out of date, you may be out of luck, if you cannot load the Brother driver or cannot/will not use lpd. Contact the package owner with your issue.

Last edited by zpg443 (2021-09-16 18:16:46)

Offline

#7 2021-09-17 08:34:20

losipai
Member
Registered: 2021-07-29
Posts: 8

Re: [SOLVED] Missing CUPS filter for Brother printer (DCP-8410CDW)

zpg443 wrote:

If you are not getting the Brother driver (using lpd, for example), you won't have it.

I do have it even with CUPS and the printer turned off, because there are still options like "Print to File" and "Print to LPR" independently of any actual printers.

I guess I'm confused about whether the printer is expected to work immediately if I install a proper PPD from AUR? In that case I should work on fixing the package.
Since I did install a PPD but the printer complained about some filter thing, I'm not sure if that is the way forward.

Last edited by losipai (2021-09-17 08:34:55)

Offline

#8 2021-09-17 14:55:47

zpg443
Member
Registered: 2016-12-03
Posts: 271

Re: [SOLVED] Missing CUPS filter for Brother printer (DCP-8410CDW)

Offline

#9 2021-09-18 04:43:08

losipai
Member
Registered: 2021-07-29
Posts: 8

Re: [SOLVED] Missing CUPS filter for Brother printer (DCP-8410CDW)

Thanks!

I'll come and mark this as solved once I find the solution.
I found an indication that I need to install both the CUPS and the LPR package for the manual driver to work, haven't tried it yet.

Update: solved it.
Not sure why discovery doesn't seem to work or why the printer cannot be used even if I connect by IP. But it works perfectly with the vendor driver + IP connection.

The trick is that when we create the AUR wrapper script for the vendor drivers, use a template based on .rpm files instead of .deb files. The .deb wrappers just extract files to /opt, but some additional steps are apparently needed.
Finally, the drivers come with tools for installing the printer to CUPS through the CLI, so you don't need to install in the web interface after installing a driver.

Last edited by losipai (2023-04-22 08:32:51)

Offline

Board footer

Powered by FluxBB