![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
| View Poll Results: Was this HowTo helpful? | |||
| Yes |
|
168 | 87.05% |
| No |
|
25 | 12.95% |
| Voters: 193. You may not vote on this poll | |||
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Gee! These Aren't Roasted!
![]() Join Date: Jul 2007
Beans: 171
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 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 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 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 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 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$ 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 ] 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 Code:
sudo cp /usr/lib/cups/filter/brlpdwrapperMFC3820CN /usr/lib64/cups/filter Code:
cd /usr/lib/cups/filter dir 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 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 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 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$ Step 6: In Terminal type the following: Ubuntu: Code:
sudo gedit /etc/udev/rules.d/45-libsane.rules Code:
sudo kate /etc/udev/rules.d/45-libsane.rules Code:
# Brother DCP-115C
SYSFS{idVendor}=="YOUR-VENOR-ID", SYSFS{idProduct}=="YOUR-PRODUCT-ID", MODE="664", GROUP="scanner"
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"
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
__________________
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) Last edited by BoardDWorld; July 30th, 2008 at 07:50 AM.. |
|
|
|
|
|
#2 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2006
Beans: 9
|
Re: HOWTO: Gutsy 7.10 All Brother Printer Scanner Driver Installation for Newbies!
thanks for ya post - got the scanner working no probs, but on amd64 gutsy, my cups error log is full of:
Code:
E [28/Oct/2007:23:48:11 +1100] CUPS-Add-Modify-Printer: Unauthorized E [28/Oct/2007:23:48:52 +1100] cupsdAuthorize: Local authentication certificate not found! E [28/Oct/2007:23:48:52 +1100] cupsdAuthorize: Local authentication certificate not found! E [28/Oct/2007:23:48:52 +1100] cupsdAuthorize: Local authentication certificate not found! E [28/Oct/2007:23:48:57 +1100] [cups-driverd] Unable to open PPD directory "/opt/share/ppd": No such file or directory E [28/Oct/2007:23:49:05 +1100] cupsdAuthorize: Local authentication certificate not found! E [28/Oct/2007:23:49:07 +1100] cupsdAuthorize: Local authentication certificate not found! E [28/Oct/2007:23:49:07 +1100] CUPS-Add-Modify-Printer: Unauthorized E [28/Oct/2007:23:49:07 +1100] Filter "brlpdwrapperMFC210C" for printer "MFC-210C" not available: No such file or directory E [28/Oct/2007:23:49:07 +1100] Filter "brlpdwrapperMFC210C" for printer "MFC-210C" not available: No such file or directory E [28/Oct/2007:23:49:07 +1100] Filter "brlpdwrapperMFC210C" for printer "MFC-210C" not available: No such file or directory E [28/Oct/2007:23:49:40 +1100] Filter "brlpdwrapperMFC210C" for printer "MFC-210C" not available: No such file or directory E [28/Oct/2007:23:52:40 +1100] CUPS-Add-Modify-Printer: Unauthorized E [28/Oct/2007:23:53:28 +1100] cupsdAuthorize: Local authentication certificate not found! E [28/Oct/2007:23:53:32 +1100] cupsdAuthorize: Local authentication certificate not found! any help appreciated! |
|
|
|
|
|
#3 |
|
Gee! These Aren't Roasted!
![]() Join Date: Jul 2007
Beans: 171
Ubuntu 8.04 Hardy Heron
|
Re: HOWTO: Gutsy 7.10 All Brother Printer Scanner Driver Installation for Newbies!
Hello drejom,
Did you use "--force-all" when installing the driver?
__________________
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) |
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2006
Beans: 9
|
Re: HOWTO: Gutsy 7.10 All Brother Printer Scanner Driver Installation for Newbies!
yup!
|
|
|
|
|
|
#5 |
|
Gee! These Aren't Roasted!
![]() Join Date: Jul 2007
Beans: 171
Ubuntu 8.04 Hardy Heron
|
Re: HOWTO: Gutsy 7.10 All Brother Printer Scanner Driver Installation for Newbies!
Just been having a read, apparently there's no "official" support for AMD64 but try this:
Code:
sudo cp /usr/lib/cups/filter/brlpdwrapperMFC210C /usr/lib64/cups/filter
__________________
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) |
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2006
Beans: 9
|
Re: HOWTO: Gutsy 7.10 All Brother Printer Scanner Driver Installation for Newbies!
yup tried that too - but no joy.
in the meantime, i've totally screwed my system by tinkering about with other things. I'm going to do a fresh install tonight - i'll try your howto again first thing, and see how it goes. thanks again... |
|
|
|
|
|
#7 |
|
Gee! These Aren't Roasted!
![]() Join Date: Jul 2007
Beans: 171
Ubuntu 8.04 Hardy Heron
|
Re: HOWTO: Gutsy 7.10 All Brother Printer Scanner Driver Installation for Newbies!
Haha, I haven't managed to do that with Ubuntu yet, but I have done that twice with SUSE 10. (my first Linux experience)
I have added the 64bit how-to into the installation steps at Step 7. This being said I'm not able to personally test it as I'm running on 32bit.
__________________
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) |
|
|
|
|
|
#8 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2006
Beans: 9
|
Re: HOWTO: Gutsy 7.10 All Brother Printer Scanner Driver Installation for Newbies!
thanks to you both - but still no luck... i'll check the FAQ later (mine's a particularly problematic amd64)
|
|
|
|
|
|
#9 |
|
A Carafe of Ubuntu
![]() |
Re: HOWTO: Gutsy 7.10 All Brother Printer Scanner Driver Installation for Newbies!
Worked a treat for my Brother DCP 115, many thanks for taking the time to write a great how to!
|
|
|
|
|
|
#10 | |
|
Gee! These Aren't Roasted!
![]() Join Date: Jul 2007
Beans: 171
Ubuntu 8.04 Hardy Heron
|
Re: HOWTO: Gutsy 7.10 All Brother Printer Scanner Driver Installation for Newbies!
Quote:
Yes the LPR is required for older versions of Ubuntu. This guide is for Gutsy 7.10 and above that do not require the LPR, this being the reason why is not included. Did you not follow my HowTo? If you also noticed I said the brother site was a little out of date, not needing the LPR is what I was referring to mostly. Please remove your post.
__________________
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) Last edited by BoardDWorld; October 31st, 2007 at 08:50 AM.. |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|