I really like my Brother MFP, and its even better that it works across a network and on Linux too! here’s how to get it installed on Arch.
I use sudo on my system, if you don’t then run all sudo prefixed commands as root
Brother needs csh instead of bash so:
sudo pacman -Sy tcsh
and create a link
sudo ln -s /usr/bin/tcsh /bin/csh
If you are not already a member of the printer group, do so
usermod -aG lp [username]
Download the latest printer drivers, in rpm format, from this page:
Download the latest scanner drivers, in rpm format, from this page:
Create a temporary directory, I used ~/DCP540, and copy the driver files into it
now we need to extract the files, you need a little package to do this:
sudo pacman -Sy rpmextract
then extract all the files
replacing file names if different.
You need to edit the cupswrapper driver to change all instances on /etc/init.d/ to /etc/rc.d/. I sued find and Replace in Mousepad.
Once finished copy all the files across to usr in the file system
sudo cp -r ~/DCP540/usr/* /usr
My printer runs over ethernet/network so now run the script to install
Now open up your browser and go to the CUPS setup page
# Click on manage Printers and Delete the Brother printer found!
# Click on Administration and then Find New Printers
# You should see your printer listed, add it, and click on through.
# Print a test page
Add cups to your daemons in /etc/rc.conf
I have found that rather than simply select the Brother printer from the list, if I enter the lpd settings instead, i get more printer options.
You will need xsane installed to use the scanner
sudo pacman -Sy xsane
You have already downloaded and copied over the scanner driver above, now you need to configure
sudo brsaneconfig2 -a name=[FRIENDLY-NAME] model=[EXACT-MODEL] ip=xxx.xxx.xxx.xxx
sudo brsaneconfig2 -a name=DCP540CN model=DCP-540CN ip=10.10.10.80
to check this has taken
Add yourself to the scanner group
sudo gpasswd -a <username> scanner
(log out and back in again to make it take)
Test by running xsane, it should find your device and you can try a scan
All thanks go to the Arch Wiki page on this: