Introduction
This article covers the installation of drivers and utilities for the Brother MFC-7340 printer and scanner functions. All or most of the steps below are covered in various places on the Brother Linux Support website.
Prepare for Install
Connect the printer via USB then power it on.
Setup apparmour:
sudo aa-complain cupsd
Create required directories:
mkdir -p /var/spool/lpd mkdir -p /usr/share/cups/model mkdir -p /usr/lib/sane
Install dependencies:
sudo apt-get install sane-utils psutils tcsh lib32stdc++
Add your user to the group lpadmin:
usermod -aG lpadmin username
Download Driver Packages
For 64-bit systems
wget http://www.brother.com/pub/bsc/linux/dlf/brmfc7340lpr-2.0.2-1.i386.deb http://www.brother.com/pub/bsc/linux/dlf/cupswrapperMFC7340-2.0.2-1.i386.deb http://www.brother.com/pub/bsc/linux/dlf/brscan3-0.2.11-5.amd64.deb http://www.brother.com/pub/bsc/linux/dlf/brscan-skey-0.2.4-0.amd64.deb
For 32-bit Systems
wget http://www.brother.com/pub/bsc/linux/dlf/brmfc7340lpr-2.0.2-1.i386.deb http://www.brother.com/pub/bsc/linux/dlf/cupswrapperMFC7340-2.0.2-1.i386.deb http://www.brother.com/pub/bsc/linux/dlf/brscan3-0.2.11-4.i386.deb http://www.brother.com/pub/bsc/linux/dlf/brscan-skey-0.2.4-0.i386.deb
Install Driver Packages
For 64-bit systems
dpkg -i --force-all brmfc7340lpr-2.0.2-1.i386.deb cupswrapperMFC7340-2.0.2-1.i386.deb brscan3-0.2.11-5.amd64.deb brscan-skey-0.2.4-0.amd64.deb
For 32-bit Systems
dpkg -i --force-all brmfc7340lpr-2.0.2-1.i386.deb cupswrapperMFC7340-2.0.2-1.i386.deb brscan3-0.2.11-4.i386.deb brscan-skey-0.2.4-0.i386.deb
CUPS Setup
In your browser navigate to localhost:631/admin and select the AddPrinter button. In the first screen select the radio button for "Brother MFC-7340". When you reach the driver selection list be sure to select the first of the two drivers titled "Brother MFC7340 for CUPS(en)". This is the CUPS specific driver, the other is for LPR.
Scanner Setup
To allow scanner access to normal users add the two lines below to /lib/udev/rules.d/40-libsane.rules:
sudo nano /lib/udev/rules.d/40-libsane.rules
# Brother scanners ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"
For Ubuntu versions 9.04 and less see HERE
Add "brscan-skey" as a start-up application. If you would like to have the Scan button work the same for all users add the line "brscan-skey -l" to the file /etc/rc.local