Can't Find Driver of Brother HL 6300

Hi!

Manjaro ist a great distribution. ( I’m new to Manjaro/Arch ) -Thanks for the great work on Manjaro!

I want to use a HL-L6300DW, but i cant find a useable package. (only .deb und .rpm at the Brother-Website) - There’s no Git-Repositry available.

Is there a solution to install the package with pacman? in AUR?

Thanks

It doesn’t looks like there is an AUR package at all currently. You could try to download the .deb package from their website and see if you can use debtap to install it. I’ve seen that work for some people for some packages and drivers.

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

I have had good luck with the .deb method.

2 Likes

My PKGBUILD for CUPS

pkgname=brother-hll6300dw-cups-bin
pkgver=3.5.1
pkgrel=1
pkgdesc="CUPS wrapper for Brother HL-L6300DW printer"
arch=("i686" "x86_64")
url="https://support.brother.com/g/b/producttop.aspx?c=us&lang=en&prod=hll6300dw_us"
license=("EULA")
groups=("base-devel")
source=("https://download.brother.com/welcome/dlf102469/hll6300dwcupswrapper-3.5.1-1.i386.deb")
md5sums=("259d1d19cb9a245d9d39668cd42e5a64")

package() {
	tar -xf data.tar.gz -C "${pkgdir}"
}

My PKGBUILD for LPR

pkgname=brother-hll6300dw-lpr-bin
pkgver=3.5.1
pkgrel=1
pkgdesc="LPR driver for Brother HL-L6300DW printer"
arch=("i686" "x86_64")
url="https://support.brother.com/g/b/producttop.aspx?c=us&lang=en&prod=hll6300dw_us"
license=("EULA")
groups=("base-devel")
source=("https://download.brother.com/welcome/dlf102468/hll6300dwlpr-3.5.1-1.i386.deb")
md5sums=("e6dbfe6d5d4ce6c3d1f924142c292c57")

package() {
	tar -xf data.tar.gz -C "${pkgdir}"
}

No"*" relevant error after

makepkg -fRi

but after executing where no printer HLL6300DW in CUPS available

“*” strip: Unable to recognise the format of the input file ./opt/brother/Printers/HLL6300DW/lpd/armv7l/rawtobr3' strip: Unable to recognise the format of the input file ./opt/brother/Printers/HLL6300DW/lpd/armv7l/brprintconflsr3’

It seems that there are “broken links” or the wrong directory is used.

sudo ln -s /opt/brother/Printers/HLL6300DW/lpd/lpdfilter /usr/lib/cups/filter/brother_lpdwrapper_HLL6300DW

solved it for the filter, but not for the rest. This is not described in the wiki?

Have a look what is actually inside that .deb package.
There is, in:
CONTENTS/opt/brother/Printers/HLL6300DW/lpd/
multiple (3) directories
with files for different architectures
armv7l
i686
x86_64

At least the armv7l files will give you that error - and you don’t need them anyway.

Have a look at the PKGBUILDS of some other HLLxxx drivers in the AUR.

What they basically do is unpack the archive and then copy the (needed) contents to the correct place in an Arch system.

1 Like

Yes, the files in
/opt/brother/Printers/HLL6300DW/*
installed without problems.

But the files in /usr/lib/cups/*, which are avaiable in other packages ie. HLL6250DW, did not install with this described “deb-method” of the wiki.

After a look at

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=brother-hll6250dw

i understand the problem now.