Brother MFC-440CN

From ArchWiki
Revision as of 18:31, 24 January 2009 by Daedalus (talk | contribs) (This tutorial confirmed to work for another model as well.)
Jump to: navigation, search


This is a small tutorial to make the printer Brother MFC-440CN work on Arch. This tutorial has also been confirmed to work for the Brother MFC-240C (just replace all instances of MFC-240CN with the appropriate model number ;) ) This tutorial is largely a copy of the Brother HL-2030 tutorial with changes made to fit this specific printer. There are no drivers available from at the moment for this printer to work in CUPS. If you previously tried to install the printer in CUPS, remove it.

Download Brother drivers

First create a temporary directory. Then you must download the official LPR drivers from the Brother website in that directory. Click here . This is a RPM archive. You have to download the cupswrapper file. Right here. This script creates the filters and PPD file for CUPS automatically. It's an RPM archive too.

Extracting the RPM files

Now you need a small script called rpmextract which allows you to get the files included in the RPM you've just downloaded. Log in as root and execute :

# pacman -S rpmextract

Extract both RPM files :

$ mfc440cnlpr-1.0.0-9.i386.rpm
$ mfc440cncupswrapper-1.0.0-9.i386.rpm

It should give you a usr directory with two sub-directories: bin and local.

Editing files to make them work with Arch

Arch Linux uses its own file system organization, so you have to edit some files. Use your favorite text editor (i.e. vi) to open the file named cupswrappermfc440cn. If you created the temporary directory "tmp" in your home, the file will be in /home/user/tmp/usr/local/Brother/Printer/mfc440cn/cupswrapper/ . In this file, you must replace all the /etc/init.d/ occurences by /etc/rc.d/. When it's done, copy all the files in their corresponding directories :

# cp -r /home/user/tmp/usr/* /usr

Installing the driver and printer

Last step ! Go into /usr/local/Brother/Printer/mfc440cn/cupswrapper/ and run the cupswrapper file :

# cd /usr/local/Brother/Printer/mfc440cn/cupswrapper/
# ./cupswrappermfc440cn

It will stop the cups daemon if it's running, and restart it. Now go to the CUPS page : http://localhost:631/ In the Administartion category, choose Manage printers. There you should see a MFC-440CN printer automatically installed and configured. It is now configured to use the USB port. If the printer is used as a network printer you need to modify the printer configuration. Choose Modify printer, and select Brother MFC-440CN in the device list. If it don't exist choose LPD/LPR Host or Printer instead. Then in Device URI you enter the printer IP, i.e lpd:// You will find the IP address in the LAN configuration on the printer itself. The rest of the configuration is preset, so just choose continue. Click to print the test page, and you can hear the sweet sound of your printer. If not, try to restart your printer, and make sure the printers state is Idle, accepting jobs.