View Poll Results: Was this HowTo helpful?

Voters
297. You may not vote on this poll
  • Yes

    251 84.51%
  • No

    46 15.49%
Results 1 to 10 of 503

Thread: HOWTO: Ubuntu All Brother Printer & Scanner Driver Installation for Newbies!

Threaded View

  1. #1
    Join Date
    Jul 2007
    Beans
    171
    Distro
    Ubuntu 8.04 Hardy Heron

    HOWTO: Ubuntu All Brother Printer & Scanner Driver Installation for Newbies!

    Please note this is my first How-To, if there is an error please let me know. I have comprised this simply from how I went about doing it which worked perfectly. Printing tested in Firefox, Gimp & OpenOffice. Scanning tested in Xsane.

    FIRST MAKE SURE YOUR SYSTEM HAS ALL UPDATES INSTALLED IF YOU HAVE A FRESH INSTALLATION OF UBUNTU.

    64bit printing:
    Works fine but with a little more fine tuning. HERE'S REFERENCE TO ALL PRINTERS INSTALLED SUCCESSFULLY ON UBUNTU 64BIT IN THIS THREAD: HERE, HERE and HERE

    Printer:

    I'm quite a newbie to Linux and I found it really easy to install my Printer with the help of the official Brother Linux Driver WEBSITE. The site is a little outdated but the installation still remains simple thanks to Ubuntu & not to forget Debian.

    Step 1:
    Open Terminal by selecting Applications ---- Terminal from the task bar.

    Step 2:
    Type or Copy & Paste the following into Terminal and press enter:
    Code:
    sudo apt-get install tcsh
    Step 3: (don't know if it matters but I did it anyway)
    From the task bar go to: System ---- Administration ---- Printing, select your printer that's not working then select edit and click delete.

    Step 4:
    Download the LPR Driver and CUPS Wrapper. Locate your model & download your "Debian" LPR printer driver from HERE.
    Locate your model & download your "Debian" CUPS wrapper from HERE.

    Step 5:
    Now change to the directory where the drivers are. Presuming you downloaded the driver to your desktop Type or Copy & Paste the following into Terminal:
    Code:
    cd Desktop
    Step 6:
    Create the lpd directory. This is the first I have encountered this but in Hardy the directory had to be created. Skip this and move on to Step 7 if you're using Gutsy or below. In terminal Type or Copy & Paste the following command:

    Code:
    sudo mkdir /var/spool/lpd
    Step 7:
    Install the LPR Driver. In terminal Type or Copy & Paste the following command changing mfc210clpr-1.0.2-1.i386.deb to match the driver you've downloaded. The following line is for the MFC-210C which is also used for the following printers:
    DCP-115C, DCP-117C, DCP-120C, DCP-315CN, DCP-340CW,MFC-215C, MFC-425CN, MFC-640CW, MFC-820CW

    Code:
    sudo dpkg -i --force-all mfc210clpr-1.0.2-1.i386.deb
    Step 8:
    Create the model directory. As with the lpd directory this is the first I have encountered this but in Hardy the directory had to be created. Skip this and move on to Step 9 if you're using Gutsy or below. In terminal Type or Copy & Paste the following command:

    Code:
    sudo mkdir /usr/share/cups/model

    Step 9:
    Now to install the CUPS wrapper driver. In terminal Type or Copy & Paste the following command changing cupswrapperMFC210C-1.0.2-3.i386.deb to match the driver you've downloaded.The following line is for the MFC-210C which is also used for the following printers:
    DCP-115C, DCP-117C, DCP-120C, DCP-315CN, DCP-340CW,MFC-215C, MFC-425CN, MFC-640CW, MFC-820CW
    Code:
    sudo dpkg -i --force-all cupswrapperMFC210C-1.0.2-3.i386.deb
    After the installation observe that there are no errors. Here are 2 examples of a successful and unsuccessful installation:

    Successful:
    Code:
    matthew@matthew-laptop:~/Desktop$ sudo dpkg -i --force-all cupswrapperMFC210C-1.0.2-3.i386.deb
    [sudo] password for matthew:
    (Reading database ... 119742 files and directories currently installed.)
    Preparing to replace cupswrappermfc210c 1.0.2-3 (using cupswrapperMFC210C-1.0.2-3.i386.deb) ...
     * Restarting Common Unix Printing System: cupsd                         [ OK ] 
    Unpacking replacement cupswrappermfc210c ...
    Setting up cupswrappermfc210c (1.0.2-3) ...
    rm -f /usr/lib/cups/filter/brlpdwrapperMFC210C
     * Restarting Common Unix Printing System: cupsd                         [ OK ] 
    
    matthew@matthew-laptop:~/Desktop$
    Unsuccessful:
    Code:
    turner@turner-desktop:~/Desktop$ sudo dpkg -i --force-all cupswrapperMFC210C-1.0.2-3.i386.deb
    [sudo] password for turner:
    Selecting previously deselected package cupswrappermfc210c.
    (Reading database ... 91832 files and directories currently installed.)
    Unpacking cupswrappermfc210c (from cupswrapperMFC210C-1.0.2-3.i386.deb) ...
    Setting up cupswrappermfc210c (1.0.2-3) ...
    ERROR : Brother LPD filter is not installed.
    rm -f /usr/lib/cups/filter/brlpdwrapperMFC210C
    chmod: cannot access `/usr/local/Brother/inf/brMFC210Crc': No such file or directory
    chmod: cannot access `/usr/local/Brother/inf': No such file or directory
     * Restarting Common Unix Printing System: cupsd                         [ OK ]
    If your installation was successful please continue at Step 10. If it was unsuccessful please repeat the installation at the LPR Driver installation at Step 7. Copy the output(text from the install commands in the terminal) of both the LPR and CUPS driver installations and save them to a text document for future reference. As there have been reports of errors but the the printer still worked perfectly you may have no problem. Continue on with Step 10.

    Step 10: (This is for Gutsy 64bit users only, 32bit users continue onto Step 11 )
    If you're using the MFC-210C driver Type or Copy & Paste the following command in Terminal:
    Code:
    sudo cp /usr/lib/cups/filter/brlpdwrapperMFC210C /usr/lib64/cups/filter
    If you're using another driver please adjust MFC210C to suit your model. Example for the MFC-3820CN driver:
    Code:
    sudo cp /usr/lib/cups/filter/brlpdwrapperMFC3820CN /usr/lib64/cups/filter
    If you're not sure you can check by typing the following in Terminal:
    Code:
    cd /usr/lib/cups/filter
    dir
    Step 11:
    From the task bar go to: System ---- Administration ---- Printing, select your printer and click Print Test Page. That's It!

    Please note that adjusting printer settings for all applications takes place in this Printing Configuration menu by selecting your printer then selecting the tab Printer Options.


    Not working?
    Some printers might not configure themselves without a few more adjustments as follows:

    After completing the driver installation open Firefox and enter the following into the address bar:
    Code:
    http://localhost:631
    Click on “Manage Printers” and confirm that the driver name is listed there.

    If the driver name is NOT listed there, click on "Add Printer" and install the driver following the on-screen instructions.

    The default port is USB. If you want to use a different port, click on “Modify Printer” and select the required printer port.



    Scanner:


    Unfortunately the Sane Scanner Driver wasn't quite as straight forward to setup, however it will be a lot easier with these steps:

    FIRST MAKE SURE YOUR SYSTEM HAS ALL UPDATES INSTALLED IF YOU HAVE A FRESH INSTALLATION OF UBUNTU.

    Step 1:
    Locate your model & download the appropriate "Debian" brscan or brscan2 driver from HERE. Please take note that there is a separate driver depending on whether you have a 32bit or 64bit Gutsy installed. Typically it will be 32bit.

    Step 2:
    Now change to the directory where the brscan or brscan2 driver has downloaded to. Presuming you downloaded the driver to your desktop Type or Copy & Paste the following into Terminal:
    Code:
    cd Desktop

    Step 3:

    For the brscan2 32bit driver which most will be using Install with the following command in Terminal:
    Code:
    sudo dpkg -i brscan2-0.2.4-0.i386.deb
    Please note that if you don't use the 32bit brscan2 driver change the brscan2-0.2.4-0.i386.deb in the terminal command above according to your sane driver you've downloaded. Example: brscan2-0.2.4-0.amd64.deb

    Step 4:
    Confirm you need to continue on with the following steps, I believe it is only Gutsy that has problems. Simply open Xsane, choose you scanner and click OK. If you get an I/O-Error you will need to continue onto Step 5, if it's all working you're done!

    Step 5:
    Give yourself permission to use it! At time of release it's a Gutsy Quirk/Bug... First we need to find out the Vendor ID & Product ID for our scanner or printer/scanner combo. For anyone using the DCP-115C printer/scanner ignore this step as your ID's are the same as mine; Vendor ID: 04f9 Product ID: 018c.

    Any other model type the following in Terminal:
    Code:
    lsusb
    Your output will be something like this:
    Code:
    matthew@matthew-laptop:~/Desktop$ lsusb
    Bus 005 Device 004: ID 05ca:1810 Ricoh Co., Ltd 
    Bus 005 Device 001: ID 0000:0000  
    Bus 003 Device 002: ID 03f0:171d Hewlett-Packard 
    Bus 003 Device 001: ID 0000:0000  
    Bus 002 Device 003: ID 062a:0000 Creative Labs Optical Mouse
    Bus 002 Device 001: ID 0000:0000  
    Bus 004 Device 001: ID 0000:0000  
    Bus 001 Device 003: ID 04f9:018c Brother Industries, Ltd 
    Bus 001 Device 001: ID 0000:0000  
    matthew@matthew-laptop:~/Desktop$
    Locate Brother Industries, Ltd and take note of your Vendor IDroduct ID as shown in bold in the above output and adjust Step 6 to match.

    Step 6:
    In Terminal type the following:

    Ubuntu:
    Code:
    sudo gedit /etc/udev/rules.d/45-libsane.rules
    Kubuntu:
    Code:
    sudo kate /etc/udev/rules.d/45-libsane.rules
    At the bottom of the page but before LABEL="libsane_rules_end" add the following changing YOUR-VENOR-ID & YOUR- PRODUCT-ID to yours, both are 4 characters long:
    Code:
    # Brother DCP-115C
    SYSFS{idVendor}=="YOUR-VENOR-ID", SYSFS{idProduct}=="YOUR-PRODUCT-ID", MODE="664", GROUP="scanner"
    The last section of 45-libsane.rules should look like this after adding your scanner/printer to the last line:
    Code:
    SYSFS{idVendor}=="413c", SYSFS{idProduct}=="5105", MODE="664", GROUP="scanner"
    # Dell A960
    SYSFS{idVendor}=="413c", SYSFS{idProduct}=="5107", MODE="664", GROUP="scanner"
    # Dell 922
    SYSFS{idVendor}=="413c", SYSFS{idProduct}=="5109", MODE="664", GROUP="scanner"
    # Dell 1600n
    SYSFS{idVendor}=="413c", SYSFS{idProduct}=="5250", MODE="664", GROUP="scanner"
    # Brother DCP-115C
    SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="018c", MODE="664", GROUP="scanner"
    
    LABEL="libsane_rules_end"
    Step 7:
    Save your changes and restart your PC. All going well it will be working!

    Search Aid:
    DCP-7010, DCP-7020, DCP-7025, DCP-8060, DCP-8065DN, FAX-2820, FAX-2920, HL-2030, HL-2040, HL-2070N, HL-5240, HL-5250DN, HL-5270DN, HL-5280DW, MFC-7220, MFC-7225N, MFC-7420, MFC-7820N, MFC-8460N, MFC-8660DN, MFC-8860DN, MFC-8870DW, MFC-9420CN, HL-4040CN, HL-4050CDN, HL-4070CDW, MFC-9440CN, MFC-9840CDW, DCP-9040CN, DCP-9045CDN, DCP-130C, DCP-135C, DCP-150C, DCP-153C, DCP-330C, DCP-350C, DCP-353C, DCP-540CN, DCP-560CN, DCP-750CW, DCP-770CW, FAX-1860C, FAX-1960C, FAX-2480C, FAX-2580C, MFC-230C, MFC-235C, MFC-240C, MFC-260C, MFC-3360C, MFC-440CN, MFC-465CN, MFC-5460CN, MFC-5860CN, MFC-660CN, MFC-665CW, MFC-680CN, MFC-685CW, MFC-845CW, MFC-885CW, FAX1835C, FAX1840C, FAX1940CN, FAX2440C, MFC3240C, MFC3340CN, MFC5440CN, MFC5840CN, MFC210C, MFC410CN, MFC420CN,MFC620CN,DCP110C, DCP310CN, FAX1815C, FAX1820C, FAX1920CN, MFC3220C, MFC3320CN, MFC3420C, MFC3820CN
    Last edited by BoardDWorld; July 30th, 2008 at 12:50 PM.
    OS: All Hardy!
    System: HP DV9224TX Laptop
    CPU: Core2Duo T5600 1.82GHz / RAM: 2048MB DDR2 667MHz
    HD: 240GB SATA (2x 120GB) / VGA: nVidia Gforce 7600 1024MB (512 Dedicated/512 Shared)

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
  •