You are not logged in.
Hi to all,
I'm trying to configure the Brother DCP-L3520CDW wifi printer.
I've created this PKGBUILD by modifying one similar in the AUR.
This will use the deb file for my specific printer.
pkgname=brother-dcpl3520cdw-lpr-bin
pkgver=3.5.1
pkgrel=1
pkgdesc="LPR driver for Brother DCP-L3520CDW printer"
arch=("i686" "x86_64")
url="https://www.brother.co.uk/support/dcpl3520cdw/downloads"
license=("EULA")
groups=("base-devel")
source=("dcpl3520cdwpdrv-3.5.1-1.i386.deb")
md5sums=('acd5c5560312dc900c19410fb4aac933')
package() {
tar -xf data.tar.gz -C "${pkgdir}"
install -d "${pkgdir}/usr/lib/cups/filter/"
install -d "${pkgdir}/usr/share/ppd/cupsfilters/"
ln -sf /opt/brother/Printers/dcpl3520cdw/cupswrapper/brother_lpdwrapper_dcpl3520cdw "${pkgdir}/usr/lib/cups/filter/brother_lpdwrapper_dcpl3520cdw"
ln -sf /opt/brother/Printers/dcpl3520cdw/cupswrapper/brother_dcpl3520cdw_printer_en.ppd "${pkgdir}/usr/share/ppd/cupsfilters/brother_dcpl3520cdw_printer_en.ppd"
}
I've installed it and when I search for printer in KDE it founds the printer, but then it gives me a 'Impossible to locate the printer' message when I try to print a test page.
I can ping the printer and lpinfo -v detects it
network socket
network https
network beh
network ipps
network ipp
network lpd
file cups-pdf:/
network http
network smb
network dnssd://Brother%20DCP-L3520CDW%20series._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-58cdc91151f9
So I think it is a configuration mismatch, but I'm quite lost. Can you please help me?
Last edited by Xwang (2025-04-18 19:20:27)
Offline
nmap Brother%20DCP-L3520CDW%20series._ipp._tcp.local
lpstat -s
I search for printer in KDE it founds the printer, but then it gives me a 'Impossible to locate the printer'
http://localhost:631/
Offline
Hi,
I've tried to improve the PKGBUILD
pkgname=brother-dcpl3520cdw-bin
_printer=dcpl3520cdw
pkgver=3.5.1
pkgrel=1
pkgdesc="Printer driver for Brother DCPL3520CDW printer"
arch=("i686" "x86_64")
url="https://www.brother.co.uk/en/support/dcpl3520cdw"
license=("EULA")
depends=('cups' 'glibc' 'lib32-glibc' 'gcc-libs' 'lib32-gcc-libs' 'sh' 'perl')
groups=("base-devel")
source=("https://download.brother.com/welcome/dlf105753/dcpl3520cdwpdrv-3.5.1-1.i386.deb")
md5sums=('acd5c5560312dc900c19410fb4aac933')
package() {
tar -xf data.tar.gz -C "${pkgdir}"
cd "$pkgdir"
install -Dm644 "opt/brother/Printers/$_printer/cupswrapper/brother_${_printer}_printer_en.ppd" \
-t "usr/share/cups/model/Brother"
install -Dm644 "opt/brother/Printers/$_printer/cupswrapper/brother_${_printer}_printer_en.ppd" \
-t "usr/share/ppd/Brother"
mkdir -p -m755 "$pkgdir/usr/lib/cups/filter"
ln -s "/opt/brother/Printers/$_printer/cupswrapper/brother_lpdwrapper_$_printer" \
"usr/lib/cups/filter"
}
I've set it up using that cups driver and this address (following this support page https://support.brother.com/g/b/downloa … pe3=10283)
ipp://BRW58CDC91151F9.fritz.box/BINARY_P1
when I try to print a test page I get no error but no page (in the printer spool it says that a 0 page document has been completed)
LANG=C lpstat -s
no system default destination
device for CUPS-PDF: cups-pdf:/
device for DCP-L3520CDW_series: ipp://BRW58CDC91151F9.fritz.box/BINARY_P1
LANG=C nmap BRW58CDC91151F9.fritz.box
Starting Nmap 7.95 ( https://nmap.org ) at 2025-04-18 19:20 CEST
Nmap scan report for BRW58CDC91151F9.fritz.box (192.168.1.181)
Host is up (0.046s latency).
Not shown: 995 closed tcp ports (conn-refused)
PORT STATE SERVICE
80/tcp open http
443/tcp open https
515/tcp open printer
631/tcp open ipp
9100/tcp open jetdirect
Nmap done: 1 IP address (1 host up) scanned in 5.44 seconds
Last edited by Xwang (2025-04-18 17:20:54)
Offline
The printer seems to support IPP everywhere, you'd not need any driver (but cups-pdf)
Then add it as IPP everywhere printer via the cups webserver (that's a service on your local computer) but use the autodetection - "binary_p1" doesn't sound like a typical IPP everywhere path and also nb. that the linked page lists it lowercase (and behind the slash that matters) - but also esp. for lpd, which is NOT ipp.
Offline
The printer seems to support IPP everywhere, you'd not need any driver (but cups-pdf)
Then add it as IPP everywhere printer via the cups webserver (that's a service on your local computer) but use the autodetection - "binary_p1" doesn't sound like a typical IPP everywhere path and also nb. that the linked page lists it lowercase (and behind the slash that matters) - but also esp. for lpd, which is NOT ipp.
So should I remove the printer, remove the AUR package, reboot (or restart cups service) and then try the ipp everywhere. Is it right?
Offline
Yup, that'd be the ideal solution here (if you can use IPPE, use IPPE) - from what I can tell brother uses the root path, so the detected url (requires avahi) would probably look like "ipp://BRW58CDC91151F9.fritz.box/"
Offline
Yup, that'd be the ideal solution here (if you can use IPPE, use IPPE) - from what I can tell brother uses the root path, so the detected url (requires avahi) would probably look like "ipp://BRW58CDC91151F9.fritz.box/"
Solved, thank you!
Creating the printer with the ipp://BRW58CDC91151F9.fritz.box/ and selecting the IPP everywhere it has worked perfectly. No need of any driver, indeed!
Offline