Difference between revisions of "Brother MFC-9320CW"

From ArchWiki
Jump to navigation Jump to search
(fix header, update interlanguage links (https://github.com/lahwaacz/wiki-scripts/blob/master/update-interlanguage-links.py))
(Redirected to CUPS/Printer-specific problems, since this page is now redundant. It is a copy of another article which is also now redirected...)
Line 1: Line 1:
#Redirect[[CUPS/Printer-specific problems#Brother]]
=== Introduction ===
This is largely a copy of the [[Brother MFC-440CN|Brother MFC-440CN tutorial]] with changes made to fit this specific printer.
=== Required packages ===
[[pacman|Install]] {{Pkg|rpmextract}}, {{Pkg|ghostscript}}, {{Pkg|gsfonts}}, {{Pkg|cups-filters}} and {{Pkg|a2ps}} from [[Official repositories]].
{{Note|1=If you use x86_64, you '''must''' also install {{Pkg|lib32-libcups}} (from the multilibs repository) for this printer driver to work! When {{Ic|lib32-libcups}} is not installed, the printer refuses to print, but no error message is given}}
=== Download Brother drivers ===
First create a temporary directory. Download the [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://www.brother.com/pub/bsc/linux/dlf/mfc9320cwlpr-1.1.1-4.i386.rpm&lang=English_lpr lpr] driver and [http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://www.brother.com/pub/bsc/linux/dlf/mfc9320cwcupswrapper-1.1.1-4.i386.rpm&lang=English_gpl cupswrapper] driver rpm files from Brother's website.
The full list of brother linux drivers can be found [http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html here] and these instructions can be followed for other printers as well as the MFC-9320CW.
=== Extracting the RPM files ===
Now you use a small script called rpmextract which allows you to get the files included in the RPM you've just downloaded.
Extract both RPM files :
# rpmextract.sh mfc9320cwlpr-1.1.1-4.i386.rpm
# rpmextract.sh mfc9320cwcupswrapper-1.1.1-4.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 modify some files before copying them into place.
# /bin/sed -i 's|/etc/init.d|/etc/rc.d|' usr/local/Brother/Printer/mfc9320cw/cupswrapper/cupswrappermfc9320cw
# /bin/cp -r usr/* /usr
=== Installing the driver and printer ===
Last step !
Run the cupswrapper file:
# /usr/local/Brother/Printer/mfc9320cw/cupswrapper/cupswrappermfc9320cw
It will stop the cups daemon if it's running, and restart it.
Now go to the CUPS page : http://localhost:631/
In the Administration category, choose Manage printers. There you should see a MFC-9320CW printer automatically installed and configured. It is intially 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-9320CW in the device list. If it doesn't exist choose LPD/LPR Host or Printer instead. Then in Device URI you enter the printer IP, e.g 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 printer's state is Idle, accepting jobs.

Latest revision as of 05:31, 20 September 2015