To get this to work in Linux with CUPS you’ll need to get the drivers from Brothers Linux Support. For printing you’ll need to get the LPR and CUPS wrapper for your model.
If you have an RPM or DEB based distro you can easily follow their instructions, but if you have a source based it’ll take some work. I managed to follow denials instructions with successful results, here’s the quick howto.
This should work with any of the Brother models from local printing.
- You need rpm2targz
- Convert the LPR driver and CUPSwrapper into tar.gz files. Replace the package name here with the one yours uses
$ rpm2targz brhl2040lpr-1.1.2-2.i386.rpm
$ rpm2targz cupswrapperHL2040-1.0.0-1.i386.rpm
- unpack the RPMS$ tar xzf cupswrapperHL2040-1.0.0-1.i386.tar.gz
$ tar xzf brhl2040lpr-1.1.2-2.i386.tar.gz
- As root copy the files to their working directories# cp usr/bin/brprintconflsr /usr/bin/.
# cp usr/lib/libbrcomplpr.so /usr/lib/.
# mv usr/local/Brother /usr/local/
- Modify the /usr/local/Brother/cupswrapper/cupswrapperHL2040-1.0.0 script to point to /etc/init.d/cupsd instead of /etc/init.d/cups; this change is required in three locations in this file.
- Run the /usr/local/Brother/cupswrapper/cupswrapperHL2040-1.0.0 script to set up the Brother HL2040 laser.
- Create a symbolic link from /usr/local/Brother/inf/brHL2040rc to /usr/local/Brother/inf/brPrintList.
cd /usr/local/Brother/inf
ln -sf brHL2040rc brPrintList
That should be all and the is available. A test page can e printed from the CUPS web interface at http://localhost:631
If I get to any othe other functions of the printer (scanning, copying, faxing) I’ll update them here, Brother has the drivers for these on the site also so I don’t expect much trouble.
Recently Commented