EDIT: i made a script that replaces this tutorial HERE.
the script installs dependencies, downloads the drivers, installs drivers, configures for usb printing and scanning. i have added a fix for 11.04 and 11.10 as well.
######################################
i believe that all of these steps are covered in various places in the OFFICIAL BROTHER DOCUMENTATION. i can't take any credit for coming up with this stuff but i wanted to put it all into a fairly simple tutorial. BIG thanks to mdgrech and raywood for posting the previous howtos that helped me figure out my issues in 10.10. this is my first linux tutorial and i've only been using linux for a year so i'm sorry for any inaccuracies! if you see any mistakes or have any improvements let me know and i'll update this post.
<<< LET'S ROCK 'N' ROLL >>>
- if you're like me and you screwed it up the first time you'll want to start clean. turn off/disconnect the printer then get the list of items you need to remove.
the entries should be something like these (the name just after "ii")Code:dpkg -l | grep Brother
as long as this is the only Brother product you have drivers installed for remove all of them.Code:ii brmfc7340lpr 2.0.2-1 Brother MFC-7340 LPR driver ii cupswrappermfc7340 2.0.2-1 Brother MFC7340 CUPS wrapper driver
Code:sudo dpkg --purge entryname- browse to "http://localhost:631/printers" and remove the any entries for your 7340
- setup apparmour
Code:sudo aa-complain cupsd- make required folders
Code:sudo mkdir /usr/share/cups/modelCode:sudo mkdir /var/spool/lpd- install scan dependencies
Code:sudo apt-get install sane-utils psutils- download the drivers
- 64 bit
Code:wget http://www.brother.com/pub/bsc/linux/dlf/brmfc7340lpr-2.0.2-1.i386.deb http://pub.brother.com/pub/com/bsc/linux/dlf/cupswrapperMFC7340-2.0.2-1.i386.deb http://pub.brother.com/pub/com/bsc/linux/dlf/brscan3-0.2.11-4.amd64.deb http://www.brother.com/pub/bsc/linux/dlf/brscan-skey-0.2.1-3.amd64.deb http://pub.brother.com/pub/com/bsc/linux/dlf/brmfcfaxcups-1.0.0-1.i386.deb- 32 bit
Code:wget http://www.brother.com/pub/bsc/linux/dlf/brmfc7340lpr-2.0.2-1.i386.deb http://pub.brother.com/pub/com/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.1-3.i386.deb http://pub.brother.com/pub/com/bsc/linux/dlf/brmfcfaxcups-1.0.0-1.i386.deb
- install the drivers
- 64 bit
Code:dpkg -i --force-all brmfc7340lpr-2.0.2-1.i386.deb cupswrapperMFC7340-2.0.2-1.i386.deb brscan3-0.2.11-4.amd64.deb brscan-skey-0.2.1-3.amd64.deb brmfcfaxcups-1.0.0-1.i386.deb- 32 bit
Code: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.1-3.i386.deb brmfcfaxcups-1.0.0-1.i386.deb
- verify they are installed. if you had any errors... well, i'm not good enough to be of help. the brother troubleshooting FAQ is HERE
Code:dpkg -l | grep Brother- turn on and connect your printer.
- CUPS setup
- browse to "http://localhost:631/admin" and click "add printer".
- select the radio button "Brother MFC-7340". continue
- enter a location/name if desired and if you would like to share the printer over your network. continue
- the next screen should show:
Name: Brother_MFC-7340
Description: Brother MFC-7340
Location: whateveryouentered
Connection: usb://Brother/MFC-7340
Sharing: whatyouselected
Make: Brother- in the pane next to "Model" scroll all the way down and select the first "Brother MFC7340 for CUPS(en)". add printer
- if your "connection" in the step above was different than listed go to printers tab->Brother_MFC-7340->administration->modify printer
for usb connection select: usb://Brother/MFC-7340
for network connection set these parameters:
Device: "LPD/LPR Host or Printer" or "AppSocket/HP JetDirect"
Device URI: lpd://printerIPaddress/binary_p1
Make/Manufacturer: Brother
Model: MFC-7340- print you up a test page! yeeeeehaw!
- enable normal users to access the scanner.
scroll to the bottom (hold ctrl+v) and add the lines highlighted in red as you see them here.Code:sudo nano /lib/udev/rules.d/40-libsane.rules
Code:# Dell Dell MFP Laser Printer 1815dn ATTRS{idVendor}=="413c", ATTRS{idProduct}=="5124", ENV{libsane_matched}="yes" # Dell 1600n ATTRS{idVendor}=="413c", ATTRS{idProduct}=="5250", ENV{libsane_matched}="yes" # Brother scanners ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes" # The following rule will disable USB autosuspend for the device ENV{libsane_matched}=="yes", RUN+="/bin/sh -c 'test -e /sys/$env{DEVPATH}/power/level && echo on $ LABEL="libsane_rules_end"- add "brscan-skey" to to your startup list.
Ubuntu: System > Preference > Sessions > Startup Programs
Kubuntu: System Settings > Startup & Shutdown > Autostart
- restart your computer
- verify that brscan-skey is running
output should look something like thisCode:brscan-skey
Code:MFC-7340 : brother3:bus5;dev1 : USB Active- on your printer, put a test page on the scanner bed, press scan, arrow down to "scan to file", press start. this should make a new folder in your home directory called "brscan" with the image in it and terminal output should be similar to this.
Code:ohblackbetty@bamalam:~$ scan from USB(brother3:bus5;dev1) to /home/ohblackbetty/brscan/brscan.ZxxDtt scanimage: rounded value of br-x from 215.9 to 215.88 scanimage: rounded value of br-y from 355.6 to 355.567- for fax setup perform the following steps
- navigate to http://localhost:631/printers/BRFAX
- in the "administration" dropdown select "modify printer"
- from the local printers list select "Brother MFC-7340 (Brother MFC-7340)" and hit continue.
- change location name and sharing if desired, click continue
- select "Brother" for the make of printer and... continue!
- choose the driver "Brother BRMFCFAX for CUPS" and click modify printer
- if you have a .ps file handy you can fax a test page with this command
Code:brpcfax -o fax-number=faxnumber filename
you should be ready to start using your MFC-7340!
NOTES:
- i prefer to use xsane for scanning as it has all of the settings right up front. i tried simplescan and it wasn't, um... simple.
- i haven't had a chance to test the networked setup or fax functions but the steps here are pretty much straight from the Brother FAQ. if someone could test the fax operation and report back that would be mega awesome!
- i'm a Kubuntu guy but the steps should be the same or very similar for other variants.
- if you go into your printer configuration through system settings there should be a "scale to fit" option. this will help with graphical documents like pdf.
- if you're good with bash scripting and would like to mess around with that more info is HERE
- for FAX capabilities the drivers are HERE installation is HERE and usage instructions are HERE.
- the official Brother Driver Installation Tool and instructions are available HERE. i didn't use it but it's certainly there if you want it! :)
Bookmarks