Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

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
Old October 25th, 2007   #1
BoardDWorld
Gee! These Aren't Roasted!
 
BoardDWorld's Avatar
 
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
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
__________________
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..
BoardDWorld is offline   Reply With Quote
Old October 28th, 2007   #2
drejom
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!
I've tried copying the brlpdwrapper to /usr/lib64(etc), reinstalling cups, reinstalling the cupswrapper.deb all to no avail!
any help appreciated!
drejom is offline   Reply With Quote
Old October 28th, 2007   #3
BoardDWorld
Gee! These Aren't Roasted!
 
BoardDWorld's Avatar
 
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)
BoardDWorld is offline   Reply With Quote
Old October 28th, 2007   #4
drejom
First Cup of Ubuntu
 
Join Date: Jun 2006
Beans: 9
Re: HOWTO: Gutsy 7.10 All Brother Printer Scanner Driver Installation for Newbies!

yup!
drejom is offline   Reply With Quote
Old October 28th, 2007   #5
BoardDWorld
Gee! These Aren't Roasted!
 
BoardDWorld's Avatar
 
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
Please let me know if this works as I will update my guide.
__________________
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)
BoardDWorld is offline   Reply With Quote
Old October 29th, 2007   #6
drejom
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...
drejom is offline   Reply With Quote
Old October 29th, 2007   #7
BoardDWorld
Gee! These Aren't Roasted!
 
BoardDWorld's Avatar
 
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)
BoardDWorld is offline   Reply With Quote
Old October 30th, 2007   #8
drejom
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)
drejom is offline   Reply With Quote
Old October 30th, 2007   #9
TURNER
A Carafe of Ubuntu
 
TURNER's Avatar
 
Join Date: Mar 2007
Location: Germany (English ex pat)
Beans: 118
Ubuntu 7.04 Feisty Fawn
Send a message via MSN to TURNER
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!
TURNER is offline   Reply With Quote
Old October 31st, 2007   #10
BoardDWorld
Gee! These Aren't Roasted!
 
BoardDWorld's Avatar
 
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:
Originally Posted by mp035 View Post
Hi BoardWorld,

Great How-To! It will help many users pick up Ubuntu.

I have a couple of steps that are required for most brother printers, that are not in your how-to,

Step 3A (these steps need to happen before installing the cupswrapper driver)
go to http://solutions.brother.com/linux/s...r_drivers.html and get the brother lpr driver for Debian. The lpr driver proivides the actual printer functionality, the cupswrapper then provides the "glue" to make it work with CUPS.

Step 3B Install the lpr driver BEFORE the cupswrapper driver.
Code:
 sudo dpkg -i --force-architecture mfc210clpr-1.0.2-1.i386.deb
the force-architecture switch is used to force the 64 bit systems to accept the driver.

Any problems, visit the FAQ at http://solutions.brother.com/linux/s...nux_faq-2.html

I hope this helps someone.

Again BoardWorld, top job in puting together this how-to!!


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..
BoardDWorld is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:11 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry