PDA

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


Pages : [1] 2

BoardDWorld
October 25th, 2007, 02:33 AM
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 (http://ubuntuforums.org/showpost.php?p=4014274&postcount=98), HERE (http://ubuntuforums.org/showpost.php?p=3748048&postcount=40) and HERE (http://ubuntuforums.org/showpost.php?p=3835451&postcount=61)

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 (http://solutions.brother.com/linux/en_us/index.html). The site is a little outdated but the installation still remains simple thanks to Ubuntu & not to forget Debian (http://upload.wikimedia.org/wikipedia/commons/e/ed/LinuxDistroTimeline.png).

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:
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 (http://solutions.brother.com/linux/sol/printer/linux/lpr_drivers.html).
Locate your model & download your "Debian" CUPS wrapper from HERE (http://solutions.brother.com/linux/sol/printer/linux/cups_drivers.html).

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

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

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:

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
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:
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:
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:
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:
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:
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:
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 (http://solutions.brother.com/linux/sol/printer/linux/sane_drivers.html#model). 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:
cd Desktop

Step 3:
For the brscan2 32bit driver which most will be using Install with the following command in Terminal:
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:
lsusb

Your output will be something like this:
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 ID:Product ID as shown in bold in the above output and adjust Step 6 to match.

Step 6:
In Terminal type the following:

Ubuntu:
sudo gedit /etc/udev/rules.d/45-libsane.rules
Kubuntu:
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:
# 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:
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

drejom
October 28th, 2007, 08:03 AM
thanks for ya post - got the scanner working no probs, but on amd64 gutsy, my cups error log is full of:

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!

BoardDWorld
October 28th, 2007, 09:07 AM
Hello drejom,

Did you use "--force-all" when installing the driver?

drejom
October 28th, 2007, 09:14 AM
yup!

BoardDWorld
October 28th, 2007, 09:34 AM
Just been having a read, apparently there's no "official" support for AMD64 but try this:

sudo cp /usr/lib/cups/filter/brlpdwrapperMFC210C /usr/lib64/cups/filter

Please let me know if this works as I will update my guide.

drejom
October 29th, 2007, 12:11 AM
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...

BoardDWorld
October 29th, 2007, 04:06 AM
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.

drejom
October 30th, 2007, 12:58 PM
thanks to you both - but still no luck... i'll check the FAQ later (mine's a particularly problematic amd64)

TURNER
October 30th, 2007, 02:35 PM
Worked a treat for my Brother DCP 115, many thanks for taking the time to write a great how to!

BoardDWorld
October 31st, 2007, 07:47 AM
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/sol/printer/linux/lpr_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.
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/sol/printer/linux/linux_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.

TURNER
October 31st, 2007, 03:01 PM
Iam using a (fresh) install of Gutsy and following your "how to" without the LPR didnt work for me, upon rolling back and trying again WITH the LPR I got the printer working....I think it might be worth leaving the part ref the LPR..

BoardDWorld
October 31st, 2007, 09:31 PM
Are you sure? As you can see from my guide I too am using the DCP-115C WITHOUT the LPR. This is actually working better than Feisty that needs the LPR as page positioning was out of alignment. Also print initiating is far quicker than I have ever had it before on any OS. Are you using Gutsy or an earlier OS? as my guide is focussed at Gutsy.

dukbilt
November 1st, 2007, 10:52 PM
Hi,

thanks for the guide. Unfortunately, it didn't help me. I have an MFC-425CN connected as a networked printer, and after following your guide the printer doesn't print. I don't get any error messages whatsoever.

I have another installation of Ubuntu (7.04) and the printer works properly - I have to re-boot to this installation to print documents, and it's frustrating having to do this!

I originally installed the printer WITH the LPR driver, following the same routine I had used under earlier Ubuntu installations. However, when printing, the top of the page was missing (about an inch or so). When I discovered your How-To, I uninstalled the Brother LPR and CUPSWrapper drivers, then re-installed CUPSWrapper (without the LPR driver). Unfortunately, the printer doesn't work at all. It is detected, and I can change settings, but it just doesn't print.

Here's a printout from "printingbuginfo" which I have included in case there's anything of use.

Thanks,

Ewan

ProblemType: printingbuginfo v2.0: printingbug (https://wiki.ubuntu.com/PrintingBugInfoScript)
CupsConfiguredDevices:
device for MFC210C: socket://192.168.0.2:9100
device for PDF: cups-pdf:/
CupsConfiguredPPDs:
MFC-425CNold: Brother MFC-210C CUPS v1.1
MFC210C: Brother MFC-210C CUPS v1.1
PDF: Generic PDF file generator
Date: Fri Nov 2 13:33:40 2007
DesktopEnvironment: GNOME
DistroRelease: Ubuntu 7.10
EtcPapersize: A4
InstalledPrintingPackages:
ii cupsys 1.3.2-1ubuntu7 Common UNIX Printing System(tm) - server
ii cupsys-driver-gutenprint 5.0.1-0ubuntu8 printer drivers for CUPS
ii foo2zjs 20070625-0ubuntu1 Support for printing to ZjStream-based printers
ii foomatic-db 20070919-0ubuntu3 OpenPrinting printer support - database
ii foomatic-db-engine 3.0.2-20070719-0ubuntu4 OpenPrinting printer support - programs
ii foomatic-db-hpijs 20070813-0ubuntu1 OpenPrinting printer support - database for HPIJS driver
ii foomatic-filters 3.0.2-20070719-0ubuntu1 OpenPrinting printer support - filters
ii ghostscript 8.61.dfsg.1~svn8187-0ubu The GPL Ghostscript PostScript/PDF interpreter
ii hpijs 2.7.7+2.7.7.dfsg.1-0ubun HP Linux Printing and Imaging - gs IJS driver (hpijs)
ii hplip 2.7.7.dfsg.1-0ubuntu5.1 HP Linux Printing and Imaging System (HPLIP)
ii libgnomeprint2.2-0 2.18.2-0ubuntu1 The GNOME 2.2 print architecture - runtime files
ii min12xxw 0.0.9-1build1 Printer driver for KonicaMinolta PagePro 1[234]xxW
ii openprinting-ppds 20070919-0ubuntu3 OpenPrinting printer support - PostScript PPD files
ii pnm2ppa 1.12-16 PPM to PPA converter
ii pxljr 1.1-0ubuntu1 Driver for HP's Color LaserJet 35xx/36xx color laser printers
ii splix 1.0.1.1-0ubuntu2 Driver for Samsung's SPL2 (bw) and SPLc (color) laser printers
ii system-config-printer 0.7.75+svn1653-0ubuntu2 Printer configuration GUI
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8, LC_PAPER=en_AU.UTF-8
Uname: Linux latitude 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux

camiguin
November 2nd, 2007, 04:20 AM
Thanks for the detailed Howto. I followed it carefully and didn't resolve the problem (not printing on Brother DCP-115C after Gutsy upgrade, although it does scan). However, the symptoms have changed: before, the print job disappeared from the screen after a while, now it stays forever, in both cases nothing coming out of the printer; also, now the URI in Printers - Interface is wrong, and I cannot modify it, since the option "local printer" is greyed out. What can I do? Many thanks

phobos512
November 2nd, 2007, 09:39 PM
Thanks for the how-to! I am now able to print to our networked MFC-640CW.

The scanner function still eludes me however. I followed the how-to and when I start XSane it tells me there are no scanners. Would the problem be that it is networked rather than directly attached? I have a feeling it is...

Mr.Mechano
November 3rd, 2007, 12:13 PM
Hi,

thanks for the guide. Unfortunately, it didn't help me. I have an MFC-425CN connected as a networked printer, and after following your guide the printer doesn't print. I don't get any error messages whatsoever.



Hi there!

I've been able to setup the same printer on Gutsy.

If networked you have to go into cups web interface http://localhost:631 and modify printer port.
It's not an IPP o TCP network queue.

IT'S AN LPD/LPRNG NETWORK QUEUE.

After selecting LPD queue set the address on socket://IPADDRESS:9100
(change IPADDRESS with the hostname or ip address of your printer).

It will work also without installing the LPD brother driver...

Don't forget to setup paper and margins, and the True2life color enancement for better color printing.

dukbilt
November 3rd, 2007, 05:57 PM
Still no joy - when I attempt to print, I receive an error - "/usr/lib/cups/filter/brlpdwrapperMFC210C failed". Why is it attempting to use the brlpdwrapper driver if it doesn't need it???

So I removed the brlpdwrapper file - now I get:

Unable to start filter "brlpdwrapperMFC210C" - No such file or directory.

Any suggestions?

Ewan

EDIT - I have looked through the script file for "cupswrapperMFC210C-1.0.2" and it creates the "brlpdwrapperMFC210C" automatically... So the problem is either in one of those two files, I think.

Ewan

EDIT - I have discovered that the brprintconfij2 file did not exist in the /usr/bin directory. I copied the file from my Ubuntu 7.04 installation into the /usr/bin (7.10) and now there are no CUPS errors! However - it still won't print! AAARRRGGGGHHHHHH!!!! I have tried re-starting CUPS, but to no avail... Any suggestions now?

nathandetroit
November 4th, 2007, 04:24 PM
My Brother MFC-420CN stopped printing after I upgraded to Ubuntu 7.10. I tried various things as outlined in the this discussion. Here is what finally worked for me:

Uninstalled all "mfc" related packages (ran System -> Administration -> Synaptic Package Manager; searched for "mfc" and removed all matching PRINTER RELATED packages).

Downloaded and installed latest packages from the Brother site INCLUDING the lpr package. Installed the lpr package first, then the cupswrapper as follows:

sudo dpkg -i --force-all mfc420cnlpr-1.0.2-1.i386.deb

sudo dpkg -i --force-all cupswrapperMFC420CN-1.0.2-3.i386.deb

Now, I understand that Ubuntu 7.10 does not require the lpr package anymore, but I think the Brother scripts expect it, because when I do NOT install the lpr package first I get this (note the error) when I install the cupswrapper::

Selecting previously deselected package cupswrappermfc420cn.
(Reading database ... 142310 files and directories currently installed.)
Unpacking cupswrappermfc420cn (from cupswrapperMFC420CN-1.0.2-3.i386.deb) ...
Setting up cupswrappermfc420cn (1.0.2-3) ...
ERROR : Brother LPD filter is not installed.
rm -f /usr/lib/cups/filter/brlpdwrapperMFC420CN
chmod: cannot access `/usr/local/Brother/inf/brMFC420CNrc': No such file or directory
chmod: cannot access `/usr/local/Brother/inf': No such file or directory
* Restarting Common Unix Printing System: cupsd

As a final note, it does not appear to me that Ubuntu is acutally *using* the lpr package, but it does seem to make the cupswrapper installation work.

In any case, my printer is now working fully (I also did the scanner update as noted earlier in this discussion), and I am once again a happy Ubuntu user.

Jose Catre-Vandis
November 4th, 2007, 05:46 PM
Shame you missed the long running howto and various links for setting up Brother printers on the forum already:

http://ubuntuforums.org/showthread.php?t=105703

http://ubuntuforums.org/showthread.php?t=302960

http://ubuntuforums.org/showthread.php?t=123539

Anyhow, these threads might help those who get stuck. Also interested to see that you didn't have to switch off the printer/MFC at any point. This was a big stumbling point with Edgy/Feisty for many users.

djin44
November 4th, 2007, 07:28 PM
My Brother MFC-420CN stopped printing after I upgraded to Ubuntu 7.10. I tried various things as outlined in the this discussion. Here is what finally worked for me:

Uninstalled all "mfc" related packages (ran System -> Administration -> Synaptic Package Manager; searched for "mfc" and removed all matching PRINTER RELATED packages).

Downloaded and installed latest packages from the Brother site INCLUDING the lpr package. Installed the lpr package first, then the cupswrapper as follows:

sudo dpkg -i --force-all mfc420cnlpr-1.0.2-1.i386.deb

sudo dpkg -i --force-all cupswrapperMFC420CN-1.0.2-3.i386.deb

Now, I understand that Ubuntu 7.10 does not require the lpr package anymore, but I think the Brother scripts expect it, because when I do NOT install the lpr package first I get this (note the error) when I install the cupswrapper::

Selecting previously deselected package cupswrappermfc420cn.
(Reading database ... 142310 files and directories currently installed.)
Unpacking cupswrappermfc420cn (from cupswrapperMFC420CN-1.0.2-3.i386.deb) ...
Setting up cupswrappermfc420cn (1.0.2-3) ...
ERROR : Brother LPD filter is not installed.
rm -f /usr/lib/cups/filter/brlpdwrapperMFC420CN
chmod: cannot access `/usr/local/Brother/inf/brMFC420CNrc': No such file or directory
chmod: cannot access `/usr/local/Brother/inf': No such file or directory
* Restarting Common Unix Printing System: cupsd

As a final note, it does not appear to me that Ubuntu is acutally *using* the lpr package, but it does seem to make the cupswrapper installation work.

In any case, my printer is now working fully (I also did the scanner update as noted earlier in this discussion), and I am once again a happy Ubuntu user.

I had problems with the MFC-210C not working when I only installed the CUPS, but when I followed these steps and included the LPR, it worked perfectly, thanks nathan.

mp035
November 4th, 2007, 08:03 PM
--deleted--

BoardDWorld
November 4th, 2007, 10:51 PM
As you can see there are already people that have said here that they are not using the LPR. And general rule of thumb it will be mostly people with problems that are going to add remarks to this thread.

That's great to anyone of you who have managed to get it running with the LPR. Though this is strange as it isn't suppose to be required and is in fact performing better without it on my system.

I can only gather that as future (less buggy) releases of Ubuntu become available not using the LPR will be more applicable to my HowTo.

Jose Catre-Vandis:

The threads you provided while they are still currently valid are all for anything prior to Gutsy's new printing system, this most likely being the reason why my HowTo was approved. Also the new printing system has resolved a couple of major head aches I had in Feisty that uses the LPR.

Via Gutsy's new printing system without the LPR I am having a very pleasant printing experience.

dukbilt
November 5th, 2007, 04:22 AM
For those that do have printing with the MFC-210C working, do you mind posting the following files:

/usr/lib/cups/filter/brlpdwrapperMFC210C

/usr/share/cups/model/brmfc210c_cups.ppd

/usr/local/Brother/lpd/filterMFC210C

/usr/bin/brprintconfij2

In the reply, please let us know if any of the files are in different locations to what I have listed as the directory location, and also if you installed the LPR driver or not.

Also, a screen print of all the "mfc" programs listed under synaptic or similar would be helpful.

Finally, please add in any files (with their locations) that you think will help.

TIA,

Ewan

jfank
November 6th, 2007, 04:34 AM
Ok I'm extremely new to linux myself, and I can't get the printer to install. I have the Brother MFC420CN, and I am using the newest version of Kubuntu. I did everything that was described in the original post on this topic, and it will tell me that there is the printer, but it just won't print. Now with Kubuntu when you go to system, there is no admin, printer. the only thing I get there is for HP printers. I'm just confused on what to do, because nothing is working for me. If I didn't describe this well enough please let me know, and I will try to explaine it better. Thank you for the help.

TURNER
November 6th, 2007, 05:14 AM
I am currently reinstalling my printer in an effort to have it printing correctly, at the moment all of my prints are blurred and the quality shocking....as I am currently re installing using your how to I'd like to highlight the following:

OS: Ubuntu 7.10 gutsy.

upon installing the relevant cups (MFC 210 in this case) I receive the following error:

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 ]

seems in my case the LPR is required....unsure why.

dukbilt
November 6th, 2007, 05:31 AM
I had this issue - it's a result of the installation software attempting to delete files or folders which do not exist. In your case, /usr/local/Brother/inf/brMFC210Crc and /usr/local/Brother/inf. I don't know if it actually stops the installation or not, but to eliminate the error:

Open a terminal window, then type "sudo nautilus" and then enter your password (this starts nautilus as administrator, to allow you to create folders in the / partition).

Use the new nautilus program which appeared to go to the "/usr/Brother" directory.

Create a folder called "inf" in the "/usr/Brother" directory.

Open the "/usr/Brother/inf" directory.

Create a folder titled ""brMFC210Crc" in /usr/local/Brother/inf directory.

Exit out of nautilus.

In the terminal window, type "sudo dpkg -i --force-all cupswrapperMFC210C-1.0.2-3.i386.deb" and it should work.

NOTE: It think it WILL come up with "ERROR : Brother LPD filter is not installed" but I think the other errors should not occur.

Good luck!

Ewan

jfank
November 6th, 2007, 07:48 AM
Okay, nevermind that last reply I put in here about it not installing. I found out what the problem was. I was making a error when I typed in the command for the driver file. I kept putting in the wrong letter, and it wouldn't work for me. I have it installed now, and the printer, and the scanner are working perfectly. That was excellent steps that you gave us to follow.

ilkkak
November 6th, 2007, 12:29 PM
Brother DCP-330C installation didn't work

I repeated steps 1 - 5


i@ijar:~$ sudo dpkg -i --force-all cp330ccupswrapper-1.0.0-10.i386.deb
Valitsen aikaisemmin valitsemattoman paketin dcp330ccupswrapper.
(Luetaan tietokantaa... 135049 tiedostoa ja hakemistoa tällä hetkellä asennettuna.)
Puretaan pakettia dcp330ccupswrapper (.../dcp330ccupswrapper-1.0.0-10.i386.deb)...
dpkg: dcp330ccupswrapper: riippuvuusongelmia, mutta konfiguroin kuitenkin kuten pyysit:
dcp330ccupswrapper depends on dcp330clpr; however:
Package dcp330clpr is not installed.
Säädän asetukset: dcp330ccupswrapper (1.0.0-10) ...
ERROR : Brother LPD filter is not installed.
chmod: tiedostoa "/usr/local/Brother/Printer/dcp330c/inf/brdcp330crc" ei voi käsitellä: No such file or directory
chmod: tiedostoa "/usr/local/Brother/Printer/dcp330c/inf" ei voi käsitellä: No such file or directory
* Restarting Common Unix Printing System: cupsd

Printer exists in system and

i@ijar:~$ lsusb | grep Brother
Bus 003 Device 003: ID 04f9:01a9 Brother Industries, Ltd
i@ijar:~$

Test print doesn't function. Syslog event is


Nov 6 18:43:29 localhost NetworkManager: <debug> [1194367409.737557] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_4f9_1a9_BROH6F567037_if2_scsi_host').
Nov 6 18:43:29 localhost NetworkManager: <debug> [1194367409.744200] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_4f9_1a9_BROH6F567037_if2_scsi_host_scsi _device_lun0').
Nov 6 18:43:29 localhost NetworkManager: <debug> [1194367409.765023] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_4f9_1a9_BROH6F567037_if2_scsi_host_scsi _device_lun0_scsi_generic').
Nov 6 18:43:29 localhost NetworkManager: <debug> [1194367409.988265] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/storage_serial_Brother_DCP_330C_BROH6F567037_0_0') .
Nov 6 18:43:38 localhost kernel: [ 2118.034031] ppdev0: registered pardevice
Nov 6 18:43:38 localhost kernel: [ 2118.081384] ppdev0: unregistered pardevice
Nov 6 18:43:38 localhost kernel: [ 2118.133509] audit(1194367418.471:5): type=1503 operation="sysctl" requested_mask="r" denied_mask="r" name="/proc/sys/dev/parport/parport0/autoprobe" pid=7727 profile="/usr/sbin/cupsd"
Nov 6 18:43:40 localhost python: [7733]: warning: Unable to set locale.


and in print-report there is the message "Printer not connected - retry in 30 seconds"

I also changed apparmor mode as

sudo aa-complain cupsd


Please - any succestion.

BoardDWorld
November 6th, 2007, 10:09 PM
Anyone receiving these LPR and chmod errors as described in the last few posts should install the LPR. A successful installation without the LPR should look something like this(as if it had the LPR installed):

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$

I will adjust my HowTo to incorporate the LPR if necessary.

I don't know quite why this is working for some but not others, I can only gather it's due to the new printing system in Ubuntu being not quite so complete.

dukbilt
November 7th, 2007, 01:43 AM
ONCE AGAIN: FOR THOSE WHO HAVE THE MFC-210C INSTALLATION WORKING WITHOUT LPR, PLEASE SUBMIT

/usr/lib/cups/filter/brlpdwrapperMFC210C

/usr/share/cups/model/brmfc210c_cups.ppd

/usr/local/Brother/lpd/filterMFC210C

/usr/bin/brprintconfij2

In the reply, please let us know if any of the files are in different locations to what I have listed as the directory location, and also if you installed the LPR driver or not.

Also, a screen print of all the "mfc" programs listed under synaptic or similar would be helpful.

Finally, please add in any files (with their locations) that you think will help.

TIA,

Ewan

jfank
November 7th, 2007, 02:16 AM
Ok now I need help with the SCANNER DRIVER INSTALL. When I copy and past sudo gedit /etc/udev/rules.d/45-libsane.rules IT tells me the following:

jfank2006@Justin-laptop:~/Desktop$ sudo gedit /etc/udev/rules.d/45-libsane.rules
sudo: gedit: command not found

I'm now running Kubuntu, and I don't know if I have to type something different in to get that part to work. Can someone help me out with this so I can get the scanner drivers installed. Thank you.

BoardDWorld
November 7th, 2007, 04:27 AM
ONCE AGAIN: FOR THOSE WHO HAVE THE MFC-210C INSTALLATION WORKING WITHOUT LPR, PLEASE SUBMIT

/usr/lib/cups/filter/brlpdwrapperMFC210C

/usr/share/cups/model/brmfc210c_cups.ppd

/usr/local/Brother/lpd/filterMFC210C

/usr/bin/brprintconfij2

In the reply, please let us know if any of the files are in different locations to what I have listed as the directory location, and also if you installed the LPR driver or not.

Also, a screen print of all the "mfc" programs listed under synaptic or similar would be helpful.

Finally, please add in any files (with their locations) that you think will help.

TIA,

Ewan

Here we go, as you know I'm not using, nor ever have used, the LPR Driver. All files were in the locations you have shown. Hope this helps!

BoardDWorld
November 7th, 2007, 04:31 AM
Ok now I need help with the SCANNER DRIVER INSTALL. When I copy and past sudo gedit /etc/udev/rules.d/45-libsane.rules IT tells me the following:

jfank2006@Justin-laptop:~/Desktop$ sudo gedit /etc/udev/rules.d/45-libsane.rules
sudo: gedit: command not found

I'm now running Kubuntu, and I don't know if I have to type something different in to get that part to work. Can someone help me out with this so I can get the scanner drivers installed. Thank you.

Here's the same answer to the private message you first sent (sorry I didn't see this post):

Yes sorry, my fault. Kubuntu(KDE) uses its own text editors (Kate, Kedit, and Kwrite). Ubuntu(Gnome) uses Gedit etc...

I think kwrite was the most popular when I tried Linux Suse 10. Try anyone of the following commands:

sudo kwrite /etc/udev/rules.d/45-libsane.rules

sudo kedit /etc/udev/rules.d/45-libsane.rules

sudo kate /etc/udev/rules.d/45-libsane.rules

Please let me know how each command works and which editor you preferred. Also I'm interested in knowing what you think of Kubuntu over Ubuntu?



Edit:
I've done some research and kate is suppose to be the best...

jfank
November 7th, 2007, 05:35 AM
I got everything to work perfectly with the scanner after you helped me out. the onyl problem I have is the glass part of the scanner needs some serious cleaning :lolflag: Anyhow I used the KWRITE and it brought up what I needed to to add the part for the printer in at the bottom of the page. KATE also works, it just brings up a smaller side screen thing like how Adobe Acrobat Reader has the side deal on the left. They both work, but I just used the KWRITE since it was the first, and then i tested the other two. The KEDIT didn't do anything. But now my scanner is working, and Thank you for helping me with it.

I had everything working perfectly on Ubuntu, but when I switched to Kubuntu it had a different type of script than what normal Ubuntu has. Everything works perfectly though. Now only if I can get Halo to work on Linux. lol:lolflag:

whistlerspa
November 9th, 2007, 09:49 PM
Back to the printer issue - thanks that got my printer going again - but no joy on the scanner side.

recorded an IO error every time.

Am3ndment
November 10th, 2007, 01:49 PM
Worked like a charm! Thanks a lot!

cyberia81
November 10th, 2007, 02:29 PM
Hello! Thanks for the guide. I'm looking forward to using it. However, I have a bit of a problem as referenced in this thread: http://ubuntuforums.org/showthread.php?t=217952&highlight=hl5140lpr
I tried installing a laser printer. Something went terribly wrong. I decided to get rid of it and I'm getting this error:

stephanie@boxofmallards:~$ sudo apt-get install tcsh
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
hl5140lpr
The following NEW packages will be installed:
tcsh
0 upgraded, 1 newly installed, 1 to remove and 11 not upgraded.
1 not fully installed or removed.
Need to get 338kB of archives.
After unpacking 709kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com gutsy/universe tcsh 6.14.00-7 [338kB]
Fetched 338kB in 6s (52.9kB/s)
(Reading database ... 132943 files and directories currently installed.)
Removing hl5140lpr ...
/var/lib/dpkg/info/hl5140lpr.postrm: 3: /etc/init.d/lpd: not found
dpkg: error processing hl5140lpr (--remove):
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
hl5140lpr
E: Sub-process /usr/bin/dpkg returned an error code (1)


I now want to install a Brother MFC-465CN all-in-one but I can't get anywhere until I solve this problem. Any ideas would be greatly appreciated!

xaph
November 10th, 2007, 11:40 PM
Not a Linux wizard however a friend Richard T is a "Arch Linux Wizard" and assisted with the following, hope it may assist others, my printer now works fine.

Please note this was for 7.10 distro and on AMD 64 CPU.


HOW TO INSTALL THE MFC440CN Brother Printer for Ethernet use.
============================

1. apt-get install alien (to be able to convert rpm to deb
2. used the arch-linux instructions with modifications:
from this link download the .rpm files below

http://eithansmith.wordpress.com/2007/10/24/cups-driver-for-brother-mfc440cn/


mfc440cncupswrapper-1.0.0-9.i386.rpm
mfc440cnlpr-1.0.0-9.i386.rpm

3. Run these commands as root (sudo -s and put in your user password):

alien -d mfc440cnlpr-1.0.0-9.i386.rpm
alien -d mfc440cncupswrapper-1.0.0-9.i386.rpm

to generate these files:

mfc440cncupswrapper_1.0.0-10_i386.deb
mfc440cnlpr_1.0.0-10_i386.deb

Install these files by simply clicking on them in a file manager.

4. as root type this in;
root# cd /usr/local/Brother/Printer/mfc440cn/cupswrapper
root# ./cupswrappermfc440cn

5. Now go to the browser admin for cups:

http://localhost:631/ (e.g in firefox).

And make sure the printer has the correct driver and it should work.


Good Luck:grin::grin::grin:

BoardDWorld
November 11th, 2007, 12:19 AM
Not a Linux wizard however a friend Richard T is a "Arch Linux Wizard" and assisted with the following, hope it may assist others, my printer now works fine...

...Good Luck:grin::grin::grin:

Hey That's awesome thanks. I will reference this for now until I work out from the debs what was required to get it running.

BoardDWorld
November 11th, 2007, 12:27 AM
Hello! Thanks for the guide. I'm looking forward to using it. However, I have a bit of a problem as referenced in this thread: http://ubuntuforums.org/showthread.php?t=217952&highlight=hl5140lpr
I tried installing a laser printer. Something went terribly wrong. I decided to get rid of it and I'm getting this error:

stephanie@boxofmallards:~$ sudo apt-get install tcsh
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
hl5140lpr
The following NEW packages will be installed:
tcsh
0 upgraded, 1 newly installed, 1 to remove and 11 not upgraded.
1 not fully installed or removed.
Need to get 338kB of archives.
After unpacking 709kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com gutsy/universe tcsh 6.14.00-7 [338kB]
Fetched 338kB in 6s (52.9kB/s)
(Reading database ... 132943 files and directories currently installed.)
Removing hl5140lpr ...
/var/lib/dpkg/info/hl5140lpr.postrm: 3: /etc/init.d/lpd: not found
dpkg: error processing hl5140lpr (--remove):
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
hl5140lpr
E: Sub-process /usr/bin/dpkg returned an error code (1)


I now want to install a Brother MFC-465CN all-in-one but I can't get anywhere until I solve this problem. Any ideas would be greatly appreciated!

Sorry I'm a little lost with that output. Firstly why is the LPR driver being removed to install tcsh?

nu2lnx
November 11th, 2007, 06:14 PM
In attempt after attempt my Ubuntu experience has been better than my Fedora experience. I am running Fedora on my desktop and Ubuntu on my laptop. I have been able to get wireless and mp3 playback operational in half the time it has taken me on my desktop and now, after a week of effort on Fedora, I still cant print. In my first attempt on Ubuntu I was able to get the spiffy CUPS test page to print. I am about to attempt the scanner driver install, but my confidence is high that this to will be a straight forward install.

I am very impressed with everything Ubuntu so far - keep up the outstanding work!

cyberia81
November 11th, 2007, 06:34 PM
Thank you for the reply. The error I kept getting was a result of a botched install a few weeks ago. It kept preventing me from installing ANYTHING new. I think I fixed my problem. I kept getting this:

stephanie@boxofmallards:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
hl5140lpr
0 upgraded, 0 newly installed, 1 to remove and 11 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 132943 files and directories currently installed.)
Removing hl5140lpr ...
/var/lib/dpkg/info/hl5140lpr.postrm: 3: /etc/init.d/lpd: not found
dpkg: error processing hl5140lpr (--remove):
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
hl5140lpr
E: Sub-process /usr/bin/dpkg returned an error code (1)
stephanie@boxofmallards:~$

I removed the hl5140lpr.postrm file manually, ran sudo apt-get install -f again and all seems well. Sorry, this is monumental for me as I am just getting the hang of this! I finally solved my own problem... :D

Now I can use your guide to install my new MFC-465CN. Thank you!

nu2lnx
November 11th, 2007, 08:02 PM
Seems I spoke a touch too soon... After modifying the 45-libsane.rules I rebooted. Everything is going just great, but can't get the scanner to work. When I run xsane is gives me an error stating:

Failed to open device 'brother2:net1;dev0': Invalid argument

um.. yeah... Help?

cyberia81
November 12th, 2007, 10:13 PM
Back again...

I finally installed the drivers without a problem. I was able to print a test page once. Somehow I manged to screw something up and now nothing prints.

This is what I have in CUPS:

Description: MFC440CN
Location: Office
Printer Driver: Brother MFC-440CN CUPS v1.1
Printer State: idle, accepting jobs, published.
Device URI: ipp://192.168.0.3:9100

When I click to print a test page it appears like it is going to work (LCD lights up on the printer) but nothing happens. Cups displays "Connected to 192.168.0.3:9100."

What am I doing wrong? I have no idea if that URI is correct- I was guessing.

Any help would be greatly appreciated. Thanks!

plunkjunket
November 12th, 2007, 10:49 PM
Thank You,

This is the most complete instructions for Ubuntu printing I have found. I follow you instruction step by step and it work the first time.:)

UBUNTU 7.10
Dell Dimension 8250
Brother HL-2070N

trash
November 17th, 2007, 12:44 AM
grrrrr, I hate printers lol.

can anybody help me out here, I had errors on step 5 or 6 so I had to install lpr but now i am still getting errors...

Preparing to replace mfc240ccupswrapper 1.0.0-10 (using mfc240ccupswrapper-1.0.0-10.i386.deb) ...
/var/lib/dpkg/info/mfc240ccupswrapper.prerm: 3: /usr/local/Brother/Printer/mfc240c/cupswrapper/cupswrappermfc240c: not found
dpkg: warning - old pre-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 3: /usr/local/Brother/Printer/mfc240c/cupswrapper/cupswrappermfc240c: not found
dpkg: error processing mfc240ccupswrapper-1.0.0-10.i386.deb (--install):
subprocess new pre-removal script returned error exit status 127
/var/lib/dpkg/info/mfc240ccupswrapper.postinst: 3: /usr/local/Brother/Printer/mfc240c/cupswrapper/cupswrappermfc240c: not found
cp: cannot stat `/usr/share/cups/model/brmfc240c.ppd': No such file or directory
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
mfc240ccupswrapper-1.0.0-10.i386.deb

trash
November 17th, 2007, 09:53 AM
sudo rm /var/lib/dpkg/info/mfc240ccupswrapper*

seems to have got me past the install error:)

saulysw
November 17th, 2007, 05:23 PM
Thanks! Worked a treat with my MFC-640CW.

One minor comment. In step 7, it did complain that it couldn't create some directories. Doesn't seem to stop it from working fine though.

BoardDWorld
November 18th, 2007, 12:20 AM
sudo rm /var/lib/dpkg/info/mfc240ccupswrapper*

seems to have got me past the install error:)

Interesting you had to remove the cups seeing the LPR is being forced? I will add it to my How-To if it's mentioned again. Thanks!

trash
November 18th, 2007, 02:10 AM
Interesting you had to remove the cups seeing the LPR is being forced? I will add it to my How-To if it's mentioned again. Thanks!

I actually thought it was cause by previous failed attempts installing... still might come in handy for othes though.
Thanks for the howto!

Roger Mudd
November 18th, 2007, 04:09 AM
Great work! I have a DCP-7020 and had been trying to follow the instructions on Brother's web site with little luck. Your well-written HOWTO did the trick and I'm up and running with what appears to be fully functional MFC. One step closer to removing Windows altogether. Thanks again!

ericartman
November 20th, 2007, 11:55 AM
Another one adding my vote for installing lpr first. Then Cupswrapper, worked like a charm, Thank you. Have now used instructions on my MInt 32 bit and all went well. I know its ubuntu based but just fyi
.

Cart

ikester8
November 20th, 2007, 12:20 PM
Marvelous! Your method worked perfectly for my Brother HL-2070N with just a couple of small changes, all of which were menu options under System | Administration | Printing when I got to that point.

I then just deleted the old printer, changed the uri to the network address, changed the paper size to letter and viola! I had been struggling with this for days now, ever since upgrading to Gutsy. Thanks a ton!

neoroses
November 20th, 2007, 05:28 PM
i cannot for the life of me get the dcp-135c to work ???? errors everywhere lol any special ways for this printer?

keywest
November 20th, 2007, 11:33 PM
My Brother MFC 8420 was detected and installed as a printer automatically by Ubuntu 7.10. I jumped directly to the Scanner section and followed the steps without error other than the I/O errors after step 4 and after step 7. I deleted the printer and started with the printer steps and encountered the following errors installig the lpr driver. The cupswrapper installed fine. Have not been able to make work as a scanner yet even though it worked fine with Kubuntu 7.0.4
Preparing to replace mfc8420lpr 1.1.2-1 (using mfc8420lpr-1.1.2-1.i386.deb) ...
Unpacking replacement mfc8420lpr ...
/var/lib/dpkg/info/mfc8420lpr.postrm: 3: /etc/init.d/lpd: not found
dpkg: warning - old post-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: 3: /etc/init.d/lpd: not found
dpkg: error processing mfc8420lpr-1.1.2-1.i386.deb (--install):
subprocess new post-removal script returned error exit status 127
/var/lib/dpkg/tmp.ci/postrm: 3: /etc/init.d/lpd: not found
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
mfc8420lpr-1.1.2-1.i386.deb

floresena
November 22nd, 2007, 03:22 AM
Hi BoarDWorld,

Thanks for your useful post.

The only thing is that I found an error in it. In the step 5 of the scanner installation you noted that Product ID for Brother MFC-215C is 018c. I tried this way and it didn't work.

So I executed the lsub command in the terminal and found that the Product ID for that printer-scanner is 0193 (the Vendor ID is the same you noted).

I changed it and it works perfectly.

Euandownunder
November 22nd, 2007, 05:13 AM
Thanks guys!..that how-to worked a treat..i can now use my Brother DCP-540CN scanner! One more thing to go, and i can finally be rid of Windows forever!!

BoardDWorld
November 22nd, 2007, 06:57 AM
Hi BoarDWorld,

Thanks for your useful post.

The only thing is that I found an error in it. In the step 5 of the scanner installation you noted that Product ID for Brother MFC-215C is 018c. I tried this way and it didn't work.

So I executed the lsub command in the terminal and found that the Product ID for that printer-scanner is 0193 (the Vendor ID is the same you noted).

I changed it and it works perfectly.

Hey thanks for that, you're quite right. That was daft of me as it will only apply to DCP-115C printers of course. It's now adjusted, Thanks!

BoardDWorld
November 22nd, 2007, 07:31 AM
i cannot for the life of me get the dcp-135c to work ???? errors everywhere lol any special ways for this printer?

Hello, I have taken a look at brothers website and it seems that it may not configure itself without a few more adjustments as follows:

After completing the driver installation open Firefox and enter the following into the address bar:
http://localhost:631

Click on “Manage Printers” and confirm that the device name(DCP135C) is listed there.

If the device 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.


Hope this helps!

C-A
November 24th, 2007, 11:06 PM
Worked great for my MFC-440-CN Printer!
Thanks!

blazoner
November 25th, 2007, 08:29 AM
Network MFC420CN on Gutsy 7.10 64bit:

After following steps 1-9 listed in the tutorial, printing from my MFC420CN still wasn't working, so I found another step from the Brother website:

A note from the BSC Linux Support FAQ for Printer (http://solutions.brother.com/linux/sol/printer/linux/linux_faq-2.html):
* I am using a AMD64 bit version of Debian/Ubuntu Linux. I installed both LPD/LPRng driver and the CUPS Wrapper driver, but I cannot print.

Install "lib32stdc++6" or "ia32-libs".Also:* I'm using an AMD64 bit version of Linux. Can I use the Brother Linux printer drivers?

Yes, but please note the following conditions:

For DPKG package users:
Install the driver using the command option "--force-architecture".
If you cannot print, install lib32stdc++6 or ia32-libs.

Also, try copying the file which name starts with "brlpdwrapper" in the
" /usr/lib/cups/filter" to the "/usr/lib64/cups/filter".
After installing both lib32stdc++6 and ia32-libs for good measure, and setting "Device:" to "LPD/LPR Host or Printer" on the second page of the "Modify Printer" dialog, with device URI set to "lpd://xxx.xxx.xxx.xxx", my test page fired right up!

wickedlester
November 25th, 2007, 12:12 PM
Thanks for this howto. I set up my brother MFC-240C with no troubles. everything works great.

tvaddict
November 25th, 2007, 04:17 PM
Thankyou for a comprehensive easy guide to install the Brother printer-scanner, I tried 64 bit Ubuntu and and couldn't get it to work, so I installed the i386 ubuntu and have now got my Brother DCP-115C working fine, thanks again from a newbee::)

Perhaps someone can give me a step by step for Ubuntu AMD64

BoardDWorld
November 26th, 2007, 11:13 AM
Thankyou for a comprehensive easy guide to install the Brother printer-scanner, I tried 64 bit Ubuntu and and couldn't get it to work, so I installed the i386 ubuntu and have now got my Brother DCP-115C working fine, thanks again from a newbee::)

Perhaps someone can give me a step by step for Ubuntu AMD64

There's enough info posted by others in this thread to confidently add the information required. I'll update it tomorrow.

BoardDWorld
November 26th, 2007, 11:19 AM
Network MFC420CN on Gutsy 7.10 64bit:

After following steps 1-9.....

Thanks for sharing this, I'm sure it will help others.

nikef
November 26th, 2007, 12:02 PM
Hey thanks for that, you're quite right. That was daft of me as it will only apply to DCP-115C printers of course. It's now adjusted, Thanks!

Hi thanks for this great how to
i am running ubuntu gutsy gibbon 7.10
i have installed my printer,and it prints :)

but i can not get my scanner to work :confused:

i found the above thread about changing the product id,but its not worked
any1 got any ideas

thanks

BoardDWorld
November 26th, 2007, 12:14 PM
Hello, could you please tell me what model scanner or combo you are using? 32bit or 64bit Ubuntu? What errors showed during the installation? Can you post the output after running the "sudo dpkg -i brscanxxxxxxx.deb" command.

nikef
November 26th, 2007, 12:29 PM
Hi and thank you
yes sorry,my printer is a brother dcp-115c ,the printer works brill :)

but i can not scan ,there was no errors during install,here is the file you asked for

trish@trish-desktop:~$ sudo dpkg -i brscanxxxxxxx.deb
[sudo] password for trish:
dpkg: error processing brscanxxxxxxx.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
brscanxxxxxxx.deb
trish@trish-desktop:~$


when i open xsane,i get this error after searching for the scanner

failed to open device brother2;bus4devl
error during device i/0

nikef
November 26th, 2007, 12:31 PM
Ooops i think its a 32bit ubuntu

how do i find out ?

BoardDWorld
November 26th, 2007, 12:45 PM
That's ok it will most likely be 32bit. Could you please confirm that the brscan2-0.2.4-0.i386.deb file is on your desktop.

Also can I confirm you have run steps 6 and 7.

nikef
November 26th, 2007, 12:53 PM
Yes here is a screen shot

BoardDWorld
November 26th, 2007, 01:09 PM
Very cool desktop :) Could you please complete the following steps then post the output after the completeing the installation in step 2

Step 1:
cd Desktop

Step 2:
sudo dpkg -i brscan2-0.2.4-0.i386.deb

nikef
November 26th, 2007, 01:15 PM
[QUOTE=BoardDWorld;3842546]Very cool desktop :)

thank you :)

here is the file

trish@trish-desktop:~$ cd Desktop
trish@trish-desktop:~/Desktop$ sudo dpkg -i brscan2-0.2.4-0.i386.deb
[sudo] password for trish:
(Reading database ... 163521 files and directories currently installed.)
Preparing to replace brscan2 0.2.4 (using brscan2-0.2.4-0.i386.deb) ...
Unpacking replacement brscan2 ...
Setting up brscan2 (0.2.4) ...

trish@trish-desktop:~/Desktop$



thank you very much for helping me

BoardDWorld
November 26th, 2007, 01:21 PM
Great, so the installation was successful. Have you checked the Vendor and Product ID's are correct with the lsusb command?

Happy to try and help...

nikef
November 26th, 2007, 01:27 PM
Yes,i think its correct


trish@trish-desktop:~$ lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 046d:c517 Logitech, Inc.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 04f9:018c Brother Industries, Ltd
Bus 001 Device 001: ID 0000:0000
trish@trish-desktop:~$


have checked with yours and its seems the same

BoardDWorld
November 26th, 2007, 01:33 PM
Could you please show me the last section of your libsane rules showing your scanner:

sudo gedit /etc/udev/rules.d/45-libsane.rules

nikef
November 26th, 2007, 01:38 PM
Last section of the libsane rules

# Dell A920
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}=="Vendor ID: 04f9", SYSFS{idProduct}=="0193", MODE="666", GROUP="scanner"
LABEL="libsane_rules_end"

BoardDWorld
November 26th, 2007, 01:43 PM
Last section of the libsane rules

# Dell A920
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}=="Vendor ID: 04f9", SYSFS{idProduct}=="0193", MODE="666", GROUP="scanner"
LABEL="libsane_rules_end"

Bingo, delete the area that's bold including the space so the ID number is directly after the quote:

SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="018c", MODE="666", GROUP="scanner"

P.S. you'll need to restart the PC. Goodnight! Or in your case "day" ;) (It's 2am!)

nikef
November 26th, 2007, 01:58 PM
Wow thank you very much,sorry for keeping you up

as soon as i clicked xsane this is what popped up,i can not thank you enough

you are a :KS

good night and god bless

trish

BoardDWorld
November 26th, 2007, 08:58 PM
That's great! Xsane is awesome software.

God Bless you too!

nikef
November 27th, 2007, 05:52 AM
Yes,just need to learn how to use xsane now,although i dont do a lot of scanning

one last question,you know the driver files i downloaded to my desktop? can they be deleted or moved somewhere safe,as its making my desktop untidy

thanks

BoardDWorld
November 27th, 2007, 06:41 AM
Yes you can safely remove them. They will always be available from Brother.

nikef
November 27th, 2007, 08:51 AM
Thanks for all your help :)

yellowbean
November 28th, 2007, 12:34 AM
Well I'm hoping there's a simple reason my DCP7020 isn't printing. I followed the how-to and it is showing up in my "Printing Configuration" screen, but the test page doesn't print. When I look at the printer via http://localhost:631 it says "Printer not connected; will retry in 30 seconds..."

Any ideas?

BoardDWorld
November 28th, 2007, 07:05 AM
Try this: http://ubuntuforums.org/showpost.php?p=3817666&postcount=59

yellowbean
November 28th, 2007, 08:46 AM
Actually nevermind. Bad port on my USB hub apparently. When I switched ports suddenly Ubuntu recognized that a printer was attached and installed the DCP7025 driver for me. Of course that didn't work, but when I redid all the steps in your how-to it worked beautifully. Still had to install the LPR, but I guess that seems to be pretty common.

Now to get this thing network shared with my wife's Windows PC...

Thanks for the great guide!

billio
November 29th, 2007, 08:53 AM
Following Step 7, the outcome is this
...:~/Desktop/Brother$ sudo dpkg -i --force-all dcp330clpr-1.0.0-9.i386.deb
Selecting previously deselected package dcp330clpr.
(Reading database ... 99563 files and directories currently installed.)
Unpacking dcp330clpr (from dcp330clpr-1.0.0-9.i386.deb) ...
Setting up dcp330clpr (1.0.0-9) ...
mkdir: cannot create directory `/var/spool/lpd/dcp330c': No such file or directory
chown: cannot access `/var/spool/lpd/dcp330c': No such file or directory
chgrp: cannot access `/var/spool/lpd/dcp330c': No such file or directory
chmod: cannot access `/var/spool/lpd/dcp330c': No such file or directory

What next ?.

Bill

billio
November 29th, 2007, 09:48 AM
What next ?. Well you just ignore the error messages - not easy for a new user. :-)

In order to make the driver work with a networked printer on a iMac, I had to put in the actual ip address rather than the local name, modifying this using localhost:631 .

Possibly worth adding these two points to the HowTo .. Thanks.

Bill

bluvy
December 1st, 2007, 03:27 PM
Hello,
I'm currently using Kubuntu 7.10, 32-bit. I've installed LPR and CUPS, my MFC 7420 is connected via USB, and when I go to http://localhost:631/printers/ it says:

Description: MFC7420
Location:
Printer Driver: Brother MFC7420 for CUPS
Printer State: processing, accepting jobs, published.
Device URI: usb:/dev/usb/lp0
(this is set as my default printer)

The installation was successful, however when I try to print test page it says "Printer not connected; will retry in 30 seconds...".
Is there something I have to adjust to connect the printer?

Thank you for your time.

keywest
December 6th, 2007, 07:42 PM
If my MFC-8420 was detected by Ubuntu 7.10 and is working properly as a printer, do I need to start at step 1 of the printer section? Do I need to remove the recognized printer first? Any other precautions? It is encouraging to see others with success. I am determined to make it work and I have put a daily email alert on this thread.

Col-1023
December 7th, 2007, 07:41 PM
I've just upgraded to Gutsy and can't even print the test page using my brother MFC210C

I followed the guide and the printer drivers installed correctly,

I did not install LPR, since the guide said it wasn't necessary for gutsy.

I used firefox to go localhost:631 and found my printer was identified as Brother MFC210C.

When I try to print a test page the printer status changes from 'idle, accepting jobs, published' to 'processing, accepting, published."

The printer is ON, and the ink levels are ok.

Any help very much appreciated, thank you.

Col-1023
December 7th, 2007, 07:55 PM
I want to my windows box and tried to print a test page on the brother and it worked.

The mfc210c is linked to my ubuntu box via usb and my ubuntu box is networked to my windows box through a router, i use samba to print and transfer files ffrom my windows box to the ubuntu one and vice versa.

If I can print a page from the windows box, why won't anything print from the ubuntu box.

TIA.

Col-1023
December 7th, 2007, 08:33 PM
This is weird.

I followed the scanner howto and the scanner works perfectly, even xsane works without having to be root.

The only minor problem I have found with xsane so far is that when I quit, it throws up three errors before finally closing, something about not having permission to save files, but eventually the app closes.

I still can't print from the ubuntu box, but I assume it's some small tweak that I don't know about.

Any Help Appreciated.

ericartman
December 9th, 2007, 04:16 PM
This guide has been a lifesaver for me and my Brother fax2580c. It works in 32 and 64 bit for me if I follow these steps

do the install tcsh
cd desktop
download both the lpr and cups driver to the desktop
force install the lpr then the cupsdriver
then go to the local host 631 page and print a page from the printers there, using the installed one not the generic

Worked everytime for me in any bit 64, 32, and mint, ultimate, and studio distros

Thanks a million.

Cart

Col-1023
December 15th, 2007, 07:23 PM
I really need help getting the brother to print.

As I've said above, the printer works when I print from a windowx box over samba, but when I print from the linux box, nothing happens.

The job que shows the job as first running, then processing, then completed, however nothing happens.

The printer is shown as ready, and idle when not in use, printing a test page has no effect.

The printer url in the applet is usb://Brother/MFC-210C

Any help appreciated.

Col-1023
December 18th, 2007, 07:20 PM
anyone have any ideas on what could cause this problem?

mikewhatever
December 18th, 2007, 11:21 PM
Thanks a lot BoardDWorld! I am glad to have found this how-to before it had turned into a mega thread like the other one on Brother printers. Everything seems to work, although I had to install the LPR Driver to get over errors while installing MFC210C. Hopefully, guys at Brother Ltd will get the driver for DCP-115C out some day, yet it seems unlikely to happen any time soon. Cheers!

Posh
December 25th, 2007, 06:42 PM
Ok after much pain I have my MFC-5840CN working in Gutsy amd64. The instructions went fine except it wouldnt print anything. So i edited cupsd.conf and put in LogLevel debug and watched the /var/log/cups/error_log after trying to print a test page and I was getting an error about one of the libraries weren't able to be loaded..... so here is what I had to do

sudo ln -s /usr/lib/libbrcompij2.so.1.0.2 /usr/lib32/libbrcompij2.so.1

apparently it was expecting the library in /usr/lib32 instead of /usr/lib

Scanner installation went just fine.

I hope this can help someone else.

Polten
January 7th, 2008, 02:50 PM
Thank you for this how-to.
My DCP-120C didn't print anymore after upgrade to 7.10. Scanning was still OK.
I followed the printer steps and it went just fine. Thank you!

spookyu
January 7th, 2008, 04:29 PM
Hey, great how to, perfect for someone who is only a little linux savvy like myself. One minor problem that I could use a hand with though. I installed the printer driver perfectly by following your steps. I also installed the scanner driver without much of a hitch, but unfortunately xsane doesn't see the scanner (I have an MFC-465CN) and I need to continue with step 5. The problem is that I have my printer connected directly to the router and I'm not sure how to find the vendor ID as the printer doesn't come up when I enter that one command into the terminal (I assume that list is of things connected to my computer directly). So I just need to know how to find out my vendor ID and all that so I can finish setting this thing up. Thanks for your help.

BoardDWorld
January 9th, 2008, 01:21 AM
Hey, great how to, perfect for someone who is only a little linux savvy like myself. One minor problem that I could use a hand with though. I installed the printer driver perfectly by following your steps. I also installed the scanner driver without much of a hitch, but unfortunately xsane doesn't see the scanner (I have an MFC-465CN) and I need to continue with step 5. The problem is that I have my printer connected directly to the router and I'm not sure how to find the vendor ID as the printer doesn't come up when I enter that one command into the terminal (I assume that list is of things connected to my computer directly). So I just need to know how to find out my vendor ID and all that so I can finish setting this thing up. Thanks for your help.


I've never had to set up a network printer before but I'll try helping. Firstly I don't think you'll need to add it to your libsane.rules. I would first try the following command I found HERE (http://solutions.brother.com/linux/sol/printer/linux/sane_install-net.html)

brsaneconfig2 -a name=SCANNER1 model=MFC-465CN ip=xx.xx.xx.xx

You'll need to find out your printers IP by logging into your router and viewing the connected devices. You will find your printer and its IP, change xx.xx.xx.xx in the code above to suit.

If you did need to add it to your libsane.rules you could simply connect your printer directly to your computer just to obtain it, I'm not savvy enough to tell you how to achieve this via network.

wankel
January 9th, 2008, 07:46 PM
Kubuntu 7.10 Gutsy (clean install, back then)
Brother DCP-330c
MSI S271 notebook

starting situation: no print, no scan

ending situation: can print, some issue with margins. Scan not yet fully tested, as a user I got permission errors before editing the udev rules, guess that is also sorted out now.


------------------------------------------------------------------------------------------
Thanks all for either writing a nice howto or supplying with similar errors as I got with some hints.

After reading through the first 5 pages (and some other threads), I convinced my system that in the END the printer really should start doing what it was bought for, and while typing this post, my dcp-330c is printing the code I will paste below for future reference :-)

I followed a bit of a different path, as under Feisty I could get away with (mostly) installing the .debs as root with csh as shell. No luck this time though, but in the end it worked out.


wbk@sandi:~$ su -
Password:
root@sandi:~# cd /home/wbk/download/
root@sandi:/home/wbk/download# ls
brscan2-0.2.4-0.amd64.deb dcp330ccupswrapper-1.0.0-10.i386.deb dcp330clpr-1.0.0-9.i386.deb

root@sandi:/home/wbk/download# csh

# sudo dpkg -i --force-all dcp330clpr-1.0.0-9.i386.deb
dpkg - warning, overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
Selecting previously deselected package dcp330clpr.
(Reading database ... 143716 files and directories currently installed.)
Unpacking dcp330clpr (from dcp330clpr-1.0.0-9.i386.deb) ...
Setting up dcp330clpr (1.0.0-9) ...
mkdir: cannot create directory `/var/spool/lpd/dcp330c': No such file or directory
chown: cannot access `/var/spool/lpd/dcp330c': No such file or directory
chgrp: cannot access `/var/spool/lpd/dcp330c': No such file or directory
chmod: cannot access `/var/spool/lpd/dcp330c': No such file or directory

# mkdir /var/spool/lpd

# dpkg -i dcp330clpr-1.0.0-9.i386.deb
dpkg: error processing dcp330clpr-1.0.0-9.i386.deb (--install):
package architecture (i386) does not match system (amd64)
Errors were encountered while processing:
dcp330clpr-1.0.0-9.i386.deb

# dpkg -i --force-all dcp330clpr-1.0.0-9.i386.deb
dpkg - warning, overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
(Reading database ... 143735 files and directories currently installed.)
Preparing to replace dcp330clpr 1.0.0-9 (using dcp330clpr-1.0.0-9.i386.deb) ...
Unpacking replacement dcp330clpr ...
Setting up dcp330clpr (1.0.0-9) ...

# ls
brscan2-0.2.4-0.amd64.deb dcp330ccupswrapper-1.0.0-10.i386.deb dcp330clpr-1.0.0-9.i386.deb

# dpkg -i --force-all dcp330ccupswrapper-1.0.0-10.i386.deb
dpkg - warning, overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
Selecting previously deselected package dcp330ccupswrapper.
(Reading database ... 143735 files and directories currently installed.)
Unpacking dcp330ccupswrapper (from dcp330ccupswrapper-1.0.0-10.i386.deb) ...
Setting up dcp330ccupswrapper (1.0.0-10) ...
cp: `/usr/lib/cups/filter/brlpdwrapperdcp330c' and `/usr/lib64/cups/filter/brlpdwrapperdcp330c' are the same file
* Restarting Common Unix Printing System: cupsd [ OK ]

(http://ubuntuforums.org/showthread.php?t=590793, step 8)
# ls /usr/lib/cups/filter/
brlpdwrapperdcp330c commandtoepson foomatic-rip hpgltops imagetoraster pdftops pstopxl rastertodymo rastertogutenprint.5.0 rastertolabel textonly
commandtocanon cupsomatic gziptoany imagetops oopstops pstops pstoraster rastertoepson rastertohp rastertospl2 texttops
# ls /usr/lib64/cups/filter/
brlpdwrapperdcp330c commandtoepson foomatic-rip hpgltops imagetoraster pdftops pstopxl rastertodymo rastertogutenprint.5.0 rastertolabel textonly
commandtocanon cupsomatic gziptoany imagetops oopstops pstops pstoraster rastertoepson rastertohp rastertospl2 texttops
#

# dpkg -i brscan2-0.2.4-0.amd64.deb
Selecting previously deselected package brscan2.
(Reading database ... 143738 files and directories currently installed.)
Unpacking brscan2 (from brscan2-0.2.4-0.amd64.deb) ...
Setting up brscan2 (0.2.4) ...

#

Install ready, no good though
==================================================

retry:
---------------------------
wbk@sandi:~$ sudo dpkg -i --force-architecture /home/wbk/download/dcp330ccupswrapper-1.0.0-10.i386.deb
dpkg - warning, overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
(Reading database ... 143822 files and directories currently installed.)
Preparing to replace dcp330ccupswrapper 1.0.0-10 (using .../dcp330ccupswrapper-1.0.0-10.i386.deb) ...
Unpacking replacement dcp330ccupswrapper ...
Setting up dcp330ccupswrapper (1.0.0-10) ...
/var/lib/dpkg/info/dcp330ccupswrapper.postinst: 3: /usr/local/Brother/Printer/dcp330c/cupswrapper/cupswrapperdcp330c: not found
cp: cannot stat `/usr/share/cups/model/brdcp330c.ppd': No such file or directory
dpkg: error processing dcp330ccupswrapper (--install):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
dcp330ccupswrapper
wbk@sandi:~$ ls /usr/local/Brother/Printer/dcp330c/
inf/ lpd/
wbk@sandi:~$ ls /usr/local/Brother/Printer/dcp330c/inf/
brdcp330cfunc brio06ab.bcm brio06af.bcm brPrintListij2 setupPrintcapij
brdcp330crc brio06ac.bcm brio06ag.bcm paperinfij2
wbk@sandi:~$ ls /usr/local/Brother/Printer/dcp330c/lpd/
brdcp330cfilter filterdcp330c psconvertij2
wbk@sandi:~$ lpinfo -v
network socket
network beh
direct usb://Brother/DCP-330C
direct hpfax
direct hp
network http
network ipp
network lpd
file cups-pdf:/
direct scsi
network smb
wbk@sandi:~$ ls /usr/share/cups/model

===========================================
2 changes: rm * cupswrapp, dpkg force all:
-------------------------------------------

wbk@sandi:~$ sudo rm /var/lib/dpkg/info/dcp330ccupswrapp*
wbk@sandi:~$ sudo dpkg -i --force-all /home/wbk/download/dcp330ccupswrapper-1.0.0-10.i386.deb
dpkg - warning, overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
(Reading database ...
dpkg: serious warning: files list file for package `dcp330ccupswrapper' missing, assuming package has no files currently installed.
143819 files and directories currently installed.)
Preparing to replace dcp330ccupswrapper 1.0.0-10 (using .../dcp330ccupswrapper-1.0.0-10.i386.deb) ...
Unpacking replacement dcp330ccupswrapper ...
Setting up dcp330ccupswrapper (1.0.0-10) ...
cp: `/usr/lib/cups/filter/brlpdwrapperdcp330c' and `/usr/lib64/cups/filter/brlpdwrapperdcp330c' are the same file
* Restarting Common Unix Printing System: cupsd [ OK ]

wbk@sandi:~$



Now I can print,but all of the page is moved vertically. I read that some more users got that symptom, but I could not figure out yet how it is solved.

Thanks again, good luck to all of you :-)

wankel
January 9th, 2008, 08:28 PM
Now I can print,but all of the page is moved vertically. I read that some more users got that symptom, but I could not figure out yet how it is solved.

Maybe I found the cause: in the KDE print administration all formats were set to A4, but the web interface of CUPS still showed letter format.

This behaviour (KDE admin module and/or incorrect vertical margins)... could it have to do with the differences in Feisty and Gutsy? (I didn't use the printer too long with Feisty) Or is it since it is Apple instead of Eazy Software Products?

Anyway, too deep in the night for me now to test more.Relieved basic printing works.

wankel
January 9th, 2008, 08:33 PM
starting situation: no print, no scan

ending situation: can print, some issue with margins. Scan not yet fully tested, as a user I got permission errors before editing the udev rules, guess that is also sorted out now.


Just a quick test: scanning as user (with fuse permission) works. Since I expect most of the margins-issues are solved as well, that leaves me without issues!

iansane
January 18th, 2008, 07:40 PM
well the printer works regardless of the errors I got with the lpr driver.

from lpr driver

ian@lotus-control:~/Desktop$ sudo dpkg -i --force-all mfc6800lpr-1.1.2-1.i386.deb
[sudo] password for ian:
Selecting previously deselected package mfc6800lpr.
(Reading database ... 108426 files and directories currently installed.)
Unpacking mfc6800lpr (from mfc6800lpr-1.1.2-1.i386.deb) ...
Setting up mfc6800lpr (1.1.2-1) ...
mkdir: cannot create directory `/var/spool/lpd/MFC6800': No such file or directory
chown: cannot access `/var/spool/lpd/MFC6800': No such file or directory
chgrp: cannot access `/var/spool/lpd/MFC6800': No such file or directory
chmod: cannot access `/var/spool/lpd/MFC6800': No such file or directory
/var/lib/dpkg/info/mfc6800lpr.postinst: 4: /etc/init.d/lpd: not found
dpkg: error processing mfc6800lpr (--install):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
mfc6800lpr



from cupswrapper

ian@lotus-control:~/Desktop$ sudo dpkg -i --force-all cupswrapperMFC6800-1.0.2-1.i386.deb
Selecting previously deselected package cupswrappermfc6800.
(Reading database ... 108440 files and directories currently installed.)
Unpacking cupswrappermfc6800 (from cupswrapperMFC6800-1.0.2-1.i386.deb) ...
Setting up cupswrappermfc6800 (1.0.2-1) ...
rm -f /usr/lib/cups/filter/brlpdwrapperMFC6800
* Restarting Common Unix Printing System: cupsd


As you can see, the cups driver still installed corectly. I have to disagree with the brother site being any help. According to them, I am supposed to have something called lpd installed first. I don't have that installed. The only thing I did different on this try is to install that thcs or whatever it was. Some kind of c shell? Sorry I forgot the name but the first thing you say to install. What is that and why is it nessesary? Last time I tried installing without it, I got a ton of errors and then couldn't remove the partially installed driver, but apt-get, update console, and synaptic wouldn't work. Nothing would remove it so I had to format and start over.
I'm glad this worked. Thanks a lot for the how to. :-)

iansane
January 19th, 2008, 01:10 AM
don't know what happend. The printer quit working and now my synaptic and apt-get are locked up and won't work. Looks like I'm going to have to format again.

all the brother install howto's keep telling me to install the lpr package and then they go on to the other steps. my problem is I can't get past the first part. lpr won't install. Its telling me now that there's no /etc/init.d/lpd isn't lpd part of the lpr package? Of cource it can't find it. It hasn't installed it yet!! Brother says lpd needs to be installed before installing the cups wrapper driver. What tha heck is lpd and where is it?!! I freakin hate brother and will never buy one again!

endersbean3k1
January 19th, 2008, 10:16 AM
Thank you SO MUCH! Couldn't get my MFC 420CN working before, and now I just printed a test page (first try!) as well as a test page I had tried to print from within a VMware virtual machine yesterday! \\:D/ I havn't tried to do the scanner yet, but the printing works and that is AWESOME. Thank you so much

:guitar:
=D>=D>

AgentZ86
January 20th, 2008, 10:07 AM
Which is the best director to put drivers when you installed them ?

I guess my question is that if I download them to desktop and install and have everything working, if I delete my downloaded folders both the compressed download and the extracted download which I used for my driver installation, will that break my install if I remove those folders ?

I'm not sure how the linux drivers installation works does it continue to use those file on the desktop or does it copy/create what it needs then I can discard those files ???

Please advise
Thanks

wankel
January 24th, 2008, 11:11 AM
don't know what happend. The printer quit working and now my synaptic and apt-get are locked up and won't work. Looks like I'm going to have to format again.

Apt is quite a robust system, and it takes a while to make it lock up. The not so bright side is, that it is also more difficult to solve a problem once it really does not work anymore.

If you used synaptic and apt-get with no luck, you can still try aptitude instead (command line tool as well, it scripts around apt-get)

Did you look up the errors you got from apt-get? Maybe you could ask help for that in a seperate thread.


all the brother install howto's keep telling me to install the lpr package and then they go on to the other steps. my problem is I can't get past the first part. lpr won't install. Its telling me now that there's no /etc/init.d/lpd isn't lpd part of the lpr package? Of cource it can't find it. It hasn't installed it yet!!

It is a bit confusing, but there are various print systems available for Linux. One of the deamons is lpd, and to let that deamon use your printer, it needs the lpr driver from Brother.

Ubuntu 7.10 seems not to have a package lpd installed, but another package that includes lpd. Did you use dpkg with --force-all ?

Brother says lpd needs to be installed before installing the cups wrapper driver. What tha heck is lpd and where is it?!! I freakin hate brother and will never buy one again!

I have to admit that it took me a while to get my DCP-330c up and running as well. I bought a Brother especially because Brother develops Linux drivers, so I expected a painless install.

It seems they still have to work on the website a bit, since it is not too clear for people just starting Linux.

I have heard and read though, that the support team is very responsive, so you could try sending them an email.

All in all, now that my printer is working and comes with big, easy to refill cartridges (admitted, that was a strong incentive as well to buy Brother, though Linux support came first) I am happy with my printer and do not hesitate to give a positive buying advice for those who need a reliable printer for documents (I did not use the photo printing capabilities and do not expect too much from them)

Anyway, good luck with your system!

wankel
January 24th, 2008, 11:20 AM
Which is the best director to put drivers when you installed them ?

I guess my question is that if I download them to desktop and install and have everything working, if I delete my downloaded folders both the compressed download and the extracted download which I used for my driver installation, will that break my install if I remove those folders ?

I'm not sure how the linux drivers installation works does it continue to use those file on the desktop or does it copy/create what it needs then I can discard those files ???

Please advise
Thanks

Hi AgentZ86,

I expect that you can just throw away those files and folders. It depends a bit though on which package you downloaded and how you installed it.

If you used dpkg, and did not _try_ to install the drivers on your desktop, then dpkg copied them to the appropriate system directories.

On the other hand, if you used sources (as far as they are available) and asked to install them on your desktop, then they are where you said to put them.

If all of this does not make much sense to you, than you probably took the first path, and that means that you can throw away those files on your desktop.

You can find loads of information on directory structures in GNU/Linux on the net, you could start at http://www.freeos.com/articles/3102/ or, more in depth, at http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/index.html

Good luck!

AgentZ86
January 24th, 2008, 04:30 PM
Hi AgentZ86,

I expect that you can just throw away those files and folders. It depends a bit though on which package you downloaded and how you installed it.

If you used dpkg, and did not _try_ to install the drivers on your desktop, then dpkg copied them to the appropriate system directories.

On the other hand, if you used sources (as far as they are available) and asked to install them on your desktop, then they are where you said to put them.

If all of this does not make much sense to you, than you probably took the first path, and that means that you can throw away those files on your desktop.

You can find loads of information on directory structures in GNU/Linux on the net, you could start at http://www.freeos.com/articles/3102/ or, more in depth, at http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/index.html

Good luck!

Awsome thanks,

I forgot I posted about this I've actually figured that part but those links are going be good for me.

Thanks

AgentZ86
January 28th, 2008, 09:15 AM
Nice how too,

I see many posts with errors and things for these brother printers, especially with Gutsy 7.10
I believe this is related to the lpr and how the cups wrapper looks for it when you install the cups wrapper driver.

I think this can be solved by creating the symbolic link just after installing the lpr driver. This is noted on the brother site as well. And I get no errors

Basically like so:
Install your printers LPR driver found on the brother solutions site, either click and install with gdebi etc.OR download to desktop then click and install with gdebi you may get some errors about var/spool etc. (just ignore it) no problem here.[/LIST]

Then create symbolic link with this command in the terminial:
sudo ln -s /etc/init.d/cupsys /etc/init.d/lpd

Install cups wrapper driver with gdebi-
Then remove the symbolic link which will be located in the /etc/init.d/ folder typically the one with the arrow next to it; and it may be the only one if you've not had any symbolic links created there.

And printing should be working perfectly and installing the cups wrapper driver should give no errors at all.

Then you can work on setting up your scanner portion using the how to listed here.

Now if I could just get my fax part working. I'm working on that now so hopefully I post back on that.

I hope this helps

mafiax
January 30th, 2008, 11:43 PM
Ok I followed all the instructions and I can't get the scanner to work when I'm logged in under my user name.. if I log in as root it works.

HELP

GamingMazter
January 31st, 2008, 02:11 AM
Cheers Matey!

billgoldberg
February 1st, 2008, 11:20 AM
I was in shock (not really, but still) when I heared my mother bought a new printer/scanner/fax machine.

We only use ubuntu and I thought I was screwed.

This one saved me.

Thanks.

AgentZ86
February 2nd, 2008, 04:55 PM
Ok I followed all the instructions and I can't get the scanner to work when I'm logged in under my user name.. if I log in as root it works.

HELP

To make it all work as normal user
basically the same as the how to listed in the begining of this post, but anyhow here it is.

Open the file "/etc/udev/rules.d/45-libsane.rules" with an editor.
I used gedit and you need to be root, so I did sudo gedit, then password
I like the clickety method of browsing so while in gedit select open and then browse to /etc/udev/rules.d/45-libsane.rules and either click or double click depending on how you have set your preferences and it will open the 45-libsane.rules in the gedit editor program. now you can add a line to the bottom of the file

#brother
SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="018c", MODE="666", GROUP="scanner"
NOTE: the 04f9 and the 018c entry? this is the product ID and vendor ID, and this one is specific for my printer/scanner so to find your vendor and product ID's open a terminal and type this command (lsusb)
This will show your printer vendor and product ID
Just replace the 04f9:018c with your vendor and product ID that you just found in the terminal.

Anyhow
You will see an entry all the way at the end of the /etc/udev/rules.d/45-libsane.rules file which says:
LABEL="libsane_rules_end" (do you see it?)

Your entry will go just above that.
and will include your vendor and product ID and will looks something like this:

#Brother MFC-240C (note: this entry can be whatever your want to describe your printer/scanner)
SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="01ab", MODE="666", GROUP="scanner"

LABEL="libsane_rules_end"

Once you have your entry correct, then select save, then exit
exit your terminal by typing exit, then hit enter,

Then restart the OS

Scanning should now work well as a regular user.
I've tested with Xsane, and scan2pdf and more as regular user

I hope this helps

AgentZ86
February 2nd, 2008, 05:05 PM
"When two opposite points of view are expressed with equal intensity, the truth does not necessarily lie exactly halfway between them. It is possible for one side to be simply wrong."

LOL also possible for both sides to be equally right, and also both can be equally wrong, or even so both can be disproportionally right, and also disproportionally wrong.

LOL:guitar:

C-A
February 3rd, 2008, 01:58 PM
I am using my printer as a network printer. My printer works fine until the ip address changes and then I have to manually change it in cups. So, I guess I need to set the printer to have a static ip address.

I am not sure how to access those settings from my linux box. Any help/advice would be greatly appreciated.

AgentZ86
February 3rd, 2008, 02:27 PM
I am using my printer as a network printer. My printer works fine until the ip address changes and then I have to manually change it in cups. So, I guess I need to set the printer to have a static ip address.

I am not sure how to access those settings from my linux box. Any help/advice would be greatly appreciated.

I'll try to help, but can you describe how your using it as a network printer ?

Do you have it plugged to a server and using the server as a print server / print share, or are you simply trying to access the printer when it's plugged into some local machine on the network.

In the later case then, most likely your using it as a local printer and want to share it with the other users on the network.

I'll fool with this some here at home, but I don't think you have to install any network options or do any network stuff for just doing that, it should be as simple as making sure your workgroup name is the same, and then the printer should appear on the network for use and adding it to your printer list.

I'll toy with it some more on mon. sometime after the superbowl etc. and see how the brother printers react.

My hp and all other printers on the network all are working anc can be shared over the network no problems there, but the network workgroup all has to be the same as far as that goes.

Anyhow I'll post back on this some more on mon.

C-A
February 3rd, 2008, 04:57 PM
I'll try to help, but can you describe how your using it as a network printer ?

Do you have it plugged to a server and using the server as a print server / print share, or are you simply trying to access the printer when it's plugged into some local machine on the network.

In the later case then, most likely your using it as a local printer and want to share it with the other users on the network.

I'll fool with this some here at home, but I don't think you have to install any network options or do any network stuff for just doing that, it should be as simple as making sure your workgroup name is the same, and then the printer should appear on the network for use and adding it to your printer list.

I'll toy with it some more on mon. sometime after the superbowl etc. and see how the brother printers react.

My hp and all other printers on the network all are working anc can be shared over the network no problems there, but the network workgroup all has to be the same as far as that goes.

Anyhow I'll post back on this some more on mon.

Thanks for the reply. My printer is a network printer and it is connected directly to my router.

pyxu619
February 4th, 2008, 08:38 PM
Thanks for the reply. My printer is a network printer and it is connected directly to my router.

I believe you can set the ip address just the way you do in windows. Go into the router page and set it as static. Depending on what router you have, the router's homepage address is different.

AgentZ86
February 6th, 2008, 09:47 PM
Sorry for the delay response.

You have to consult your printer documentation or poke around with the menu buttons on the printer, and set the IP address to a static IP address on the printer, And make sure it's within the IP address range of the DHCP range of the router. In other words if the router is dishing out IP's in the lets say 192.168.0.1 thru 192.168.0.255 or so then make sure that the static IP of the printer is set to something like 192.168.0.105 or something

Or if your router is dishing out the range in the 10.1.10.200 to 10.1.10.255 then put the printer at 10.1.10.230 or something.

Anyhow this is something you can to on the printer itself, I would not change the router to static cause then you have to set all the machines IP addresses and they won't receive one automatically from the router, so it's simple for a couple machines, but if you have a larger network that gets real old real quick.

Anyhow if you disclose your model I may be able to clarify some more.

I hope this helps.

Kevin Funnell
February 9th, 2008, 01:11 AM
BoardDWorld,
Thanks for your great article "HOWTO: Ubuntu Gutsy 7.10 All Brother Printer Scanner Driver Installation for Newbies!", I stumbled across it in the Forum while waiting for the Brother's to open. Following each step I successfully installed a Brother DCP-150C on both Feisty Fawn 7.04 and Gusty Gibbon 7.10. All the functions of the unit are working perfectly, not bad for something that only cost $AUS 74:00, a worth while machine for an old guy.
Thanks, Old Kevin

yasio
February 17th, 2008, 03:05 PM
I've got problem with scanner in brother mfc 235C. i installed brscan2 and when i used xsane on destop i saw a announcement: ' couldn't open a device :'brother2:bus5;dev1'. Error during operation Input/Output ' i've got Ubuntu 7.10.

AgentZ86
February 17th, 2008, 10:53 PM
I've got problem with scanner in brother mfc 235C. i installed brscan2 and when i used xsane on destop i saw a announcement: ' couldn't open a device :'brother2:bus5;dev1'. Error during operation Input/Output ' i've got Ubuntu 7.10.

did you run xsane as root, or regular user ??

Try to run xsane as root (sudo xsane) from the terminal and see if that changes anything.

If it does then you have to follow these instructions listed here to get the scanner to work with regular users.

I hope this helps

I've created this page for help with Brother printers.
www.iclbiz.com/brothermfc

Also I've posted in the How To: section under How To: Brother MFC
I'ts very similar to the other how to's that have been posted;

See How to here:
http://ubuntuforums.org/showthread.php?t=691781&highlight=Brother+MFC

Kevin Funnell
February 24th, 2008, 07:12 AM
Yasio & Agent286, Following the instructions in this post when installing the drivers for a DPC150C I did have problems on my first attempt on an old P3 computer the system was not current - no updates installed and I got the same error as Yasio got. Second attempt the system was as current Update Manger reported "Your system is up-to-date".
With the printer & USB cable disconnected I installed the Printer drivesr,
checked Firefox - Printer recognised
Disconnected Printer & USB cable again then I installed brscan2-0.2.4-0.i386.deb, powered down the computer re-connected the Printer & USB cable.
Restarted the computer, started XZane. I was able to use the scanner no problems or errors.
I suggest you make sure your system is current -using Update Manager.before reinstalling the drivers. The only problem I have is if I press the Scan button and try to scan to a file option, the Brother's Control Panel displays a message "Connecting to PC" but nothing happens, it appears to clear the message after a few minutes. I hope this helps you in getting you Scanner to work, when I had the same error as Yasio received I could us the scanner through OpenOffice.org Writer. Old Kevin

Elderlygent
March 3rd, 2008, 10:17 AM
Fantastic! You are a public benefactor.:)

BoardDWorld
March 10th, 2008, 04:11 AM
Yasio & Agent286, Following the instructions in this post when installing the drivers for a DPC150C I did have problems on my first attempt on an old P3 computer the system was not current - no updates installed and I got the same error as Yasio got. Second attempt the system was as current Update Manger reported "Your system is up-to-date"... Old Kevin

Thanks for the help Kevin, I've added this to the tutorial.

growingneeds
March 11th, 2008, 12:43 PM
I recently purchased the DCP-135C at the IT Show 2008 (Suntec City). The installation of the printer was a breeze. Although Feisty Fawn did not have the appropriate drivers for the printer, it did manage to detect the USB connection. Here's what I did to get the printer running:

1. At the terminal console, install tcsh.
2. Connect and turn on the printer.
3. From Brother Solutions (http://solutions.brother.com/linux/en_us/index.html), download the LPR printer driver specific to DCP-135C in the form of a debian package. Double-click to install.
4. From the same website, download the CUPS printer driver specific to DCP-135C. (Again, a debian package.) Double-click to install.

And voilà, the new printer is installed. There is a slight misalignment to the right of the test print page. But, it is very slight. I can live with that.

growingneeds
March 11th, 2008, 01:20 PM
The scanner for DCP-135C was set-up in an easy manner as described by BoardDWorld:

1. From Brother Solutions (http://solutions.brother.com/linux/en_us/index.html), download the SANE scanner driver specific to DCP-135C in the form of a debian package. Double-click to install.
2. At the terminal, issue lsusb. Note the Vendor ID:Product ID listed for Brother Industries, Ltd. Mine was 04f9:01ce.
3. At the terminal, type "sudo gedit /etc/udev/rules.d/45-libsane.rules"
4. At the end of the list of recognised products, add
# Brother DCP-135C
SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="01ce", MODE="664", GROUP="scanner"
Note that the Vendor ID & Product ID have to be changed accordingly.
5. Save the file. Reboot, and start scanning with XSane Image Scanner.

Thank you, BoardDWorld!

jack188
March 26th, 2008, 01:12 PM
hi all ubuntu it's great!!!!
sorry but i've a problem with this tutorial and my Brother DCP-115 and 'im on a amd64 bit
when i get this command


sudo dpkg -i --force-all mfc210clpr-1.0.2-1.i386.deb





jack@Panzer-Faust:~$ cd Scrivania
jack@Panzer-Faust:~/Scrivania$ sudo dpkg -i --force-all mfc210clpr-1.0.2-1.i386.deb
dpkg - attenzione, ignoro il seguente problema perché si è usata --force:
il pacchetto è per una architettura (i386) diversa da quella del sistema (amd64)
(Lettura del database ... 119404 file e directory attualmente installati.)
Mi preparo a sostituire mfc210clpr 1.0.2-1 (con mfc210clpr-1.0.2-1.i386.deb) ...
Spacchetto il sostituto di mfc210clpr ...
Configuro mfc210clpr (1.0.2-1) ...
mkdir: impossibile creare la directory `/var/spool/lpd/MFC210C': Nessun file o directory
chown: impossibile accedere a `/var/spool/lpd/MFC210C': Nessun file o directory
chgrp: impossibile accedere a `/var/spool/lpd/MFC210C': Nessun file o directory
chmod: impossibile accedere a `/var/spool/lpd/MFC210C': Nessun file o directory
ln: creazione del link simbolico `/usr/lib/libbrcompij2.so.1.0' a `/usr/lib/libbrcompij2.so.1.0.2': Il file esiste
ln: creazione del link simbolico `/usr/lib/libbrcompij2.so.1' a `/usr/lib/libbrcompij2.so.1.0.2': Il file esiste
ln: creazione del link simbolico `/usr/lib/libbrcompij2.so' a `/usr/lib/libbrcompij2.so.1.0.2': Il file esiste


sorry for my english because i'm only 14... :guitar:

Kevin Funnell
March 28th, 2008, 05:55 AM
G'Day All,
In my post #126 Quote: "The only problem I have is if I press the Scan button and try to scan to a file option, the Brother's Control Panel displays a message "Connecting to PC" but nothing happens, it appears to clear the message after a few minutes." With the help from Brother Solutions Center Japan I can now scan any document using the Scan Button or Xzane.
I had to send Brother Solutions Cente the "brscan-skey --diagnosis" from this they told me that "Scanimage is not installed. Since Scanimage is contained in sane-utils in Ubuntu, please install it." (the Japanese are so polite).
Also there are new drivers for a lot of their newer DCP printer/scanners, installing the new version may help those that are having minor problems with their printer/scanner functions. Old Kevin
.

Doorslammer
April 1st, 2008, 02:20 PM
probem with scan /xsane
followed brothers site
Devices on network
0 SCANNER1 "MFC-5440CN" N:BRN_ABA9E7

using the node name because my printer is networked
when I open xsane is scans for devise then nothing happens , the xsane program never opens up .
should I have left the node name as BRN_XXXX or input like I did the real name
using kubuntu 7.10
my printer works fine been working fine for a long time just wanted to *** the scanner

never mind
deleted /usr/local/Brother/sane/brsanenetdevice2.cfg file
got it to work by using the ip instead of the node name
sudo brsaneconfig2 -a name=SCANNER1 model=MFC-5440CN ip=192.168.001.100

galleonway
April 5th, 2008, 03:12 PM
Step 6:
In Terminal type the following:

Ubuntu Code:

sudo gedit /etc/udev/rules.d/45-libsane.rules


Could someone please advise how to modify this for Hardy? I'm stuck.

galleonway
April 7th, 2008, 08:00 PM
How would I get my Brother MFC scanner working in Hardy?

galleonway
April 9th, 2008, 02:38 PM
This is the content of //usr/local/Brother/sane/models2 in Hardy. My model isn't listed. Is that why the scanner doesn't work?

[Support Model]

0x01c9, 16,2,"DCP-9040CN"
0x01ca, 16,1,"MFC-9440CN"
0x01cb, 116,2,"DCP-9045CDN"
0x01cc, 116,1,"MFC-9840CDW"
0x01ec, 116,1,"MFC-9640CW"



0x01e4, 10,2,"DCP-357C"
0x01e3, 10,2,"DCP-353C"
0x01e2, 10,2,"DCP-157C"
0x01e1, 10,2,"DCP-153C"
0x01e0, 12,1,"MFC-265C"
0x01df, 10,2,"DCP-155C"
0x01de, 12,1,"MFC-880CDN"
0x01dd, 10,1,"MFC-870CDN"
0x01dc, 10,1,"MFC-650CD"
0x01db, 12,1,"MFC-480CN"
0x01da, 12,1,"MFC-885CW"
0x01d9, 12,1,"MFC-685CW"
0x01d8, 12,1,"MFC-680CN"
0x01d7, 12,1,"MFC-465CN"
0x01d6, 12,1,"MFC-260C"
0x01d5, 10,1,"MFC-235C"
0x01d4, 10,1,"MFC-230C"
0x01d3, 10,2,"DCP-770CN"
0x01d2, 10,2,"DCP-770CW"
0x01d1, 12,2,"DCP-560CN"
0x01d0, 10,2,"DCP-350C"
0x01cf, 10,2,"DCP-150C"
0x01ce, 10,2,"DCP-135C"

darrenleeweber
April 9th, 2008, 04:19 PM
Ok after much pain I have my MFC-5840CN working in Gutsy amd64. The instructions went fine except it wouldnt print anything. So i edited cupsd.conf and put in LogLevel debug and watched the /var/log/cups/error_log after trying to print a test page and I was getting an error about one of the libraries weren't able to be loaded..... so here is what I had to do

sudo ln -s /usr/lib/libbrcompij2.so.1.0.2 /usr/lib32/libbrcompij2.so.1

apparently it was expecting the library in /usr/lib32 instead of /usr/lib

Scanner installation went just fine.

I hope this can help someone else.



This may be just one file among many that require symbolic links for amd64. See this Brother web page for details:

http://solutions.brother.com/linux/sol/printer/linux/linux_faq-2.html#142

darrenleeweber
April 9th, 2008, 05:29 PM
Brother HL-4040CN series on Ubuntu Gutsy 7.10 amd64


sudo -i
aptitude install lpr
mkdir /var/spool/lpd
dpkg -i --force-all --force-architecture hl4040cnlpr-1.0.0-7.i386.deb
dpkg -i --force-all --force-architecture hl4040cncups-1.0.0-7.i386.deb


This installed into
/usr/local/Brother/Printer/hl4040cn/

The CUPS web admin, http://localhost:631/printers/
shows that I have a problem with access to a filter:

"Filter "/usr/local/Brother/Printer/hl4040cn/cupswrapper/brlpdwrapper_hl4040cn" for printer "HL4040CN" not available: Permission denied"

I've checked all the file path and file permissions, they seem fine to me (everyone read/execute), eg:


-rwxr-xr-x 1 root root 18160 2007-08-23 10:51 brcupsconfcl1
-rwxr-xr-x 1 root root 4529 2007-08-23 10:51 brlpdwrapper_hl4040cn
-rwxr-xr-x 1 root root 2265 2007-08-23 10:51 cupswrapperSetup_hl4040cn



Turns out there is a specific how-to about this issue here:
http://www.schmut.com/howto/hl-4040-cn-on-kubuntu-gutsy

Please add this link to the top of this how-to.

MichaelSM
April 13th, 2008, 06:56 AM
Thank you very much BoardDWorld.

I'd already done the DCP-115C printer and scanner installs with the downloads from Brother. Printer fine, scanner no go.

So I simply copied the line:

# Brother DCP-115C
SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="018c", MODE="664", GROUP="scanner"

into /etc/udev/rules.d/45-libsane.rules restarted, and perfect result!

Can't get better than that, can we!?

Excellent how-to.

Thanks again,

Michael.

PS. This is on a Gutsy box. I haven't changed my personal description becos my main box is still Feisty. OK?

PPS. The advice also worked perfectly with a Brother MFC-3240C install on Ubuntu Ultimate (Kubuntu) Just a matter of "lsusb" and entering the model name and ids into the sane library.

Absolutely fantastic fix for a silly problem.

avtolle
April 18th, 2008, 02:48 PM
Thank you very much, BoardDWorld. Used your how to to install Brother MFC240C on Hardy Beta AMD-64. Printer and scanner are working (that's all I need for now). Two modifications to the how-to:

1) Under Hardy, need to do:
sudo mkdir /usr/share/cups/model
as Hardy does not create this directory. I did this before step 7, as the FAQ at the Brother Web Site indicated this would be needed.

2) Under Hardy amd-64, no need to perform step 8.

The scanner driver for 64 bit brscan2, Debian, worked on installation.

Again, thanks.

BoardDWorld
April 30th, 2008, 05:31 AM
Thank you very much, BoardDWorld. Used your how to to install Brother MFC240C on Hardy Beta AMD-64. Printer and scanner are working (that's all I need for now). Two modifications to the how-to:

1) Under Hardy, need to do:
sudo mkdir /usr/share/cups/model
as Hardy does not create this directory. I did this before step 7, as the FAQ at the Brother Web Site indicated this would be needed.

2) Under Hardy amd-64, no need to perform step 8.

The scanner driver for 64 bit brscan2, Debian, worked on installation.

Again, thanks.

Thank you, I'll run through the installation myself soon and update the how-to accordingly.

Kevin Funnell
May 4th, 2008, 05:22 AM
G'Day Forum Readers, Thanks in advance

I need some help in getting a Brother DCP150C Printer/Scanner to work with Xsane Image Scanner under 64bit (Intel) Hardy Herron 8.04.
I have successfully installed the above printer/scanner on two 32bit Gusty Gibbon 7.04 computers using BroadDWorld's post HOWTO: Ubuntu Gutsy 7.10 All Brother Printer Scanner Driver Installation for Newbies!, and using the Brothers Web site for reference, I have read all 142 entries plus other post on Installing scanners.

I have now updated one computer to Hardy Heron 8.04 64bit. The printer installation went well no problems and all functions work well, I ran into problems when installing the scanner side of the unit. After closing down the unit and removing the USB cable I followed the steps 1, 2 3 ,3a & 3b, – 4. I omitted step 5 as I already knew the Vendor ID & Product ID. When I tried to edit: sudo gedit /etc/udev/rules.d/45-libsane.rules (Step 6) error no file found. I can use the scanner by pressing the Scan Button on the Scanners Control Panel but this saves the scanned file to /root/brscan which is hard to remove when the task is completed. When I start-up Xsane Image Scanner it show the scanner (available devices) clicking on the scanner button a pop-up appears, Error - Failed to open device 'brother2:bus2:dev1': Error during device I/O.

Is there anyway I can correct the above problem so I can use Xsane Image Scanner. I tried various options (create /45-libsane.rules and installing and/or re-installed: sane, sane-utils, xsane, xsane-common), or should I do a re-install (everything and clear out posible errore I have created.

Thanks again, Old Kevin

sameer102
May 10th, 2008, 07:42 AM
Hello, I am fairly new to Ubuntu, and I am having trouble installing my Brother DCP-135c.

I have followed this tutorial, but I have run into some trouble. I use Ubuntu 7.10.

I have downloaded the CCUPS and the LPR files to my desktop.

This is what happened:

sameer@sameer-laptop:~/Desktop$ sudo dpkg -i --force-all dcp135clpr-1.0.1-1.i386.deb
(Reading database ... 111991 files and directories currently installed.)
Preparing to replace dcp135clpr 1.0.1-1 (using dcp135clpr-1.0.1-1.i386.deb) ...
Unpacking replacement dcp135clpr ...
Setting up dcp135clpr (1.0.1-1) ...
mkdir: cannot create directory `/var/spool/lpd/dcp135c': No such file or directory
chown: cannot access `/var/spool/lpd/dcp135c': No such file or directory
chgrp: cannot access `/var/spool/lpd/dcp135c': No such file or directory
chmod: cannot access `/var/spool/lpd/dcp135c': No such file or directory

sameer@sameer-laptop:~/Desktop$ sudo dpkg -i --force-all cupswrapperMFC210C-1.0.2-3.i386.desudo dpkg -i --force-all cupswrapperMFC210C-1.0.2-3.i386.debdcp135ccupswrapper-1.0.1-1.i386.deb
dpkg: error processing cupswrapperMFC210C-1.0.2-3.i386.desudo (--install):
cannot access archive: No such file or directory
dpkg: error processing dpkg (--install):
cannot access archive: No such file or directory
dpkg: error processing -i (--install):
cannot access archive: No such file or directory
dpkg: error processing --force-all (--install):
cannot access archive: No such file or directory
dpkg: error processing cupswrapperMFC210C-1.0.2-3.i386.debdcp135ccupswrapper-1.0.1-1.i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
cupswrapperMFC210C-1.0.2-3.i386.desudo
dpkg
-i
--force-all
cupswrapperMFC210C-1.0.2-3.i386.debdcp135ccupswrapper-1.0.1-1.i386.deb


Could someone help please?

Roger Mudd
May 25th, 2008, 12:59 PM
Hardy Update

Just installed Hardy. I have a DCP-7020 that worked well under Gutsy using this guide.
Working from a fresh install, I had the same experience as avtolle.
Creating the directory "/usr/share/cups/model" solved my printer driver installation problems. I did not have to manually add the device ID. My scanner was recognized immediately.

eauvirgo
May 26th, 2008, 11:06 AM
Thanks worked Great!

mahasmb
June 16th, 2008, 03:38 AM
What an awesome How To!

It worked nicely. Thank you ever so much. I was having so much trouble getting my printer (connected to a separate Windows computer) to work through a networked Ubuntu laptop.

null byte
June 17th, 2008, 04:41 AM
Nevermind solved. :)

Perfect guide ;)

elderbuy
July 27th, 2008, 08:36 AM
Just want to say "Thanks". Your post got my printer working on the network on the first try.

Ben Dover
July 29th, 2008, 06:51 AM
Thanks BoardDworld, this how-to solved all my problems with a Brother DCP540CN.Up untill now i had to boot into windows to do any printing or scanning. Now i'm off to boot windows out!
Thanks again.
Euan..

BoardDWorld
July 30th, 2008, 06:20 AM
Thanks BoardDworld, this how-to solved all my problems with a Brother DCP540CN.Up untill now i had to boot into windows to do any printing or scanning. Now i'm off to boot windows out!
Thanks again.
Euan..

You're welcome, thanks for the feedback! :guitar:

mella2000
August 2nd, 2008, 04:09 AM
I go to step 10 and Printer MFC210C may not be connected.
Ubuntu read a Brother 115 dpc but cannot find properly driver and it sugest Brother 1200 dcp.

cedric
August 6th, 2008, 03:00 PM
Hi,

On Hardy with Brother MFC-235 and drivers installed, I have same problem discussed earlier as : I cannot scan if I am not root.

However the solution which seems to have been working on Gutsy is maybe not available on Hardy since I have no *libsane* in /etc/udev/rules.d/

How can I fix permissions for this ?


Thanks,

BoardDWorld
August 8th, 2008, 06:19 AM
Hi,

On Hardy with Brother MFC-235 and drivers installed, I have same problem discussed earlier as : I cannot scan if I am not root.

However the solution which seems to have been working on Gutsy is maybe not available on Hardy since I have no *libsane* in /etc/udev/rules.d/

How can I fix permissions for this ?


Thanks,

Hello, with Hardy you shouldn't need to run it as root or modify the libsane rules as performed in step 5 and onwards. Did you perform step 4 and check to see if it was working? I have 2 printers (115c and 215c) and they both didn't need the device added to the libsane rules. Others have reported this also.


Thanks!

BoardDWorld
August 8th, 2008, 06:29 AM
I go to step 10 and Printer MFC210C may not be connected.
Ubuntu read a Brother 115 dpc but cannot find properly driver and it sugest Brother 1200 dcp.

First I would like to confirm if you are running 64bit?

kyoshi52
August 10th, 2008, 04:36 AM
Thanks very much from a newbie.
This was extremely helpful.
Kyoshi52

RavanH
August 13th, 2008, 07:01 PM
First I would like to confirm if you are running 64bit?

Hi BoardWorld,

Another user but I seem to be in a similar situation. I am on a 64bit Hardy system and my DCP-115C was recognized upon first connection and (like the other poster) the DCP 1200 driver was recommended.

With that driver, printing was not possible. No errors or anything and the printer even showed 'Receiving Data' on it's little LCD screen but nothing was printed out...

Then I found your how to and installed the MFC 210C drivers by just following your steps and copy-pasting the commands (first part only, for printing) in terminal. All went VERY smooth , THANKS :) but one problem remains: the same result as with the recommended 1200 driver, no actual printing taking place :(

Any idea?

--ravan

EDIT: for what it is worth, I did already have lib32stdc++6 and ia32-libs installed on my system.

mella2000
August 18th, 2008, 03:06 AM
First I would like to confirm if you are running 64bit?

No, I'm 32 bit. Ubuntu 8.
It read two printers: DCP 115 and MFC 210. It doesn't allow me to print...

ACGarib
August 21st, 2008, 09:12 PM
Hi I just got a MFC-465cn and the printer part of the guide worked great, but the scanner part is giving me problems.

In order to scan something, I have to run xsane as root. I'm running 32 bit Hardy, and there is no 45-libsane.rules, so I can't fix the problem.

I read here: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/205496 that installing sane-utils fixes the problem, but it didn't work for me.

Anyone have any suggestions?



EDIT: I fixed it by following:

http://solutions.brother.com/linux/sol/printer/linux/linux_faq.html#9

Once again, a few minutes after I run out of ideas and make a post here, I somehow figure it out.

BoardDWorld
August 21st, 2008, 09:56 PM
Hi I just got a MFC-465cn and the printer part of the guide worked great, but the scanner part is giving me problems.

In order to scan something, I have to run xsane as root. I'm running 32 bit Hardy, and there is no 45-libsane.rules, so I can't fix the problem.

I read here: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/205496 that installing sane-utils fixes the problem, but it didn't work for me.

Anyone have any suggestions?



EDIT: I fixed it by following:

http://solutions.brother.com/linux/sol/printer/linux/linux_faq.html#9

Once again, a few minutes after I run out of ideas and make a post here, I somehow figure it out.

I don't think that remedy is very safe as it opens all your usb ports to security threats. Can you try this:

http://ubuntuforums.org/showpost.php?p=5636012&postcount=4

ACGarib
August 22nd, 2008, 10:17 AM
I don't think that remedy is very safe as it opens all your usb ports to security threats. Can you try this:

http://ubuntuforums.org/showpost.php?p=5636012&postcount=4

I looked at dll.conf and "brother2" is already there.

What I did was sudo scanimage -L

and it showed device `brother2:bus5;dev1' is a Brother MFC-465CN USB scanner

so I knew that brother2 is needed in dll.conf.

I followed the rest of the directions and it doesn't work.

I guess I'll stick with running xsane as root and not doing the fix I mentioned in the earlier post. It's not like I scan stuff very often.

We'll see what happens in Intrepid Ibex.

corbcox
August 25th, 2008, 03:49 PM
I have been trying for several weeks to get my brother printer to work over my network at work. Finally I was able to by following this. Thanks for the time and effort youve put into this guide.

corbcox

JC0124
September 1st, 2008, 01:23 PM
Wonderful how to, this worked great with my brother MFC240C, which always causes a lot of problems with Linux in general. Keep up the great work.

Breakar
September 8th, 2008, 09:23 PM
My printer stopped working, it was working fine then stopped after i reinstalled ubuntu.

im using the drivers from synaptic manager, mfc 260c and im using hardy 8.04

the printer detects when i plug it in it will have a searching icon then say MFC-260 found and have configuration button, when i try print it will say "printer 'MFC-260' may not be connected".

/usr/lib/cups/filter$ dir
brlpdwrapperDCP110C brlpdwrapperMFC3220C foomatic-rip
brlpdwrapperdcp135c brlpdwrapperMFC3240C gziptoany
brlpdwrapperdcp150c brlpdwrapperMFC3320CN hpgltops
brlpdwrapperdcp153c brlpdwrapperMFC3340CN imagetops
brlpdwrapperDCP310CN brlpdwrapperMFC3420C imagetoraster
brlpdwrapperdcp350c brlpdwrapperMFC3820CN oopstops
brlpdwrapperdcp353c brlpdwrapperMFC410CN pdftops
brlpdwrapperdcp560cn brlpdwrapperMFC420CN pstops
brlpdwrapperdcp770cw brlpdwrappermfc465cn pstopxl
brlpdwrapperFAX1815C brlpdwrapperMFC5440CN pstoraster
brlpdwrapperFAX1820C brlpdwrapperMFC5840CN rastertodymo
brlpdwrapperFAX1835C brlpdwrapperMFC620CN rastertoepson
brlpdwrapperFAX1840C brlpdwrappermfc680cn rastertoescpx
brlpdwrapperFAX1920CN brlpdwrappermfc685cw rastertogutenprint.5.0
brlpdwrapperFAX1940CN brlpdwrappermfc885cw rastertohp
brlpdwrapperFAX2440C commandtocanon rastertolabel
brlpdwrapperMFC210C commandtoepson rastertopclx
brlpdwrappermfc230c commandtoescpx rastertospl2
brlpdwrappermfc235c commandtopclx textonly
brlpdwrappermfc260c cupsomatic texttops


I also get the error

There was an error during the CUPS operation: 'server-error-service-unavailable'.

This happens when i go to administration>printing


edit - fixed my problem when my printer is low on ink it won't print ! replaced the ink and it worked.

augoldfinger
September 10th, 2008, 02:51 PM
Yikes!
I got a system error
The package 'mfc665cwcupswrapper' is in a inconsistent state and needs to be reinstalled, but no archive can be found for it. Do you want to remove this package now to continue?

What did I do wrong?

Then I got
The package 'mfc665cwcupswrapper' is in a inconsistent state and needs to be reinstalled, but no archive can be found for it. Please reinstall the package manually or remove it from the system.

How Do I start over?
Wow Sorry!!

bigfootx2
September 15th, 2008, 03:50 AM
Thanks BoardDWorld

I stumbled around trying to get my printer to work until I found your HOWTO.

The scanning was more tricky as my MFC440CN is networked. However, it's now working as well.

After your scanner step 3 I configured my MFC in Terminal like this

brsaneconfig2 -a name=Brother-MFC model=MFC-440CN ip=192.168.1.19

Precise model and ip details were necessary.

I can't resist a swipe at Brother though. Why can't they do something as simple as the hp-setup program?

But thanks again for the HOWTO and all those who have contributed.

badfish69
September 18th, 2008, 07:27 PM
MFC-465CN works on 64 bit Ubuntu with these instructions and "lib32stdc++6" and "ia32-libs" installed. CUPS wasn't successful the first time, so lpr and CUPS both had to be reinstalled. About to try the scanner.

The scanner also works, but not quite how described. Apparently for Ubuntu releases following 7.10, there is no 45-libsane.rules. Instead I had follow these instructions:

[For Ubuntu 8.04]

1. Open "/etc/udev/rules.d/40-basic-permissions.rules" file.
2. Edit "0664" to "0666" in "USB devices" section.

Before the edit --------------------------
# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
SUBSYSTEM=="usb_device", MODE="0664"

After the edit --------------------------
# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"
SUBSYSTEM=="usb_device", MODE="0666"

3. Restart the OS.

source
http://solutions.brother.com/linux/sol/printer/linux/linux_faq.html#9

Liametc
October 9th, 2008, 10:40 AM
THANKYOU THANKYOU badfish!

your solution worked for me. it was a shame that i had to read through 17 pages and yours was the last post but it was worth it!

you are a legend among men sir!:)

stig
October 21st, 2008, 05:20 AM
Hi, I use two computers, each with the same Ubuntu software and each connected to its own Brother HL-2030 printer. Earlier in the month I upgraded the PCs from Ubuntu 6.04 to 8.04. The printers no longer worked and finally, on 15th October, I had to re-install the lpr and CUPS files from the Brother site. Then all seemed OK - I could print as previously from Open Office, Gedit, Thunderbird etc.

But I have since loaded an Ubuntu update to CUPS and now I can still print a test page and print from Gedit and Thunderbird - but I cannot print from Open Office (OO). When I try to print in OO, the printer light blinks once and then nothing more happens. System/Printer shows nothing queued. Yet the print dialog in OO looks OK.

Has anyone else encountered this? It is the same problem on both of my PCs. I haven't re-installed the lpr or CUPS files because the printers work OK for Gedit and Thunderbird so I reason it cannot be due to the ppd files.

When I go to http://localhost:631/printers and click on Manage Printers I get:
HL2030-for-CUPS
Description: HL2030-for-CUPS
Location:
Printer Driver: Brother HL2030 for CUPS
Printer State: idle, accepting jobs, published.
Device URI: usb://Brother/HL-2030%20series

As far as I can recall this is the same as when the printers were working. It seems to be a problem in communication between the printers and OO (but not between the printers and other software).

Printing is important for my work and it's a real hassle finding first that the Ubuntu 8.04 upgrade wrecked my printing and possibly the CUPS update has wrecked it again!

Hypnosleepman
October 21st, 2008, 04:29 PM
[QUOTE=stig;6004861]But I have since loaded an Ubuntu update to CUPS and now I can still print a test page and print from Gedit and Thunderbird - but I cannot print from Open Office (OO). When I try to print in OO, the printer light blinks once and then nothing more happens. System/Printer shows nothing queued. Yet the print dialog in OO looks OK.

Has anyone else encountered this? It is the same problem on both of my PCs. I haven't re-installed the lpr or CUPS files because the printers work OK for Gedit and Thunderbird so I reason it cannot be due to the ppd files.

When I go to http://localhost:631/printers and click on Manage Printers I get:
HL2030-for-CUPS
Description: HL2030-for-CUPS
Location:
Printer Driver: Brother HL2030 for CUPS
Printer State: idle, accepting jobs, published.
Device URI: usb://Brother/HL-2030%20series

As far as I can recall this is the same as when the printers were working. It seems to be a problem in communication between the printers and OO (but not between the printers and other software).

Same kind of thing happening with my MFC-3240C. I get the same http://localhost:631 results except they are for MFC-3240C. I can print a test page, I can print text and some html pages from terminal using "lp" but lose the formatting. But I get nothing from any apps. Scanner works great in all apps. The LCD on the printer says receiving data for about 1/2 a second when I send to the printer, then... nothing. And no errors I can find. The print queue says complete. Must be something simple i am not able to figure out. I'm using kubuntu with ABIT VH6II motherboard. Pentuim 1.0g CPU, 1gb RAM. installed kubuntu 10/15/2008. Any help appreciated.

stig
October 22nd, 2008, 05:41 AM
Same kind of thing happening with my MFC-3240C.

My problem seems to be solved now. I had said above "I haven't re-installed the lpr or CUPS files because the printers work OK for Gedit and Thunderbird so I reason it cannot be due to the ppd files". Well, my reasoning was wrong (not unusual!). In desperation, I went through the installation steps at the beginning of this thread and the pinter now works in Open Office as well as my other software.

But before doing the installation I deleted the old printer from the System | Printers dialog and I also deleted the /var/spool/lpd folder and the /usr/share/cups/model folder. In the installation I then followed the steps including those which install these two folders again.

My system was Dapper 6.06 but then I upgraded to Hardy 8.04. According to this thread, the lpr and cups folders are not present by default in Hardy and have to be created. However when I upgraded from Dapper the ones already there seemed to be carried over into my Hardy set up - and worked fine in all my apps. It was only when a few days ago there was an Ubuntu update to CUPS files that I lost the ability to print in Open Office.

So it seems a good idea to get rid of the folders and install from scratch.

I also noticed that when I finished the installation and printed a test page from the System | Printing dialog, a second version of the printer icon appeared in the printer box. This one did not work and I deleted it.

I have now done the re-install on both my PCs and they seem to be printing correctly.

Thank you BoardDWorld for your HOWTO!

shamrock_uk
October 22nd, 2008, 05:38 PM
Just wanted to say a big thank you to the OP, I was able to talk my mum through the walkthrough in 20 mins over the phone and it worked like a charm! :smile:

maxter
November 4th, 2008, 04:59 PM
for a lot of models lps drivers and cups wrapper are already packaged in universe.
simply try to find your model name in synaptic searching name&description.

my dcp353c drivers are included in brother-cups-wrapper-extra and brother-lpr-driver-extra.

i think all requirements for installation will be resolved from apt (for example csh is a required package)

i didn't test those packages, because i already installed all the stuff following this thread procedure, but i don't see why it shouldn't work

cheers

d4nnyt
December 13th, 2008, 01:07 PM
I can't get my DCP-120c to install properly on xubuntu intrepid. I have followed the instructions carefully and repeated over 10 times!

The printer appears to be installed but when I try to print a test page it hangs on "processing" and the print job manager says "Printer MFC-210C may not be connected.".

When I installed; I got this;

d4nnyt@d4nnyt-desktop:~/Desktop$ sudo dpkg -i --force-all cupswrapperMFC210C-1.0.2-3.i386.deb
(Reading database ... 198673 files and directories currently installed.)
Preparing to replace cupswrappermfc210c 1.0.2-3 (using cupswrapperMFC210C-1.0.2-3.i386.deb) ...
lpadmin: The printer or class was not found.
* 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 ]



"lpadmin: The printer or class could not be found." - Does that have anything to do with why it wont work?

Cheers,
Danny

d4nnyt
December 17th, 2008, 12:41 PM
The install is still the same but I managed to get the printer to print by terminal;

sudo chmod a+rwx /dev/usb*

Don't know what it means, but it prints after I type this in.

When I restart the computer it no longer prints and I have to use the same fix again.

With this knowledge does anyone know a complete fix or how to make this permanent?

Regards,
Danny

Roger Mudd
December 20th, 2008, 02:21 AM
Had some problems getting my DCP-7020 to print under 64-Bit Intrepid. Had to create some symbolic links as described by the FAQ (http://solutions.brother.com/linux/sol/printer/linux/linux_faq-2.html#142):

The reference directories for 32 bit applications have changed on the 64 bit version of Ubuntu7.10.
If your version shows the following files after the installation, you will have to make symbolic links for them under /usr/lib32.

Example of the command (Issue the command as a superuser);
ln -s /usr/lib/libbrcomplpr2.so /usr/lib32/libbrcomplpr2.so

List of files required to make symbolic links

/usr/lib/libbrcompij2.so
/usr/lib/libbrcompij2.so.1
/usr/lib/libbrcompij2.so.1.0
/usr/lib/libbrcompij2.so.1.0.2

/usr/lib/libbrcompij.so.1
/usr/lib/libbrcompij.so.1.0
/usr/lib/libbrcompij.so.1.0.4

/usr/lib/libbrcomplpr.so

/usr/lib/libbrcomplpr2.so

/usr/lib/libbrcompcl1.so
/usr/lib/libbrcompcl1.so.1
/usr/lib/libbrcompcl1.so.1.0
/usr/lib/libbrcompcl1.so.1.0.0

Seems to be working now.

ambiogas
December 21st, 2008, 05:30 PM
deleted

salviablue
December 24th, 2008, 05:06 AM
Hi, not quite sure on the exact relevance to this thread but by following instructions here I have managed to get my DCP-135c working on Hardy, mostly. I cant seem to print off anything where I set the paper as "Brother premium Glossy photo paper" or "other photo paper". According to ubuntu, the info gets sent to the printer ok and is not showing as queued in the printer spool, the printer shows "receiving data" for a few minutes, makes a few noises, then stops doing anything and says "data remaining".
According to the destructions, "Print data is left in the machine's memory. Re-start printing from your computer."
But doing as suggested in the manual gets the printer stuck in "receiving data"?

It prints fine if I select normal paper (the default selection for paper type)?

billgoldberg
December 29th, 2008, 07:23 AM
Just letting people know that on eeebuntu 8.04 I had to manually reconfigure my printer in the cups webinterface.

Cal55
December 29th, 2008, 04:18 PM
Just to say thanks to the OP:KS. This worked for a DCP-350C, on Hardy 8.04 with the addition of the link to the Scanner permissions fixed from sub-post #160.

Cheers
Cal

tom-japan
January 2nd, 2009, 11:48 AM
This was an excellent tutorial. It works perfectly for DCP-9040CN model (bought in Japan).

Printer and scanner working via usb and network.

Prior to finding this tutorial, I found that the cups "MFC-9420CN BR-Script3" and cups "HL-4000CN Foomatic/Postscript (recommended)" worked equally when printing, the colors seemed a bit off and light though.

wxturtle
January 6th, 2009, 02:22 PM
Hi all,

Upgraded from 8.04 to 8.10 and it broke my MFC210 installation. Tried using this help to get it reinstalled but these are the messages I have received.

xxx@DESKTOP:~/Desktop$ sudo dpkg -i --force-all mfc210clpr-1.0.2-1.i386.deb(Reading database ... 146310 files and directories currently installed.)
Preparing to replace mfc210clpr 1.0.2-1 (using mfc210clpr-1.0.2-1.i386.deb) ...
Unpacking replacement mfc210clpr ...
Setting up mfc210clpr (1.0.2-1) ...
ln: creating symbolic link `/usr/lib/libbrcompij2.so.1.0': File exists
ln: creating symbolic link `/usr/lib/libbrcompij2.so.1': File exists
ln: creating symbolic link `/usr/lib/libbrcompij2.so': File exists

xxx@DESKTOP:~/Desktop$ sudo dpkg -i --force-all cupswrapperMFC210C-1.0.2-3.i386.deb
(Reading database ... 146310 files and directories currently installed.)
Preparing to replace cupswrappermfc210c 1.0.2-3 (using cupswrapperMFC210C-1.0.2-3.i386.deb) ...
lpadmin: Unable to connect to server: Connection refused
Unpacking replacement cupswrappermfc210c ...
Setting up cupswrappermfc210c (1.0.2-3) ...
rm -f /usr/lib/cups/filter/brlpdwrapperMFC210C
lpinfo: Unable to connect to server: Connection refused
lpinfo: Unable to connect to server: Connection refused
lpinfo: Unable to connect to server: Connection refused
lpadmin: Unable to connect to server: Connection refused


Any idea?

neoroses
January 6th, 2009, 05:42 PM
brilliant howto mate one little thing when editing the rules text for the scanner my file was /etc/udev/rules.d/45-libmtp8.rules

not

/etc/udev/rules.d/45-libsane.rules

just a little help if anyone was stumped as to why the file was empty

safe

irockonguitar
January 11th, 2009, 11:43 PM
brilliant howto mate one little thing when editing the rules text for the scanner my file was /etc/udev/rules.d/45-libmtp8.rules

not

/etc/udev/rules.d/45-libsane.rules

just a little help if anyone was stumped as to why the file was empty

safe


Thank you! I was certainly stumped by the empty file. However, I still get the I/O error even after editing that step. :( Then again, my printer keeps giving me the "not connected...retry in 30 seconds error. So maybe that's my problem. Anybody have any ideas?

EDIT: When I go to http://localhost:631, my printer IS listed, and it gives me this error: "No %%Pages: comment in header!" What does this mean, and what can I do to fix it?

irockonguitar
January 13th, 2009, 10:47 PM
I can hardly believe this, but I just found a German forum ( http://www.turboprint.de/support/viewtopic.php?t=431&sid=45b7a7e373d026a8dc1ece945992bd18 ) and used an online translator, to figure out how to solve my problem.

sudo chmod 700 /usr/lib/cups/backend/usb


Being a complete noob, I'm not entirely sure what the above line even means, but I typed it in my terminal, and then opened an Office document and said "print," and sure enough, it did! I hope this helps someone else, and if anybody could possibly explain to me why this worked, that'd be great, too.

Cheers

themagicmanfromtrent
January 25th, 2009, 09:40 AM
FANTASTIC. Up and running in seconds (DCP-150C). Great How To.

Thanks

bayvista
January 25th, 2009, 09:09 PM
Hi Guys,

Great Howto

I am thinking of buying a Brother All-in-one. Can I suggest that we create a 'Sticky' for people to enter their Model No. (I don't know how to do this). It would help intending buyers see what works

bayvista
February 3rd, 2009, 12:44 AM
Just bought and installed a DCP-165C All-in-one using this How To on Intrepid 8.10. Fantastic. Thanks to the Author. Had to use the Scanner Patch mentioned around 160.

:p :p :p

RavanH
February 9th, 2009, 05:25 PM
Hi,

Thanks for this extensive how-to. I have posted on this thread before because I could not get my DCP-115C working on Hardy AMD64 but now on a clean Intrepid 64bit install, I managed to get the printer going with this step-by-step :)

One problem remains: scanning will not work. I tried to complete step 6 from the scanner instructions:
sudo gedit /etc/udev/rules.d/45-libsane.rules but I have no file called 45-libsane.rules !!!

Another poster suggested sudo gedit /etc/udev/rules.d/45-libmtp8.rules but I find only rules belonging to GROUP="audio" in this file and hesitate to put the lines # Brother DCP-115C
SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="018c", MODE="664", GROUP="scanner" in there...

Can anyone please advise?

PhoenixDream
February 10th, 2009, 03:16 PM
Thank you very much, after a bit of learning and finding my way round, I have success!

Cheers!

bayvista
February 12th, 2009, 06:54 PM
Hi,

My Brother DCP-165C all-in-one worked fine until this morning, When I send anything to print, it sits there for about 5 minutes, then spits out a blank page. Same applies to a Test Page.

Checked Printer under Windows and works OK so I guess I have a driver problem.

Checked the CUPS page and everything looks normal.

Any suggestions?

TopEnder
February 13th, 2009, 12:27 AM
Hi,

My Brother DCP-165C all-in-one worked fine until this morning, When I send anything to print, it sits there for about 5 minutes, then spits out a blank page. Same applies to a Test Page.

Checked Printer under Windows and works OK so I guess I have a driver problem.

Checked the CUPS page and everything looks normal.

Any suggestions?
The last time I looked in 8.10 Synaptic Package Manager there were no drivers listed for the Brother DCP-165C but you may want to check I am on 8.04 at the moment if no drivers in Synaptic Package Manager you may withe to check out the Brother site: http://solutions.brother.com/linux/en_us/ it worked for me with installing the Brother DCP-150C Printer & Scanner on 32bit 8.10. let the forum know it you could install. TopEnder

bayvista
February 13th, 2009, 06:43 PM
Sorry. I should have said that I installed the driver following the instructions in this thread. It worked just fine for 2 weeks then suddenly died. I suspect this was due to an automatic update, but I have no idea how to nail it.

If no other suggestions, I'll try the Brother page.

bayvista
February 14th, 2009, 12:35 AM
OK I seemed to have solved this problem. By reading the 'Howto' again after Step 9. If unsuccessful, go back to Step 7 which I did. After reinstalling the LPR driver and CUPS driver, everything is back to normal??? WHY???

deevus
February 14th, 2009, 05:21 AM
Great HOWTO. Just set up a DCP150C networked from Windoze for my mother.

Thanks.

mriendea
February 15th, 2009, 02:57 AM
This worked fine for the Brother MFC-7220 on Ubuntu 8.10 Server AMD_64.

billgoldberg
February 28th, 2009, 09:30 AM
I used this tutorial on Ubuntu 8.04 and everything worked fine.

On 8.10 however, when setting up the scanner, there is no

45-libsane.rules files, nor anything similar in the directory.

I tried making it myself, but that just gave an I/O error.

Any advice?

irockonguitar
February 28th, 2009, 12:10 PM
I used this tutorial on Ubuntu 8.04 and everything worked fine.

On 8.10 however, when setting up the scanner, there is no

45-libsane.rules files, nor anything similar in the directory.

I tried making it myself, but that just gave an I/O error.

Any advice?


I used this fellow's advice:

brilliant howto mate one little thing when editing the rules text for the scanner my file was /etc/udev/rules.d/45-libmtp8.rules

not

/etc/udev/rules.d/45-libsane.rules

just a little help if anyone was stumped as to why the file was empty

safe

luctor
March 4th, 2009, 02:11 AM
For the scanner to work in jaunty I had to edit line 52 in
/lib/udev/rules.d/50-udev-default.rules
lsusb
Bus 001 Device 005: ID 04f9:01a9 Brother Industries, Ltd DCP-330C

sane-find-scanner

# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.

# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04f9, product=0x01a9) at libusb:001:005
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.

# Not checking for parallel port scanners.

# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.

# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.

scanimage -L
device `brother2:bus2;dev1' is a Brother DCP-330C USB scanner

Andavane
March 4th, 2009, 05:57 AM
Please note this is my first How-To.....

Step 6:
In Terminal type the following:

Ubuntu:
sudo gedit /etc/udev/rules.d/45-libsane.rules
.......[/SIZE]
I only get a blank page, as shown hereunder, so can't see how to get at the file I'm supposed to open:

What do I do to open it?

Regards
John

TopEnder
March 4th, 2009, 06:03 AM
I only get a blank page, as shown hereunder, so can't see how to get at the file I'm supposed to open:

What do I do to open it?

Regards
John
G'Day, I don't beleive you need to use: /etc/udev/rules.d/45-libsane.rules

For the scanner you could try the following:
What I have set out below works on Ubuntu 8.04 64bit and Ubuntu 8.10 32 bit for a Brother DCP-150C it has been used by other forum member for other Brother scanners models.

1. Open "/etc/udev/rules.d/40-basic-permissions.rules" file.

Code:
gksudo gedit /etc/udev/rules.d/40-basic-permissions.rules

2. Edit "0664" to "0666" in "USB devices" section.

Before the edit --------------------------

# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
SUBSYSTEM=="usb_device", MODE="0664"

After the edit --------------------------

# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"
SUBSYSTEM=="usb_device", MODE="0666"

3. Save file

4. Restart the system.

To get the scan-key-tool to start automatically at Ubuntu boot by default.

Install: sane-utils if not already installed (it's in Synaptic Package Manager)

Add the brscan-skey command to your startup program.

System -> Preference -> Sessions -> Startup Programs -> New
Enter brscan-skey in:
Name: and
Command:
Comment: Enter what you want to call your printer/scanner

Press OK and enable the entry.

If you get an error with Xsane close it down open it up again and try again, some times it will work, also try using the Scanner Control panel (using SCAN / up butter (scan to file) / OK / Start / Mono or Colour. It should save the file in your Home Folder/brscan.

The Brother Web Page has a lot of useful information including most of the above. If you have any problems then feel free to PM me. TopEnder

Andavane
March 4th, 2009, 08:22 AM
G'Day, I don't beleive you need to use: /etc/udev/rules.d/45-libsane.rules

For the scanner you could try the following:
What I have set out below works on Ubuntu 8.04 64bit and Ubuntu 8.10 32 bit for a Brother DCP-150C it has been used by other forum member for other Brother scanners models.

1. Open "/etc/udev/rules.d/40-basic-permissions.rules" file.

Code:
gksudo gedit /etc/udev/rules.d/40-basic-permissions.rules

2. Edit "0664" to "0666" in "USB devices" section.

Before the edit --------------------------

# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
SUBSYSTEM=="usb_device", MODE="0664"

After the edit --------------------------

# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"
SUBSYSTEM=="usb_device", MODE="0666"

3. Save file

4. Restart the system.

To get the scan-key-tool to start automatically ...

Hiya mate,
Well that's my problem: when I type:

"gksudo gedit /etc/udev/rules.d/40-basic-permissions.rules"

I can't see a file to edit ;)

The attached is what I see!

Regs,

John

billgoldberg
March 4th, 2009, 08:36 AM
G'Day, I don't beleive you need to use: /etc/udev/rules.d/45-libsane.rules

For the scanner you could try the following:
What I have set out below works on Ubuntu 8.04 64bit and Ubuntu 8.10 32 bit for a Brother DCP-150C it has been used by other forum member for other Brother scanners models.

1. Open "/etc/udev/rules.d/40-basic-permissions.rules" file.

Code:
gksudo gedit /etc/udev/rules.d/40-basic-permissions.rules

2. Edit "0664" to "0666" in "USB devices" section.

Before the edit --------------------------

# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
SUBSYSTEM=="usb_device", MODE="0664"

After the edit --------------------------

# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"
SUBSYSTEM=="usb_device", MODE="0666"

3. Save file

4. Restart the system.

To get the scan-key-tool to start automatically at Ubuntu boot by default.

Install: sane-utils if not already installed (it's in Synaptic Package Manager)

Add the brscan-skey command to your startup program.

System -> Preference -> Sessions -> Startup Programs -> New
Enter brscan-skey in:
Name: and
Command:
Comment: Enter what you want to call your printer/scanner

Press OK and enable the entry.

If you get an error with Xsane close it down open it again and try some tomes it will work, also try using the Scanner Control panel (using SCAN / up butter (scan to file) / OK / Start / Mono or Colour. It should save the file in Home Folder/brscan.

The Brother Web Page has a lot of useful information including most of the above. If you have any problems then feel free to PM me. TopEnder

Thanks, this worked for me.

The other solution didn't.

Andavane
March 4th, 2009, 10:58 AM
Thanks, this worked for me.

The other solution didn't.

Yes but how do you edit this file, when all you can see is a blank screen with the file name at the top? i.e. how do you get the textof the file up in front of you in order to edit it?

I don't understand why I can't navigate physically to the location and open it from there.

John

Andavane
March 4th, 2009, 04:15 PM
I got there!

I made a launcher with

"gksudo nautilus" in the taskbar.

Then used the window it opened (after typing in password), navigated to the required file, made the alteration, saved then exited.

It seems clearer now.

Regs

John

visciousirene
March 5th, 2009, 05:37 PM
Dear all or the great person who wrote the how to...
I did all of that but when getting to Step 6:
In Terminal type the following:

Ubuntu:
Code:

sudo gedit /etc/udev/rules.d/45-libsane.rules

The documents 45-libsane is totally empty!!!

What do I do now??

Cheesr in advance

Irene

TopEnder
March 5th, 2009, 10:27 PM
Irene,

If you are useing Hardy 8.04 or Intrepid 8.10 I dont beleive you need to uses sudo gedit /etc/udev/rules.d/45-libsane.rules. Have a look above at my post 201 and use it and hopefully you will be up an scanning in no time. TopEnder

Andavane
March 6th, 2009, 02:04 AM
Dear all or the great person who wrote the how to...
I did all of that but when getting to Step 6:
In Terminal type the following:

Ubuntu:
Code:

sudo gedit /etc/udev/rules.d/45-libsane.rules

The documents 45-libsane is totally empty!!!

What do I do now??

Cheesr in advance

Irene

On this machine, running Intrepid, there is no such file as 45-libsane.rules in that location.
But there is one called "45-libmtp8.rules"; I have a feeling I read somewhere that that is the file which is needed.

Rgs,

John

visciousirene
March 6th, 2009, 05:31 AM
Hello,

Sorry I didn't give much details, I am running Hardy Heron, the printer is a brother dcp150-c, I have tried what is said in post 201 but to no avail, in fact, after that the printer is not recognised either!!!
So I went back to initial state.
Thanks
irene

visciousirene
March 6th, 2009, 05:37 AM
NB Hardy Heron 32 bit

visciousirene
March 6th, 2009, 06:00 AM
sudo gedit /etc/udev/rules.d/45-libmtp8.rules

This directory is also empty, at least on my machine, Ubuntu 8.04 32 bit... thanks anyways

Andavane
March 6th, 2009, 03:29 PM
sudo gedit /etc/udev/rules.d/45-libmtp8.rules

This directory is also empty, at least on my machine, Ubuntu 8.04 32 bit... thanks anyways
Irene, I went and looked on my laptop which has 8.04 Hardy, the nearest files go from:
"... 40-basic-permissions.rules ~~~ 40-permissions.rules ~~~ 45-fuse.rules ~~~ 45-linmtp7.rules..."
There is no "45-libmtp8.rules".

On my other machine (Intrepid 8.10) we have, in the same directory,
"... libmtp8.rules..." directly in the udev directory; but there is no "45" in front of the name.

I reckon that these files must change according to distro.
Sometimes they are the same, sometimes a bit of research is needed, I should imagine.

Regards

John

blueyelabs
March 7th, 2009, 07:52 AM
Worked brilliantly for printing, but alas, scanning is so far a no-go. Xsane doesn't recognise the printer for some absurd reason...
Using a brother MFC5860CN on Ubuntu64. What's odd is that last time I followed this guide, it worked ferpectly on Ubuntu32...
Great guide though!

desperado666
March 7th, 2009, 10:59 AM
Why not just using

System - Administration - Users and groups- User rights - Use scanner ?

altonbr
March 16th, 2009, 12:23 PM
The scanner fix for Brother MFC-8440 doesn't work for Ubuntu 9.04 Jaunty because /etc/udev/rules.d/45-libsane.rules doesn't exist! MFC-8440 requires brscan, not brscan2.

Any ideas?

luctor
March 16th, 2009, 04:18 PM
You need to edit
/lib/udev/rules.d/50-udev-default.rules in jaunty

see my post at
http://ubuntuforums.org/showpost.php?p=6834677&postcount=198

gandalf2000
March 20th, 2009, 07:45 AM
Thanks for the original guide. It worked well for my DCP-560CN to get the printer working on the network. But I had to go back to the Brother site for the scanner. However, all is well .........at the moment.

Quintasan
March 28th, 2009, 12:41 PM
You need to edit
/lib/udev/rules.d/50-udev-default.rules in jaunty

see my post at
http://ubuntuforums.org/showpost.php?p=6834677&postcount=198

I think line 53, and what did you change exacly cause the line is:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0666" in mine case.

I also added:
SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="01e4", MODE="0666", GROUP="scanner", ENV{libsane_matched}="yes"
to
/lib/udev/rules.d/40-libsane-extras.rules
but it didn't help

MixMastaYoda
March 30th, 2009, 05:55 AM
Great step by step guide! However, my printer all of a sudden doesn't work?!

I installed it less than 30 minutes ago! It printed the test page, it even printed two documents.

I restarted and tried printing something else and I get a message "printer may not be connected". I know its connected because the scanner works great...printing not so much.

I also noticed ubuntu installed the same printer after I had restarted so I have two icons of the same printer but neither work?

Any suggestions to fixing this? I followed the guide over and over again but no luck :(

Is there a way to just remove all the printers present and all the settings related to it with out the fresh install?

Thanks in advance!

bayvista
March 30th, 2009, 09:27 PM
Yes. I had a similar problem. I think I fixed it by following the notes around Step 9. Try this.

djbon2112
April 6th, 2009, 07:22 PM
Hello all. I'm trying to get my printer (DCP-120C) working over the network. It is hosted on a Windows XP machine, and I'm using Ubuntu 9.04 "Jaunty" beta x86_64. I've installed the drivers and followed the OP to the letter, and I see the printer in my CUPS page, but when I go to print a test page to it it says "Pending", then the page refreshes and I see "Stopped", with nothing appearing on the printer. Any suggestions?

BobSongs
April 8th, 2009, 11:23 AM
Greetings!

I'm an Ubuntu user and I once created a tutorial on how to install the MFC210c.

While this is not directly related to "installing" a Brother MFC printer on an Ubuntu box, I suggest adding the following link directly in the tutorial as a courtesy service for MFC users.

The Link (http://www.wisebread.com/how-to-refill-an-ink-cartridge-with-a-small-piece-of-tape)

This link points to a blog that Brother printer users would find indispensable when our cartridges run out of ink (apparently).

Half-way through a project where time was of the essence, the printer suddenly declared there was no black ink.

:eek:

The cartridge had more than enough ink to complete the job. There wasn't time to run off to the store to replace it. The link provided above helped get the job done. The final required pages printed beautifully.

Do not throw out "almost finished" cartridges. Save yourself time and money.

Jose Catre-Vandis
April 8th, 2009, 11:57 AM
Greetings!

I'm an Ubuntu user and I once created a tutorial on how to install the MFC210c.

While this is not directly related to "installing" a Brother MFC printer on an Ubuntu box, I suggest adding the following link directly in the tutorial as a courtesy service for MFC users.

The Link (http://www.wisebread.com/how-to-refill-an-ink-cartridge-with-a-small-piece-of-tape)

This link points to a blog that Brother printer users would find indispensable when our cartridges run out of ink (apparently).

Half-way through a project where time was of the essence, the printer suddenly declared there was no black ink.

:eek:

The cartridge had more than enough ink to complete the job. There wasn't time to run off to the store to replace it. The link provided above helped get the job done. The final required pages printed beautifully.

Do not throw out "almost finished" cartridges. Save yourself time and money.

Took a fair bit of searching to find out "exactly" what to do. These two direct links to extra life for your brother print cartridges should help:

http://journal.drfaulken.com/trick-your-brother-inkjet-into-working-when-an-ink-cartridge-runs-dry/

http://www.fixyourownprinter.com/forums/inkjet/15942#1

fishnchips
April 8th, 2009, 02:42 PM
solved

fishnchips
April 8th, 2009, 03:23 PM
G'Day, I don't beleive you need to use: /etc/udev/rules.d/45-libsane.rules

For the scanner you could try the following:
What I have set out below works on Ubuntu 8.04 64bit and Ubuntu 8.10 32 bit for a Brother DCP-150C it has been used by other forum member for other Brother scanners models.

1. Open "/etc/udev/rules.d/40-basic-permissions.rules" file.

Code:
gksudo gedit /etc/udev/rules.d/40-basic-permissions.rules

2. Edit "0664" to "0666" in "USB devices" section.

Before the edit --------------------------

# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
SUBSYSTEM=="usb_device", MODE="0664"

After the edit --------------------------

# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"
SUBSYSTEM=="usb_device", MODE="0666"

3. Save file

4. Restart the system.

To get the scan-key-tool to start automatically at Ubuntu boot by default.

Install: sane-utils if not already installed (it's in Synaptic Package Manager)

Add the brscan-skey command to your startup program.

System -> Preference -> Sessions -> Startup Programs -> New
Enter brscan-skey in:
Name: and
Command:
Comment: Enter what you want to call your printer/scanner

Press OK and enable the entry.

If you get an error with Xsane close it down open it again and try some tomes it will work, also try using the Scanner Control panel (using SCAN / up butter (scan to file) / OK / Start / Mono or Colour. It should save the file in Home Folder/brscan.

The Brother Web Page has a lot of useful information including most of the above. If you have any problems then feel free to PM me. TopEnder

wow thanks for the write up...u saved me :)

BobSongs
April 9th, 2009, 09:50 PM
<snip>Took a fair bit of searching to find out "exactly" what to do.</snip>
Sorry about that. When you're under pressure reading a long article that spends more time trashing Brother than explaining what to do is rather annoying. But the conclusion is what I was after.

:)

I'm sure there are quite a number of articles on the web that help out with Brother cartridges. Thanks for the extra links. Since Brother has a variety of cartridge shapes/sizes/etc., no one article solves the issue clearly and adequately. However, I still think a link to one or more of these blogs would be useful to the Ubuntu community, regardless which blog.

I added that link to my old thread.

somking95
April 14th, 2009, 01:27 PM
thanks for the great how-to

solar2
April 14th, 2009, 06:10 PM
My solution to only being able to use a scanner as root in Jaunty:
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 046d:c401 Logitech, Inc. TrackMan Marble Wheel
Bus 002 Device 002: ID 04f9:0182 Brother Industries, Ltd Composite Device
or
sudo xsane
The xsane top panel might say something different, like: xsane 0.996 DCP-7010:bus3;dev2

sudo pcmanfm
navegate to /dev/bus/usb/002/002
(You might want to try /dev/bus/usb/003/002 as well if this bus no. confusion exists)
Right click on the mouse - properties - permissions
Allow Run for Group and Other Users.
After rebooting, we can now scan as normal users

Cheers
Jamie

linuxonbute
April 16th, 2009, 03:25 PM
I have Intrepid on my laptop and have just bought a Brother DCP-585CW and

the instructions here for printing worked fine. I have it set up as a wireless

printer and had to do the http://localhost:631 bit and modify the printer

settings as it had been set as being connected via USB.

The scanning worked after I followed the instructions on the Brother site.


Hope this helps anyone with the same printer.

fdgwjames
April 20th, 2009, 08:13 AM
My solution to only being able to use a scanner as root in Jaunty:
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 046d:c401 Logitech, Inc. TrackMan Marble Wheel
Bus 002 Device 002: ID 04f9:0182 Brother Industries, Ltd Composite Device
or
sudo xsane
The xsane top panel might say something different, like: xsane 0.996 DCP-7010:bus3;dev2

sudo pcmanfm
navegate to /dev/bus/usb/002/002
(You might want to try /dev/bus/usb/003/002 as well if this bus no. confusion exists)
Right click on the mouse - properties - permissions
Allow Run for Group and Other Users.
After rebooting, we can now scan as normal users

Cheers
Jamie

Thanks for the clue: I ran "sudo xsane" and then could scan. It's a good idea though somewhat unusual. I suppose there must be a bug in 9.04. In anycase, that was the only way out. Thanks again, that will avoid my going back to 8.10!.

dazzlindonna
April 26th, 2009, 08:51 AM
By combining this thread with an old thread, I was able to figure out how to fix the xsane only running as root problem. Since I don't have pcmanfm, I did the following:

Ran in terminal:

lsusb

(My scanner/printer was listed as 002/004)

Then ran this:

sudo chmod a+w /dev/bus/usb/002/004

That fixed it for good.

arnesu
April 26th, 2009, 09:01 AM
I have just installed ubuntu 9.04 and the scanner DCP-117C didn't work. The printer works after installing the driver DCP-110C.

In Janunty 9.04, the file /etc/udev/rules.d/45-libsane.rules does not exist, so I had to do as follows:
1) Install the driver brscan2-0.2.4-0

2) Install brscan-skey-0.2.1-.1

3) Check bus and device with lsusb
Bus 001 Device 005: ID 04f9:018e Brother Industries, Ltd DCP-117C

4) Go to /dev/bus/usb/001/005

5) Change the rights for file: device 005. (sudo nautilus in terminal, go to the file in nautilus as root user and right click the file) Allow group and other users

6) Go to sudo gedit /lib/udev/rules.d/ and find line 52
# libusb device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0664"

7) Add the line:
#Brother DCP-117C
SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="018e", MODE="664", GROUP="scanner"

8) Reboot the pc and the scanner works.

:-)

anonymous_user
April 26th, 2009, 09:31 AM
Thanks dazzlindonna; that helped me.

irockonguitar
April 26th, 2009, 12:59 PM
By combining this thread with an old thread, I was able to figure out how to fix the xsane only running as root problem. Since I don't have pcmanfm, I did the following:

Ran in terminal:

lsusb

(My scanner/printer was listed as 002/004)

Then ran this:

sudo chmod a+w /dev/bus/usb/002/004

That fixed it for good.

Thank you so much!! This finally fixed my scanner problem, too. For the printer I had to use

sudo chmod 700 /usr/lib/cups/backend/usb

but every time I install updates, I have to run this command again in order to print, so I imagine I will have to do the same for the scanner.
But oh well, at least it works. Thanks!

rohan1
May 5th, 2009, 04:15 AM
I have Intrepid on my laptop and have just bought a Brother DCP-585CW and

the instructions here for printing worked fine. I have it set up as a wireless

printer and had to do the http://localhost:631 bit and modify the printer

settings as it had been set as being connected via USB.

The scanning worked after I followed the instructions on the Brother site.


Hope this helps anyone with the same printer.
Hi

I too have the same brother printer (dcp 585cw) connected to hardy heron via usb...however, although I can print pdf and gedit files, I am unable to print open office files..also, how does one connect to the printer wirelessly...have already downloaded the required files but cannot find info regarding the wireless settings needed on local host..

Thanks in advance

iceman198
May 6th, 2009, 09:16 PM
BoardD

Thanks so much for this post! I haven't been able to get my mfc210c to work with my Ubuntu for a few months now. I have my printer actually hooked up to my Windows XP box and have been trying to get it networked through my ubuntu laptop. Thanks to your post, it works like a charm networked through the XP box!

Thanks again!

iceman198

daileyad
May 8th, 2009, 01:35 AM
Okay, I need some serious help as I know nothing about all this. I have followed the instructions in post #1 to try to get my Brother MFC-210c working. I have made it all the way through the instructions to step #11 and everything seems to be showing up correctly. My current Device Uri is listed as usb:/dev/usb/lp0

The problem is, my printer is not hooked directly up to my computer through the usb. It is attached to our wireless network at MSHOME/FAMILY/Brother%20Printer. I have no idea how to get from the last step where it sets it up as a usb local printer to my actual network.

Please, can someone help me with instructions for a dummy?

mousestalker
May 8th, 2009, 07:27 AM
Okay, I need some serious help as I know nothing about all this. I have followed the instructions in post #1 to try to get my Brother MFC-210c working. I have made it all the way through the instructions to step #11 and everything seems to be showing up correctly. My current Device Uri is listed as usb:/dev/usb/lp0

The problem is, my printer is not hooked directly up to my computer through the usb. It is attached to our wireless network at MSHOME/FAMILY/Brother%20Printer. I have no idea how to get from the last step where it sets it up as a usb local printer to my actual network.

Please, can someone help me with instructions for a dummy?

I have a similar lack of skills, so take the following with many, many grains of salt.

If you know your numeric URI, you might try reinstalling the printer as a network printer using it. The URI for my (wired) networked Brother printer on my system is: socket://192.168.0.100:9100, so if you can find a similar number in your printer's documentation, you might try that.

linooks
May 8th, 2009, 09:35 AM
Hi

I use a DCP-135C on Ubuntu 9.04 and have fixed the usb-problem on scanning by editing the file /lib/udev/rules.d/50-udev-default.rules.

Edit this entry:

# libusb device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0664"into:

# libusb device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0666" Then perform:

sudo /etc/init.d/udev restart That's it.

Found on the german ubuntu wiki:

http://wiki.ubuntuusers.de/Brother/Scanner

I hope that helps.

abrianb
May 11th, 2009, 03:07 PM
I could not get the edit of /lib/udev/rules.d/50-udev-default.rules to work so I just opened a text editor and created a file "51-udev-default.rules that said...
device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0666" Then saved it. Then moved it to /lib/udev/rules.d
Now my scanner works.

Andavane
May 11th, 2009, 03:18 PM
I could not get the edit of /lib/udev/rules.d/50-udev-default.rules to work so I just opened a text editor and created a file "51-udev-default.rules that said...
device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0666" Then saved it. Then moved it to /lib/udev/rules.d
Now my scanner works.

Care to enlighten us as to your promptings for this ? ;)

linooks
May 11th, 2009, 05:37 PM
At 8.10 and 8.04 it's a different file to edit: it's /etc/udev/rules.d/40-basic-permissions.rules.

Different name, but same procedure.

abrianb
May 13th, 2009, 09:40 AM
Andavane (http://ubuntuforums.org/member.php?u=265138) , the reasons for doing it in that fashion were as follows...
first , it was a fresh install but in my last install I had to modify the file to get my Brother MFC240c to scan without using sudo. So I felt that editing the file should work. But after editing and booting did not work I guessed that the line of code would work since it had in the past.
Second I new that if I added a rule file with a higher number then the system would see the higher number as an override to the lower numbered files. So I tried adding the file as 51 which overrode rule 50 and after booting it worked.
I have no guesses as to why editing the file did not work I am relatively inexperienced at this. I f you have suggestions for me I would be pleased to hear them.
Thanks!

bela42
May 13th, 2009, 04:05 PM
Avoid Brothers printer driver at least for the MFC7820N. Since years Ubuntu was autodetecting this also if only network connected, but the "Brscript-3" driver (ppd) available for this model did only give problems. Like being unable to print from Firefox, like displaced print output from Open Office.

Usually I did install this model as generic PCL5 network printer and got proper results.

Eventually in Jaunty it seems the hardware detection does also avoid Brothers "BRScript" and selects a generic foomatic postscript ppd.

Great news, as this model does work out of the box now, no need to install Brothers drivers.

To use the scanner, you will need to install brothers scanner driver, of course, but that one did always work OK for me.

bayvista
May 19th, 2009, 04:02 AM
How to I admin my Brother DCP-165C? There is no entry under "System - Administration".

Solved: Go to System/Administration/Printing. Right click on the DCP165C and select "Properties"

Thanks.

TopEnder
May 19th, 2009, 05:47 AM
How to I admin my Brother DCP-165C? There is no entry under "System - Administration".
bayvista, Not sure what your really want to do. Have you downloaded drivers for the DCP-165C from brother (http://solutions.brother.com/linux/en_us/download_prn.html) as I do not beleive there are any drivers for the DCP-165C in Ubuntu 8.10 Intrepid Ibex Synaptic Package Manager. Just post any installation problems and someone will help. TopEnder

bayvista
May 21st, 2009, 01:29 AM
Had some problems getting the scanner to work on my DCP-165C. Be careful when downloading the drivers from the Brother site. I accidentally downloaded the wrong driver and spent a happy couple of hours stuffing around. Once I installed the RIGHT driver, it all worked like magic!

):P ):P ):P

hieronymouse
June 2nd, 2009, 05:59 AM
I haven't checked through the whole forum to see if this was mentioned, but to get the scanner running under Jaunty (9.04), we need to follow the additional instructions in the responses at:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/217571

I had the problem that the udev rules file didn't exist, and then,

Quoting VPablo:

In 9.04 we must edit /lib/udev/rules.d/50-udev-default.rules and change:

# libusb device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0664"

to

# libusb device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0666"

and restart.

That worked for me.

newb85
June 4th, 2009, 12:00 AM
I would like to remove this message...can't find the remove button...help?

mgw2008
June 6th, 2009, 07:34 AM
All Brother drivers are here:
http://solutions.brother.com/linux/en_us/download_prn.html
I strongly recommend to use CUPS to install the printer. Simply select install printer from the menu. No cmdline dialog needed.

Cheers mgw

dhaight
June 27th, 2009, 08:52 PM
Thanks, Great "How To" Since I am using a networked brother 440cn printer, I simply had to delete the printer that was installed by this process and add a new networked printer. the driver was ready and waiting!