Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34

Thread: HOWTO: Install Brother MFC-7340 Print & Scan in 10.04/10.10

  1. #1
    Join Date
    Jan 2010
    Location
    Portland, Oregon
    Beans
    51
    Distro
    Ubuntu 12.04 Precise Pangolin

    HOWTO: Install Brother MFC-7340 Print, Scan and Fax in 10.04/10.10

    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 >>>

    1. 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.
      Code:
      dpkg  -l  |  grep  Brother
      the entries should be something like these (the name just after "ii")
      Code:
      ii  brmfc7340lpr                         2.0.2-1                                           Brother MFC-7340 LPR driver
      ii  cupswrappermfc7340                   2.0.2-1                                           Brother MFC7340 CUPS wrapper driver
      as long as this is the only Brother product you have drivers installed for remove all of them.
      Code:
      sudo dpkg --purge entryname
    2. browse to "http://localhost:631/printers" and remove the any entries for your 7340

    3. setup apparmour
      Code:
      sudo aa-complain cupsd
    4. make required folders
      Code:
      sudo mkdir /usr/share/cups/model
      Code:
      sudo mkdir /var/spool/lpd
    5. install scan dependencies
      Code:
      sudo apt-get install sane-utils psutils
    6. 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



    7. 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



    8. 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
    9. turn on and connect your printer.

    10. 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


    11. 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
    12. print you up a test page! yeeeeehaw!

    13. enable normal users to access the scanner.
      Code:
      sudo nano /lib/udev/rules.d/40-libsane.rules
      scroll to the bottom (hold ctrl+v) and add the lines highlighted in red as you see them here.
      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"
    14. add "brscan-skey" to to your startup list.
      Ubuntu: System > Preference > Sessions > Startup Programs
      Kubuntu: System Settings > Startup & Shutdown > Autostart

    15. restart your computer

    16. verify that brscan-skey is running
      Code:
      brscan-skey
      output should look something like this
      Code:
      MFC-7340          : brother3:bus5;dev1  : USB                  Active
    17. 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
    18. 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! :)
    Last edited by mechanizedmedic; February 27th, 2012 at 11:38 AM.

  2. #2
    Join Date
    Aug 2010
    Beans
    2

    Re: HOWTO: Install Brother MFC-7340 Print & Scan in 10.04/10.10

    Thanks so much for taking the time to write this up. It worked great for me, with a couple of minor notes.

    1. The link to the 64-bit scan driver:

    http://pub.brother.com/pub/com/bsc/l...ng=English_gpl

    was broken; but it worked without the query parameter:

    http://pub.brother.com/pub/com/bsc/l...11-4.amd64.deb

    Also, the CUPS interface was a bit different for me. In particular, it set the connection to

    usb:/dev/usb/lp0

    and I had to Modify Printer and pick

    usb://Brother/MFC-7340

    from a list. After that, she printed!

    Thanks again.

  3. #3
    Join Date
    Jan 2010
    Location
    Portland, Oregon
    Beans
    51
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Install Brother MFC-7340 Print & Scan in 10.04/10.10

    Quote Originally Posted by AmigoNico View Post
    Thanks so much for taking the time to write this up. It worked great for me, with a couple of minor notes.

    1. The link to the 64-bit scan driver:

    http://pub.brother.com/pub/com/bsc/l...ng=English_gpl

    was broken; but it worked without the query parameter:

    http://pub.brother.com/pub/com/bsc/l...11-4.amd64.deb

    Also, the CUPS interface was a bit different for me. In particular, it set the connection to

    usb:/dev/usb/lp0

    and I had to Modify Printer and pick

    usb://Brother/MFC-7340

    from a list. After that, she printed!

    Thanks again.
    thanks for the feedback!

    it looks like i forgot to include the modify printer part. woops! i slapped it in there with USB and networked settings. fixed the broken link too.

    i also added a link to the Brother Driver Installation Tool in the NOTES section just in case someone wants it.

  4. #4
    Join Date
    Feb 2009
    Beans
    44

    Re: HOWTO: Install Brother MFC-7340 Print & Scan in 10.04/10.10

    WOW! Thanks for taking the time to write this up! This is great & works perfectly for the printing. I'm stuck at step 17. There is no: System > Preferences > Sessions in Ubuntu 10.10. Where should I go?

    Also, for anyone looking on how to print a test page:

    Code:
    1. Go to System > Administration > Printing
    2. Right click on your printer and select its properties.
    3. Click on the "Print a Test Page" button. You will get a printer test page that includes the Ubuntu logo and eight different color bars.

  5. #5
    Join Date
    Jan 2010
    Location
    Portland, Oregon
    Beans
    51
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Install Brother MFC-7340 Print & Scan in 10.04/10.10

    Quote Originally Posted by Qu4rk View Post
    WOW! Thanks for taking the time to write this up! This is great & works perfectly for the printing. I'm stuck at step 17. There is no: System > Preferences > Sessions in Ubuntu 10.10. Where should I go?

    Also, for anyone looking on how to print a test page:

    Code:
    1. Go to System > Administration > Printing
    2. Right click on your printer and select its properties.
    3. Click on the "Print a Test Page" button. You will get a printer test page that includes the Ubuntu logo and eight different color bars.
    apologies for the delay... in maverick it should be under System > Preferences > Startup Applications. you can also get "startup manager" from the software center to help administer those changes.

  6. #6
    Join Date
    Oct 2006
    Location
    Carrboro, NC, USA
    Beans
    29
    Distro
    Ubuntu Development Release

    Re: HOWTO: Install Brother MFC-7340 Print & Scan in 10.04/10.10

    I have an HL-2270DW, and I am not having a lot of success with 64-bit ubuntu. I had 32-bit ubuntu up until a few days ago, and it worked fine with it.

    Under 64-bit ubuntu, when I go to install, it gets stuck installing the lp deb:

    Code:
    root@deskbuntu:/home/patrick/Desktop/brother# dpkg -i --force-all hl2270dwlpr-2.1.0-1.i386.deb 
    dpkg: warning: overriding problem because --force enabled:
     package architecture (i386) does not match system (amd64)
    (Reading database ... 175700 files and directories currently installed.)
    Preparing to replace hl2270dwlpr:i386 2.1.0-1 (using hl2270dwlpr-2.1.0-1.i386.deb) ...
    Unpacking replacement hl2270dwlpr:i386 ...
    dpkg: dependency problems prevent configuration of hl2270dwlpr:i386:
     hl2270dwlpr:i386 depends on libc6 (>= 2.3.4-1).
    dpkg: error processing hl2270dwlpr:i386 (--install):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     hl2270dwlpr:i386
    I have the latest ia32-libs and lib32stdc++6 packages already installed.

    Does any one have any ideas about how I can proceed here? Thank you!

  7. #7
    Join Date
    Jan 2010
    Location
    Portland, Oregon
    Beans
    51
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Install Brother MFC-7340 Print & Scan in 10.04/10.10

    Quote Originally Posted by skibler View Post
    I have an HL-2270DW, and I am not having a lot of success with 64-bit ubuntu. I had 32-bit ubuntu up until a few days ago, and it worked fine with it.

    Under 64-bit ubuntu, when I go to install, it gets stuck installing the lp deb:

    Code:
    root@deskbuntu:/home/patrick/Desktop/brother# dpkg -i --force-all hl2270dwlpr-2.1.0-1.i386.deb 
    dpkg: warning: overriding problem because --force enabled:
     package architecture (i386) does not match system (amd64)
    (Reading database ... 175700 files and directories currently installed.)
    Preparing to replace hl2270dwlpr:i386 2.1.0-1 (using hl2270dwlpr-2.1.0-1.i386.deb) ...
    Unpacking replacement hl2270dwlpr:i386 ...
    dpkg: dependency problems prevent configuration of hl2270dwlpr:i386:
     hl2270dwlpr:i386 depends on libc6 (>= 2.3.4-1).
    dpkg: error processing hl2270dwlpr:i386 (--install):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     hl2270dwlpr:i386
    I have the latest ia32-libs and lib32stdc++6 packages already installed.

    Does any one have any ideas about how I can proceed here? Thank you!
    please take the time to read error messages. the data you posted already indicates that libc6 needs to be installed. search for it in the software center or use this terminal command.

    Code:
    sudo apt-get install libc6
    it might help to purge the old driver packages and config files before re-installing. IMHO it's always better to start clean.

  8. #8
    Join Date
    Oct 2006
    Location
    Carrboro, NC, USA
    Beans
    29
    Distro
    Ubuntu Development Release

    Re: HOWTO: Install Brother MFC-7340 Print & Scan in 10.04/10.10

    Quote Originally Posted by mechanizedmedic View Post
    please take the time to read error messages. the data you posted already indicates that libc6 needs to be installed. search for it in the software center or use this terminal command.

    Code:
    sudo apt-get install libc6
    it might help to purge the old driver packages and config files before re-installing. IMHO it's always better to start clean.
    mechanizedmedic, think about what you are telling me to do. Try sudo apt-get remove libc6 and see how far you get. libc6 (and libc6-i386, btw) is obviously already installed, because if it wasn't, I would have much larger problems than a bad printer driver.

    Thanks for trying to help, I guess.


    edit:

    Turns out that the package files are 'installed', but not 'configured'. A useless distinction to make in this case, since all the 'configuration' does here is run a bash script that was 'installed'. I ran the bash script manually, and the printer driver is magically installed.

    Now I just have to get apt to shutup about the unconfigured packages. . .
    Last edited by skibler; April 8th, 2011 at 04:33 PM.

  9. #9
    Join Date
    Jan 2010
    Location
    Portland, Oregon
    Beans
    51
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Install Brother MFC-7340 Print & Scan in 10.04/10.10

    i never instructed that libc6, or any other critical packages, be removed... try reading things a bit more carefully.

    you're welcome i guess.

  10. #10
    Join Date
    Jul 2007
    Beans
    1

    Re: HOWTO: Install Brother MFC-7340 Print & Scan in 10.04/10.10

    @ skibler Can you give a few more details on where you found and ran these scripts? I have the same problem with an MFC-7360n complaining about libc6 under 11.04

    I have a 2070n that is working using the 2060 driver right now. Scanner works perfectly with x64 driver from Brother.

    dpkg -l | grep Brother
    iU brhl2070nlpr:i386 2.0.1-1 Brother HL-2070N LPR driver
    ii brscan-skey 0.2.1-3 Brother Linux scanner S-KEY tool
    ii brscan4 0.3.0-2 Brother Scanner Driver
    iU cupswrapperdcp1000:i386 1.0.2-1 Brother DCP1000 CUPS wrapper driver
    iU cupswrappermfc7360n:i386 2.0.4-2 Brother MFC7360N CUPS wrapper driver
    ii dcp1000lpr:i386 1.1.2-1 Brother lpr Printer Definitions
    iU mfc7360nlpr:i386 2.1.0-1 Brother MFC-7360N LPR driver
    Last edited by madapiarist; April 20th, 2011 at 04:35 AM. Reason: added details

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •