View Full Version : HOWTO: Install Brother MFC210C
BobSongs
December 19th, 2005, 01:35 AM
A "how to" for the Brother MFC-210C printer.
>>>> THIS THREAD IS ABANDONED!! <<<<
If you want a more current thread, then click
this link: MFC210C (http://ubuntuforums.org/showthread.php?t=590793)
* Author no longer uses the MFC-210C printer.
* This POST is NOT "up-to-date" (though answers are provided by kind forum members).
* Continue at your own risk.
INK CARTRIDGE SAYS EMPTY? Click here: BlackTape (http://www.wisebread.com/how-to-refill-an-ink-cartridge-with-a-small-piece-of-tape)
NOTE TO THE ADMINS:
Many people monitor this thread. Delete this one if you so choose. However, some people are getting their questions answered.
________________________________
MFC-215C?Matchless (http://ubuntuforums.org/member.php?u=14308) has worked very hard at putting together two tutorials to help you with your 215C:
click here (http://ubuntuforums.org/showthread.php?t=302960) if you're running Fiesty Fawn
click here (http://ubuntuforums.org/showthread.php?t=263047) if you're running Dapper/Edgy.
________________________________
Edgy & Feisty-specific instructions added, courtesy of magean.
________________________________
INSTALL SCRIPTS for DAPPER DRAKE and EDGY EFT/FEISTY FAWN (What works for Edgy... works for Feisty).[Click here (http://ubuntuforums.org/showthread.php?p=2277190#post2277190)] A big thanks goes to guitara and googleninja for their hard work and dedication. ________________________________
IntroductionFollow this step-by-step guide to get this low-cost Multi Function Centre working.
Do you have another Brother product? Don't give up hope. Some have reported success having followed this tutorial (see a partial list at the bottom of this post).
Note: This tutorial assumes:
Device: Brother MFC210C
Connection: USB direct from PC to Printer
System: 32-bit Intel/AMD
Operating System: GNU/Linux Ubuntu (Dapper Drake/Edgy Eft/Feisty Fawn)
________________________________
About the color codes* Edgy Eft/Feisty Fawn (6.10 & 7.04)-specific instructions are in green.
* Dapper Drake (6.06.1)-specific instructions are in blue.
* Standard black text will be used where it applies to all.
* Breezy, Hoary, Warty: not supported.
Preliminary procedures
Create a folder on the desktop and name it mfc210c. Put all downloaded files in that folder.
Step 1: Download from Brother
[The CUPS wrapper (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrappermfc210c_1.0.0-1_i386.deb&lang=English_cups)]
[The LPR Driver (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_debian/mfc210clpr-1.0.2-1.i386.deb&lang=English_lpr)]
For other Brother machines: Please make sure the appropriate drivers are downloaded. Check the Brother website for
LPR Drivers (http://solutions.brother.com/linux/sol/printer/linux/lpr_drivers.html#de) and
CUPS Wrappers (http://solutions.brother.com/linux/sol/printer/linux/cups_drivers.html#de).
Step 2: Install the C Shell
sudo aptitude install cshIf this step fails because it returns the following error: E: Couldn't find package cshfollow the Ubuntu Guide instructions on How To Add Extra Repositories (http://ubuntuguide.org/wiki/Dapper#How_to_add_extra_repositories).
:: TURN PRINTER OFF ::
:!: DO NOT SKIP THIS STEP OR THINGS GO TERRIBLY WRONG ](*,)
Step 3: LPR Driver Install
sudo mkdir /var/spool/lpdsudo mkdir /var/spool/lpd/MFC210C (replace with your printer name)sudo dpkg -i ~/Desktop/mfc210c/mfc210clpr-1.0.2-1.i386.deb
Step 4: Install the CUPS Wrapper
sudo ln -s /etc/init.d/cupsys /etc/init.d/cupssudo dpkg -i ~/Desktop/mfc210c/cupswrappermfc210c_1.0.0-1_i386.deb
Finalization
:: TURN PRINTER ON ::
Please follow these steps. From the menu bar click:
System → Administration → Printing
Right-click the MFC210C and click “Properties”
Connection Tab: :!: Ensure local printer is connected (Printer Type: Local Printer) and (Use a Detected Printer: Brother MFC-210C)
General Tab: Here I rename 'MFC210C' to 'Brother Printer'. Let's the whole family know the printer they're selecting.
Paper Tab: Ensure your local paper size is selected.
Advanced Tab: Review the choices and make appropriate adjustments.
From any tab: Click "Print a test page" to confirm all works well.
Edgy/Feisty: (thanks Magean)
If you got the error messagelpadmin:Unable to copy PPD filewhen installing the Wrapper do the following:
Find out the device urllpinfo -vRead and "remember" the device url
(for example)usb://Brother/MFC-210CFind the name and path of the ppd filels /usr/share/cups/modelRead and remember the filename
(for example)/usr/share/cups/model/brmfc210c_cups.ppdAdminister the printer
sudo lpadmin -p (printer name) -E -v (device url) -P (PPD file path and name)(for example)
sudo lpadmin -p MFC210C -E -v usb://Brother/MFC-210C -P /usr/share/cups/model/brmfc210c_cups.ppdAll done!
For printer options turn your browser of choice to
http://localhost:631/printers/ (this requires local access)
Fax PrintingTo print using the fax capabilities of the MFC the drivers must be downloaded and installed. This tutorial assumes the mfc210c folder is still on the desktop.
Step 1: Download from Brother
[The Fax CUPS wrapper (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/faxshare/brmfcfaxcups-1.0.0-1.i386.deb&lang=English_gpl)]
[The Fax LPR Driver (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/faxshare/brmfcfaxlpd-1.0.0-1.i386.deb&lang=English_lpr)]
:: TURN PRINTER OFF ::
:!: DO NOT SKIP THIS STEP OR THINGS GO TERRIBLY WRONG ](*,)
sudo dpkg -i ~/Desktop/mfc210c/brmfcfaxlpd-1.0.0-1.i386.debsudo dpkg -i ~/Desktop/mfc210c/brmfcfaxcups-1.0.0-1.i386.deb
:: TURN PRINTER ON ::
System → Administration → Printing
Right-click the BRFAX and click “Properties”
Connection Tab: :!: Ensure local printer is connected (Printer Type: Local Printer) and (Use a Detected Printer: Brother MFC-210C -- If the printer is still off this step will be impossible to complete.)
General Tab: Here I rename 'BRFAX' to 'Brother Fax Machine'. Let's the whole family know which printer they're selecting.
Paper Tab: Ensure your local paper size is selected.
Advanced Tab: Review the choices and make appropriate adjustments. I use FINE for Quality.
Click "Close". This box will not allow direct printing.
Sending a FaxThanks to Matchless for untangling this mess. "This printer is not used to print faxes directly. It is used by the 'brpcfax' utility script file. To send a fax, you must use the “brpcfax” utility to process your print jobs and you can only use a postscript file."Let's use GEdit to set this up.Applications → Accessories → Text Editor
Type some text into Text Editor. (It's not necessary that it be important text. The file doesn't have to be faxed for this to work.)
From the menu bar click File → Print...
Under the Print tab click "Generic Postscript" as your printer selection.
Change "Location" from "lpr" to "File". This will let us print to file.
Click the "Save As" button to the right of "File" (it appears only when you select "File").
Name the file faxtest.ps. For Save In Folder choose Desktop (for convenience only—delete the file when you're done).
Click the Save button.
Click the Print button.
Your document has been saved as file to your Desktop. Now let's finish Step 2.
Right-click the faxtest.ps file on your Desktop. In the context menu point to "Open With >". In the flyout menu click "Open with Other Application"
When the "Open With" box appears, click "Use a custom command at the bottom near the Cancel button. A small text field should appear.
Enter this into that field: /usr/bin/brpcfax
Complete the task by clicking Open.
This should cause the Dial Pad to appear. You can close it as we're finished with it for the moment.
From this point forward this is how to send a fax:
a) Use “Print to file” from your application to generate a postscript file.
b) Right click the file (should end in .ps) and select “Open with” and click “brpcfax”.
c) When the dialup screen GUI comes up, enter fax number and click Send.
Scanner Setup
Preliminary procedures
:: TURN PRINTER OFF ::
:!: DO NOT SKIP THIS STEP OR THINGS GO TERRIBLY WRONG ](*,)
Step 1: Download from Brother
For Dapper Drake (6.06): [Sane Scanner Backend (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/sane_debian/brscan2-0.2.1-0.i386.deb&lang=English_sane)]
For Edgy/Feisty (6.10/7.04): [Sane Scanner Backend (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/sane_debian/brscan2-0.2.3-0.i386.deb&lang=English_sane)]
For other Brother machines: Please make sure the appropriate drivers are downloaded. Check the Brother website for the Scanner Backend (http://solutions.brother.com/linux/sol/printer/linux/sane_drivers.html).Applications → Accessories → Terminal
sudo dpkg -i ~/Desktop/mfc210c/brscan2-0.2.1-0.i386.debThe scanner should be installed.sudo dpkg -i ~/Desktop/mfc210c/brscan2-0.2.3-0.i386.debMake scanner accessible to all users
gksudo gedit /etc/udev/rules.d/45-libsane.rulesAdd the following above the last row:
#brother
SYSFS{idVendor}=="04f9",MODE="666",GROUP="scanner"The last four rows should then look like:#brother
SYSFS{idVendor}=="04f9",MODE="666",GROUP="scanner"
LABEL="libsane_rules_end" Restart the OS.
Step 3: Installing XSane
To use the scanner requires that Ubuntu's scanner software be installed. Copy the following code into the Terminal:
sudo aptitude install sane xsane libsane sane-utils
Finalizing The Setup
:: TURN PRINTER ON ::
Verify the install with XSane
Applications → Graphics → XSane Image Scanning Program
Setup Complete
Move the setup folder from your desktop to the trash if you so desire, or to some other location in the file system.
Network InstallationPlease note: Contributions to help with network setups are detailed below. I do not have the MFC as an independent part of the network so I cannot test the following instructions. However these links are offered in hope of problem-free configuration.ubu69 has had success with a network setup. He's using a Debian system and believes this should prove helpful [click here (http://www.ubuntuforums.org/showpost.php?p=644004&postcount=21)].
shawndoggie notes success with the MFC attached to an XP box [click here (http://www.ubuntuforums.org/showpost.php?p=719307&postcount=40)].
stalefries has put together a nicely detailed howto in this thread. Network scanning! I just love the layout. [click here (http://www.ubuntuforums.org/showpost.php?p=935120&postcount=83)]
Other Brother ProductsPlease note: If you have a different Brother product don't go away dejected. There may be hope. Here's a list of some related success stories. With a bit of tweaking it seems this tutorial has proven helpful.Jose Catre-Vandis has a mini tutorial on the for the DCP-540CN in an Edgy HowTo [click here (http://www.ubuntuforums.org/showthread.php?p=2275292#post2275292)]
Gray. notes success with the MFC-620CN [click here (http://ubuntuforums.org/showpost.php?p=629121&postcount=19)]
ubu69 notes success with the MFC-420CN in Debian [click here (http://ubuntuforums.org/showpost.php?p=644004&postcount=21)]
crhooker notes success with the MFC-3220C [click here (http://ubuntuforums.org/showpost.php?p=686523&postcount=32)]
shawndoggy notes success with the MFC-5440CN [click here (http://ubuntuforums.org/showpost.php?p=719307&postcount=40)]
thedavis notes success with the DCP-115C [click here (http://ubuntuforums.org/showpost.php?p=761313&postcount=47)]
Mack1 notes success with the MFC-425CN [click here (http://ubuntuforums.org/showpost.php?p=772013&postcount=52)]
bigken notes success with the MFC-3820CN [click here (http://ubuntuforums.org/showpost.php?p=778035&postcount=56)]
Bucanero notes success with the MFC-5440N [click here (http://ubuntuforums.org/showpost.php?p=904967&postcount=73)]
Jasman and Boelcke both note success with the Brother HL-2040
[click here (http://www.ubuntuforums.org/showpost.php?p=1054771&postcount=131)] and [click here (http://www.ubuntuforums.org/showpost.php?p=1066795&postcount=133)]
Other distros:
bigken notes success on SuSE 10.0 [click here (http://ubuntuforums.org/showpost.php?p=935744&postcount=85)]
_________________________
Found an error? Lemme know. Errors will be replaced with your astute observations and you'll be credited.
Got a question? I'll explain the best I can.
History: This tutorial was designed for Ubuntu/Edubuntu (Breezy, then updated for Dapper) to help me remember what steps I took in the first place. It exploded with the help of posters and onlookers like you. Thanks!!
Xubuntu/Kubuntu:
It may not work with other Ubuntu-based releases (Xubuntu, Kubuntu, etc.) - searching for a Kubuntu/Xubuntu-related tutorial recommended.
Variations from the Brother website instructions reflect the difference between Ubuntu and a pure Debian system.
Brother® is a Registered Trademark.
(This HOWTO comes with absolutely no warranty, to the extent permitted by applicable law. However, the author will return on a regular basis to ensure the Brother files are still available and up-to-date and that the tutorial looks prettier and prettier.)
Nightwind
December 24th, 2005, 08:44 AM
Quick question, since my brother MFC210C is set up as a network printer, not attached to any machine, will these instructions work or will I need to do something different?
BobSongs
December 24th, 2005, 03:58 PM
Quick question, since my brother MFC210C is set up as a network printer, not attached to any machine, will these instructions work or will I need to do something different?
Excellent question, Nightwind. If you've got the printer correctly installed on a network box then I suppose it won't hurt at all to have the drivers set up on your machine.
I'm a new Ubuntu user myself. In the Windows world you need the drivers set up on all PCs that will access the network printer(s). At this point I haven't quite figured out how to "share" my printer on my LAN (not that I'm in a hurry: my three-year-old son would end up printing every other image... in colour... from each TuxPaint screen he'd create... not cool). Once I figure that out I'll let you know.
Keep the questions coming.
:smile:
Nightwind
December 24th, 2005, 04:30 PM
Excellent question, Nightwind. If you've got the printer correctly installed on a network box then I suppose it won't hurt at all to have the drivers set up on your machine.
I'm a new Ubuntu user muhself. In the Windows world you need the drivers set up on all PCs that will access the network printer(s). At this point I haven't quite figured out how to "share" my printer on my LAN (not that I'm in a hurry: my three-year-old son would end up printing every other screen... in colour... from each TuxPaint screen he'd create... not cool). Once I figure that out I'll let you know.
Keep them questions coming.
:smile:
Well I can say there is something missing, I followed the instructions to the letter, thanks for being so straighforward with them I wish all the instructions were as clear. I can see the printer, but cannot print to the printer. I told it to do a test page but that failed. There was no error message.
So I am trying to figure it out. If you have any clues for a newborn newbie please advise.
Thanks again
Trish
Nightwind
December 24th, 2005, 04:34 PM
Well I can say there is something missing, I followed the instructions to the letter, thanks for being so straighforward with them I wish all the instructions were as clear. I can see the printer, but cannot print to the printer. I told it to do a test page but that failed. There was no error message.
So I am trying to figure it out. If you have any clues for a newborn newbie please advise.
Thanks again
Trish
One thing I forgot to mention, I have 6 of the "W machines as well as 1 IMac, plus an Intergraph server, everything else is seeing and using the printer at this point. I did manage to share an HP printer that is phsically installed on a Win XP Pro box. So that was good.
BobSongs
December 24th, 2005, 08:15 PM
One thing I forgot to mention, I have 6 of the "W machines as well as 1 IMac, plus an Intergraph server, everything else is seeing and using the printer at this point. I did manage to share an HP printer that is physically installed on a Win XP Pro box. So that was good.
Yeah. Sharing a printer on a Windows XP box is fairly easy. It think right-clicking it and selecting "Share" is about how complex it gets.
Okay. Let me get to work investigating. I'll "share" this printer on my PC and see if I can get it printing. Then I'll get back to you asap.
thanks for being so straighforward with them I wish all the instructions were as clear.
:smile: Thank you, thank you. I've had my hand held in the past in areas where I was completely lost. I've also had vague & ambiguous instructions. I know which I prefer. ;) I don't feel insulted in the least to have a clear set of instructions where some part of it seems a bit "overdone" in its simplicity. The tutorial was done for the uber new user to feel quite at home.
BobSongs
December 24th, 2005, 08:38 PM
<snip> I can see the printer, but cannot print to the printer. I told it to do a test page but that failed. There was no error message.
So I am trying to figure it out. If you have any clues for a newborn newbie please advise.
Thanks again
Trish</snip>
Yes: this tutorial is obviously for the MFC210C attached directly to the PC in question. Your ability to see the printer and yet not be able to print to feels like it might be just a bit beyond my abilities at the moment.
I saw this link (http://gerona.gov.ph/davidjr/?p=57) in another thread, but I believe that allows for Ubuntu to Ubuntu printing, and not necessarily through a server.
Which box is your printer connected to? Or is it connected directly to the server? (Okay. I'm stalling. But I'm still investigating.)
Nightwind
December 25th, 2005, 09:36 AM
Hi Merry Christmas!
Stalling is ok I have learned to do that myself. It's not attached to any machine. It's networked in from the switch. Network setup is as follows.
Sat modem/router to switch CAT 5 to all the units. Really simple set up.
All the Windows boxes have the software installed and do not share per say the printer.
The server does not print to it or any other printer (have 3) as it's a SME 6.5 (Linux) box, Raid 0 set up as a file server/backup machine that I am STILL working on. That's another long story.](*,) It might become a Ubuntu server before long if I can't get the raid issue corrected. I will check out the link and report back.
One more ?:confused: Is there a simple way to install any type of driver or does each flavor require it's own little installation gig? So much to learn so little brain power.
BobSongs
December 26th, 2005, 11:57 AM
<snip>One more ?:confused: Is there a simple way to install any type of driver or does each flavor require it's own little installation gig? So much to learn so little brain power.</snip>
Depends on how old each printer is. Before buying equipment for your machines you may wish to investigate whether they are Linux friendly. In my mind running Ubuntu is a bit like running a Mac in terms of what I buy.
My Logitech Clicksmart 820 completely locks my PC when I try to do anything more than copy out the photos. Same with the MFC210C's scanner features. But I bought them before doing any investigation. At that time I wasn't as committed to Linux as I am now.
In future I'll be much more careful. If it isn't very Linux compatible... I'll keep hunting.
Meanwhile, have you tried this on the Ubuntu box?
(Note, this link is no longer valid. DavidJr's blog is now here (http://teqnix.blogspot.com/).)
On the Ubuntu or Linux boxes where you want to share your printer, open to edit /etc/cups/client.conf:
sudo gedit /etc/cups/client.confAnd add the following: ServerName hostname (hostname or IP of the printer server)Once this is all setup, you should be able to go to: System -> Administration -> Printing and in the top tool bar you’ll see: Global Settings. You’ll want to make sure the following is checked:
Detect LAN Printers
On the Windows boxes, just add the printer server as you normally do.
To make your printer browseable in a LAN network, edit your /etc/cups/cupsd-browsing.conf:
sudo gedit /etc/cups/cupsd-browsing.confSimply replace the word “Off” with “On” (without the “”), don’t worry…that file has only one line so you won’t ever have difficulties finding it. I guess you have to do a “sudo /etc/init.d/cupsys restart” after this. :)
So that’s it!
Nightwind
December 27th, 2005, 08:56 AM
Depends on how old each printer is. Before buying equipment for your machines you may wish to investigate whether they are Linux friendly. In my mind running Ubuntu is a bit like running a Mac in terms of what I buy.
My Logitech Clicksmart 820 completely locks my PC when I try to do anything more than copy out the photos. Same with the MFC210C's scanner features. But I bought them before doing any investigation. At that time I wasn't as committed to Linux as I am now.
In future I'll be much more careful. If it isn't very Linux compatible... I'll keep hunting.
Meanwhile, have you tried this on the Ubuntu box?
Hi there!
All the printers/copiers here are a year old or less. 3 of them. I was asking not just about printer drivers, but ALL drivers and programs in general. Is there a hard fast rule on that?
I read that post and it would probably work. I'm going to try it, I'll let you know how it goes. I was going to attach the brother to the 5.10 box physically just for the heck it , but decided I really didn't want to mess with the layout here. Printers are in a case that's all printers, computers are EVERYWHERE.
I figured out that I was going to have to set up a server to handle this any way for the time being.The one server I have setup is a toy really, just to learn on. My S.O want's it short and to the point, no stress. So that's what I'll do. He's not the adventurous type when it comes to changing things except he wants me to build a system to handle server duties as well as run the cameras outside and the media here. That will be an adventure, prob take a year as slow as I am. Pray for me. I think it's time for a UNIX class.
BobSongs
December 29th, 2005, 11:32 PM
Hi there!
All the printers/copiers here are a year old or less. 3 of them. I was asking not just about printer drivers, but ALL drivers and programs in general. Is there a hard fast rule on that?
Whew! Good question. I've gotten on the Linux bandwagon less than a month ago. I am seriously in need of courses. You can only learn so much from re-installing Linux and then running everyone else's scripts and stuff.
I figured out that I was going to have to set up a server to handle this any way for the time being. The one server I have setup is a toy really, just to learn on. My S.O want's it short and to the point, no stress. So that's what I'll do. He's not the adventurous type when it comes to changing things except he wants me to build a system to handle server duties as well as run the cameras outside and the media here. That will be an adventure, prob take a year as slow as I am. Pray for me. I think it's time for a UNIX class.
Time spent learning Unix is useful even if you apply it to XP or Apple's O/S X.
Let me know if that link is helpful to you. I applied it on my system and now PC2 prints through PC1 to the MFC210C without any bugs.
I wish you success. My prayers are with you. Army? Or Salvation Army?
Nightwind
December 30th, 2005, 08:16 AM
Hi Ya!
As soon as we get these other 7 computers out of the way and in with the other 40 I will attack this with a vengeance. I'm going to redo the whole network here and attempt to get all the boxes talking to all the printers through the server.
This should be interesting to say the least.
I learn best by doing, which in this case requires classes as there is no one around here that uses UNIX/Linux. The forums are a great tool and I have learned tons from reading on them as well as the on-line Linux tutorials. I've had a Linux distro before but was so frustrated by the lack of response on the forums that I just dropped it. It has matured greatly in the past few years. I'll let you know if that link works here.
AllenM
December 31st, 2005, 10:00 AM
I aaam using kde desktop. My printer is now working in Linux. Your instructions were esier to read and follow than Brothers. Thank you for your help.
fishfillet
January 1st, 2006, 10:41 PM
I just wanna sincerely thank you Bob for referring to my ubuntu printer sharing how-to and I hope more ideas could come up from it.
Yes: this tutorial is obviously for the MFC210C attached directly to the PC in question. Your ability to see the printer and yet not be able to print to feels like it might be just a bit beyond my abilities at the moment.
I saw this link (http://gerona.gov.ph/davidjr/?p=57) in another thread, but I believe that allows for Ubuntu to Ubuntu printing, and not necessarily through a server.
Which box is your printer connected to? Or is it connected directly to the server? (Okay. I'm stalling. But I'm still investigating.)
BobSongs
January 2nd, 2006, 02:31 PM
<snip>I've had a Linux distro before but was so frustrated by the lack of response on the forums that I just dropped it. It has matured greatly in the past few years. I'll let you know if that link works here.</snip>This particular forum is very friendly to new users. I hear this is becoming more common in regard to other forums.
After you return from your network surgery let us know how well the Ubuntu box prints on the network. If you're still having problems let's create a brand new thread in the Networking forum. When you arrive at a solution we'll link this thread to it.
Nightwind
January 2nd, 2006, 10:17 PM
Originally Posted by BobSongs
<snip>This particular forum is very friendly to new users. I hear this is becoming more common in regard to other forums. After you return from your network surgery let us know how well the Ubuntu box prints on the network. If you're still having problems let's create a brand new thread in the Networking forum. When you arrive at a solution we'll link this thread to it.</snip>
Hi and thanks I'll do that. We are still working on getting the other units moved, I don't know what's heavier the servers or the "21 monitors.
BobSongs
January 2nd, 2006, 11:09 PM
I just wanna sincerely thank you Bob for referring to my ubuntu printer sharing how-to and I hope more ideas could come up from it.
Hey dude: no problem. I kinda enjoy reading your pages. I've even modified my desktop look based on your suggestions.
angrykeyboarder
January 3rd, 2006, 01:16 AM
A "how to" for the Brother MFC210C printer.
Introduction
Setting up a Brother MFC210C might appear a bit daunting for a new Ubuntu user. Locating the drivers alone is a challenge (they're not available on the Brother setup CD). And Brother's ambiguous instructions may leave you tempted to abandon Ubuntu.
For those of us who have this low-cost Multi Function Centre and have not been able to use it, here's a step-by-step instruction set to get it printing. A tutorial on how to get the scanner features going is welcome.
Preliminary procedures
Create a folder on your desktop and call it mfc210c:
Right-click the desktop and click Create Folder in the context menu
Name it mfc210c (in lower case, this is important)Step 1: Download from Brother
Click each of the following links. Click I Accept when the browser loads the page:
The CUPS wrapper (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrappermfc210c_1.0.0-1_i386.deb&lang=English_cups)
The LPR Driver (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_debian/mfc210clpr-1.0.2-1.i386.deb&lang=English_lpr)Note: The browser will ask if you wish to open or download the file. Don't open it. Download and save it in the mfc210c folder on the desktop.Step 2: Install the C Shell
Ubuntu does not come with the C shell pre-installed. It is necessary for this installation. The rest of the setup requires an open Terminal.Applications → Accessories → Terminaland enter the following (or copy the following command, paste it in and hit Enter):
sudo apt-get install csh This command will require your password.
Don't close the Terminal. We'll need it again.
Step 3: Install the LPR Driver
Enter the following commands into the Terminal:
sudo mkdir /var/spool/lpd sudo mkdir /var/spool/lpd/MFC210C sudo dpkg -i ~/Desktop/mfc210c/mfc210clpr-1.0.2-1.i386.debNote: this tutorial is designed with the idea that both downloaded files are in the mfc210c folder on the desktop. The last command above will fail otherwise.Step 4: Install the CUPS Wrapper
Enter the following commands into the Terminal:
sudo ln -s /etc/init.d/cupsys /etc/init.d/cups sudo dpkg -i ~/Desktop/mfc210c/cupswrappermfc210c_1.0.0-1_i386.deb
Finalization
Open the printer panel to ensure the MFC210C is installed.System → Administration → PrintingRight-click the printer and click “Properties”.
Print a test page from the General tab.
Click the Paper tab and adjust the paper size accordingly, possibly replacing A4 with Letter.
Review the choices under the Advanced tab and make adjustments._________________________
If you encounter an error in these instructions or added several steps to make it more complete, please post your findings/additions and appropriate modifications will be made.
Explanations as to the above procedures are available upon request: the steps outlined above have been modified and expanded from those offered at the Brother website. Brother is a registered trademark.
(This HOWTO comes with absolutely no warranty. to the extent permitted by applicable law. However, the author will return on a regular basis to ensure the Brother files are still available and up-to-date.)
Where did you find this information? I was beginning to think that Ubuntu users didn't use printers, period, let alone a Brother MFC....
Now I'm off to see if I can adapt these to my shiny new Brother 7820N MFC (http://www.brother-usa.com/mfc/mfc_detail_AREA=MFC_1&PRODUCTID=MFC7820N.aspx)....
I got it for Christmas and it's gotten very little use since I've been stumped as to how to get it working with Ubuntu.
Gray.
January 5th, 2006, 05:10 AM
These steps worked for the MFC-620CN. I was stuck on one part with the error /etc/init.d/cups: Command not found then the symbolic link fixed that up.
*EDIT* If you Google for Brother Linux Drivers, it should be the first result.
BobSongs
January 8th, 2006, 02:12 AM
<snip>Where did you find this information? I was beginning to think that Ubuntu users didn't use printers, period, let alone a Brother MFC....</snip>It's a basic modification of the Brother website (http://solutions.brother.com/linux/en_us/)'s instructions. My first attempt to install the drivers produced errors. I figured it was because the drivers were designed for a pure Debian system. I decided not to panic and run to this forum for help. I knew I'd be asked what I had tried up to this point. Saying "Not much" wasn't going to make anybody happy.
So I carefully reviewed each error output. (This is where Linux shines: error details.) I noted what went wrong and made the appropriate modifications (create a folder, create a link...). Eventually the printer just worked.
Instead of posting a thread asking what to do, I posted one explaining what to do. :-D
ubu69
January 10th, 2006, 05:21 AM
Thank you for the hand-holding. With a combination of your tutorial and Brother's instructions, I was able to set up my new printer (MFC420CN). While I'm using straight Debian, the steps were the same.
I figured out how to get the printer to just be on the network (not attached to a print server). This will only work with models that have a built-in ethernet port (perhaps this howto should be expanded to cover installing Brother drivers in a general sense).
-To start, you'll need to know the IP address of the printer. The printer can tell you this (check out the instruction booklet as the command combinations may be different for different models.)
-Follow the previous instructions given in this thread. -Open your browser to CUPS <http://localhost:631/>. Click "Manage Printers." You may have to have root powers to accomplish this.
-If everything went well, you should see your printer in the list.
-Select "Modify Printer." The important step is to select the device for the printer. Choose "LPD/LPR Host or Printer."
-In the next step you enter lpd://xxx.xxx.xxx.xxx in the window (where the xxx's are the printer's IP address).
-Send it a test page. You can configure paper size from CUPS (it seems to default to A4).
-From here you can set your print manager to use CUPS if you so desire and it will also print on the network.
If these instructions aren't clear, I'll do my best to clear them up. It's late and I stayed up most of the night trying to figure this out.
BobSongs
January 10th, 2006, 06:38 PM
Thank you for the hand-holding.Alright! Don't forget to rate the thread. ;)If these instructions aren't clear, I'll do my best to clear them up. It's late and I stayed up most of the night trying to figure this out.Feel free to clean up the tutorial and add it for our "pure" Debian buddies, ubu69. Of course, take the time to recover. Model it after my tutorial and this thread'll rate 6 stars on 5. :D
Lunixfanboy
January 13th, 2006, 09:49 PM
And now, for the scanner portion of the MFC210C.
1. Go to http://solutions.brother.com/linux/sol/printer/linux/sane_drivers.html to obtain the sane scanner backend. You will need the brscan2 .deb package. Save same into directory of your choice (Downloads on my machine).
2. Open terminal, cd into directory containing brscan2 .deb package.
3. sudo dpkg -i brscan2-0.0.1-0.i386.deb
4. cd /etc/hotplug/usb
5. sudo vi libsane.scannermap
6. Look for one of the two lines containing Brother (which look like this: # Brother|MFC 5100C). This will be followed by a line which reads libusbscanner 0x0003 0x04f9 0x1029 followed by more hexadecimal values. We are only interested in the second and third ones {the ones right after the 0x0003}. Change the 0x1029 to read 0x0161.
7. Save and exit vi.
8. Run sane-find-scanner | grep usb. It should report found USB scanner (vendor=0x04f9, product=0x0161) at libusb:001:002 (the values after libusb might be different, depending upon where in your USB chain you have the scanner connected.)
9. Open Xsane and scan to your hearts' content.
massong
January 14th, 2006, 11:58 AM
Hi, first off - thank you, this is an excellent guide.
I am however running into a small problem at this step:
sudo dpkg -i ~/Desktop/mfc210c/mfc210clpr-1.0.2-1.i386.deb
I have followed all other steps to the letter as far as I can tell, when I run the above command I get the following output:
(Reading database ... 74840 files and directories currently installed.)
Preparing to replace cupswrappermfc210c 1.0.0-1 (using .../cupswrappermfc210c_1.0.0-1_i386.deb) ...
lpadmin: Unable to connect to server: Connection refused
* Restarting Common Unix Printing System: cupsd [ ok ]
Unpacking replacement cupswrappermfc210c ...
Setting up cupswrappermfc210c (1.0.0-1) ...
rm -f /usr/lib/cups/filter/brlpdwrapperMFC210C
* Restarting Common Unix Printing System: cupsd [ ok ]
lpadmin: Unable to connect to server: Connection refused
Incidentally, when I try to go to System / Administration / Printer I also get the error "The CUPS Server could not be contacted"
So, it seems I the CUPS server is not running, however I am not sure how to start it, if that is indeed that problem.
Any help would be appreciated :)
Gary
PS: ubuntu ROCKS!!!
massong
January 15th, 2006, 02:21 AM
Before I actually tried to add my printer through system / administration / printing I edited the client.conf file as indicated in your email below (sudo gedit /etc/cups/client.conf) and placed the ServerName as the name of the remote PC with my MFC210 on it.
Doing this ; that computer isn't running a CUPS Server and that's why I was getting my error.
I misread your message originally Bob, re-reading this now I understand I would edit this file if my Brother MFC210 was locally attached to my linux box and I wanted to share it on the network, which is not the case.
After I commented the ServerName line back out, I was able to run the System/Administration/Printing command and add my network printer with zero problems.
I printed out a quick test page and it looks perfect. Have I mentioned that ubunut rocks? I've never been able to accomplish so much with any other linux Distrobution, I'm dang near ready to make the switch!!!
Gary
Depends on how old each printer is. Before buying equipment for your machines you may wish to investigate whether they are Linux friendly. In my mind running Ubuntu is a bit like running a Mac in terms of what I buy.
My Logitech Clicksmart 820 completely locks my PC when I try to do anything more than copy out the photos. Same with the MFC210C's scanner features. But I bought them before doing any investigation. At that time I wasn't as committed to Linux as I am now.
In future I'll be much more careful. If it isn't very Linux compatible... I'll keep hunting.
Meanwhile, have you tried this on the Ubuntu box?
BobSongs
January 17th, 2006, 02:22 AM
<snip>I printed out a quick test page and it looks perfect. Have I mentioned that Ubuntu rocks? I've never been able to accomplish so much with any other linux Distrobution, I'm dang near ready to make the switch!!!</snip>As a PC repair person I have begun to direct my customers to Ubuntu. I give them a level deal. It's not perfect. But just as there are trade-offs in Ubuntu, there are trade-offs in XP. Let's not kid ourselves. Climb on board, even if it's your 2nd O/S.
BobSongs
January 17th, 2006, 02:59 AM
<snip>And now, for the scanner portion of the MFC210C.</snip>Whoa! Excellent!! Giving it a try now. Many thanks for posting this. Job well done.
BobSongs
January 17th, 2006, 04:02 AM
And now, for the scanner portion of the MFC210C.Woot! It works! It works! Glory and thanks to God for sending you along to improve this tutorial.
I have added it to the main tutorial crediting you for your generous addition.
crhooker
January 19th, 2006, 10:31 AM
BobSongs,
I have a Brother MFC3220C which is probably very close to your model. I have read your HowTo (excellent, thanks by the way) and would like to try it but before doing so I am hoping to make sure it does not mess up what I had already done.
Ubuntu found and correctly identified my model, the driver list however did not. I selected the one it reccomended and tried to print out a test page, the job queue recieved the job and apparently processed but nothing came out.
Should I perform the steps for your install after getting the right drivers for my printer (I actually think they are the same as I have gone to the Brother site but I am apparently not smart enough to understand what they are telling me to do - same thing with linuxprinting.org too)?
Thanks.
carl
BobSongs
January 19th, 2006, 08:41 PM
Sorry I didn't get to your post sooner, Carl. Today's band practice day.
First, try using Google for the Brother Linux drivers. Brother will give instructions on how to install them. What I did was take their tutorial and try each step noting any errors. At one point the error stated a certain folder did not exist. So my instructions indicate the creation of a seemingly random folder. The setup then complained that it could not start/stop the 'cups' server. So when I looked in the folder I found a file named 'cupsys'. So I give instructions on creating a symbolic link to 'cupsys' named 'cups'. All worked fine.
You see: it was very, very basic. Careful noting of what went wrong followed by a tweak here or there that Ubuntu needed in particular. Once that was in place the install worked better and better until it reported no flaws.
I would encourage you to try the same. Download and try it out using Brother's somewhat flawed instructions. Tweak as you go and you'll be ready to create your own "How-To". If you liked my tutorial (yeah, yeah: lots of hand holding... but I'm not ashamed of gearing this for the absolute beginner ;)), please add one for your printer too.
I am no way a guru. Utter newbie. I've got lots of Win/DOS experience that is very helpful at times. But a careful perusal of my tutorial will show that it's as basic as you can get. No real radical moves there at all, other than the symbolic link, and I got help for that.
crhooker
January 20th, 2006, 02:33 PM
Thanks for taking the time. I will start out with your system and give it a whirl. When I looked at the Brother site a few days ago it seems to me the drivers for my printers are the same as for yours. If so and it works well I will get back to you with any tweaks I might have made and you can update your HowTo with my printer model.
Thanks again.
carl
crhooker
January 27th, 2006, 08:57 PM
bobsongs,
YOU ARE THE MAN! \\:D/
I have the MFC3220C as I said in earlier posts. I downloaded the proper drivers from the Brother site, followed your directions to the letter, of course I called my folder mfc3220c and altered the files to run to install the drivers. And, hello, out comes the test page. Thanks, I will move on to your scanner install next. I also obtained fax drivers from Brother and may even take a stab at them.
I did notice that the setup was to network printer, not being sure what that was about I clicked the local button, tried another test page and it worked as well. If you know the difference I would appreaciate some insight.
Now that you have solved my printer issue how about taking a stab at my webcam?? :-D
BobSongs
January 29th, 2006, 03:58 AM
bobsongs,
YOU ARE THE MAN! \\:D/
I have the MFC3220C as I said in earlier posts. I downloaded the proper drivers from the Brother site, followed your directions to the letter, of course I called my folder mfc3220c and altered the files to run to install the drivers. And, hello, out comes the test page. Thanks, I will move on to your scanner install next. I also obtained fax drivers from Brother and may even take a stab at them.
I did notice that the setup was to network printer, not being sure what that was about I clicked the local button, tried another test page and it worked as well. If you know the difference I would appreaciate some insight.
Now that you have solved my printer issue how about taking a stab at my webcam?? :-D
:D Love it. I'd like to see my webcam going! It's a Logitech Clicksmart 820. I can download photos from it, no problem. But the moment I try to use it as a webcam my PC locks right down to the mouse movement. I'm sure it is a matter of a simple tweak as in the scanner tutorial. A number here, a small file there and boom: it works. But nothing yet.
Lunixfanboy's tutorial worked fine for my scanner.
:)
LxP
January 29th, 2006, 06:23 AM
Thank you very much for your efforts BobSongs. Thanks also to ubu69 for the useful information on getting a standalone network printer to function (i.e. one connected only to a hub/switch/router and not directly to any computer).
I am attempting to set up my router-connected Brother MFC410CN to print from Ubuntu and I am close; printing of test pages does not work however.
I think that the problem is that I can't modify CUPS settings through its web interface; it is disabled under Ubuntu 'for security reasons' and my attempts to enable it have been fruitless.
It's obvious that I want to select Network Printer from the Connection tab from the printer properties window. Do I want to select IPP or LPD though? I know that I need to enter an IP address somewhere; ubu69's instructions suggest that I want to select LPD but two text fields appear. You can't split an IP address over two text fields! :p
Any guidance would be greatly appreciated.
BobSongs
January 30th, 2006, 12:14 AM
Thank you very much for your efforts BobSongs. Thanks also to ubu69 for the useful information on getting a standalone network printer to function (i.e. one connected only to a hub/switch/router and not directly to any computer).
I am attempting to set up my router-connected Brother MFC410CN to print from Ubuntu and I am close; printing of test pages does not work however.
I think that the problem is that I can't modify CUPS settings through its web interface; it is disabled under Ubuntu 'for security reasons' and my attempts to enable it have been fruitless.
It's obvious that I want to select Network Printer from the Connection tab from the printer properties window. Do I want to select IPP or LPD though? I know that I need to enter an IP address somewhere; ubu69's instructions suggest that I want to select LPD but two text fields appear. You can't split an IP address over two text fields! :p
Any guidance would be greatly appreciated.
Thank-you, LxP, for your kind words. I just started this tutorial because a friend of mine tried Ubuntu and I wanted to give him a step-by-step. Since then others have added to it and as a community we've made it useful.
Feel free to post any detected errors in the command line installation or attempts to connect produce and I'm sure some kind soul will make the effort to fix what's broke.
ubu69
January 30th, 2006, 02:00 AM
LxP,
Are you using KDE or Gnome (or something else)? Maybe we can figure it out.
One thing you might try is setting it up as LPD. In the first text box enter the IP address. In the second text box enter the name of the printer (the "queue" in LPD-speak). Or leave the second text box empty, if possible.
Just a stab in the dark.
I never had success with IPP. I figured it was because of the driver.
Is the CUPS web interface really disabled in Ubuntu? I've found it most useful on my iMac and Linux (Debian and Gentoo) machines.
Anyway, little baby steps. We'll all figure it out.
LxP
January 30th, 2006, 06:32 AM
Thanks for your attention ubu69!
Are you using KDE or Gnome (or something else)?
I'm using GNOME. It's not much different from the standard Ubuntu installation (although I understand that you don't use Ubuntu).
One thing you might try is setting it up as LPD. In the first text box enter the IP address. In the second text box enter the name of the printer (the "queue" in LPD-speak). Or leave the second text box empty, if possible.
I'll try entering just the IP itself in the first box and in the second one I'll enter the host name as governed by the printer's settings. Please let me know if either of these are incorrect.
I never had success with IPP. I figured it was because of the driver.
Are there any major differences between the two? Coming from Windows, I'm not used to such choice (although as IPP doesn't seem to work, it's not exactly a choice anyway).
Is the CUPS web interface really disabled in Ubuntu? I've found it most useful on my iMac and Linux (Debian and Gentoo) machines.
It's not entirely disabled; it seems to be read-only though. When attempting to select an option that may modify something a credentials popup is shown which accepts no logical username/password combination, and then this message is displayed:
Unauthorized
Administrative commands are disabled in the web interface for security reasons. Please use the GNOME CUPS manager (System > Administration > Printing).
ubu69
January 31st, 2006, 02:56 AM
LxP,
Are you able to view the help documentation in the CUPS web interface? I have found some answers there in the past. They give examples both using the web interface and the command line. Are you able to configure CUPS from the command line at least?
I tried logging in with GNOME to see if I could see what the GNOME CUPS manager is doing to you but my environment is set up differently and I don't even have it! Some help I am...
Give it a shot from GNOME and let us know how it works. Oh, and give the CUPS help a read. It will explain a lot. There is also a printing HOWTO buried in /usr/share/doc/HOWTO/en-txt on your system (at least it's on mine) or you can get it online at The Linux Documentation Project <http://www.tldp.org/>. You may get some answers there, as well (IPP, LPD and all that stuff).
After that you may have to futz around with the command line...
We're all learning together. The curve is steep but the support is there.
LxP
February 9th, 2006, 01:31 AM
Well,
I'm not sure what I did but now everything's working for me.
Attached is a screenshot of my Configuration tab. The 10.0.0.2 represents my printer's IP address. I do remember entering BROTHER into the Queue field (which is what my printer advertises as its host name) but as this has disappeared, I don't know if that was necessary.
One thing that I feel is quite important to note: there is a much longer gap between the time that one creates a print job and the time that the printer responds (at least on this computer compared to Windows). I think that perhaps I was cancelling my test pages before they were reaching the printer; perhaps if I'd been more patient!...
Thanks again to ubu69 and BobSongs and to everyone who has contributed to this thread.
shawndoggy
February 9th, 2006, 07:06 PM
Sweet, just wanted to get on record that I've successfully adapted these instructions to printing from a MFC5440CN which is attached to an XP box on my network.
First I installed the driver per these instructions, using brother's 5440CN driver.
Then I set up the new printer, following the dialog. Ubuntu found the printer on my network, and then I selected the previously installed driver to run the printer.
The only snag I hit was after that, the printer wouldn't work, even though it was shared on my windows machine. The wiki saved me there -- even though I don't have user authentication set up on the xp box for the shared printer, ubuntu wants to see "guest" typed in the user part on the network printer dialog. Once I did that, it worked like a champ.
LxP
February 9th, 2006, 09:11 PM
shawndoggy, from your wording it seems that you have your printer directly connected to your Windows machine. Can you please confirm that?
(This should be known to people who are trying to set up a stand-alone 5440CN, i.e. directly connected to a hub/switch/router, because the above information may then not apply to them.)
ubu69
February 12th, 2006, 11:05 AM
I found this article to be comforting and humorous. The author has written several books on programming and Unix/Linux. While it won't help this particular problem, it is a good read (and explains why we are all dumbfounded by what should be a simple task).
Check it out:
http://www.catb.org/~esr/writings/cups-horror.html
djur
February 20th, 2006, 10:24 PM
Regarding the installation of an MFC420CN (MFC 420 CN) printer as a network printer. If you are trying to share the printer with a windows or other machine.... Obviously make sure you have both samba and cups correctly installed.
Two configuration files of great interest are: /etc/samba/smb.conf and /etc/cups/cupsd.conf. If you are unsure of the settings please see the man files by typing
man cupsd.conf
or man smb.conf
it is important that security is set to user, and that you have added the user by typing: sudo smbpasswd -a (username)
you will need to set up a password.
Proper set up requires both a USB and network cable to be attached to the printer. When you have properly set this up it will show as a network printer, and you will see this: usb:/dev/usb/lp0 in the field.
Ensure you have completed all steps on brother's linux driver website... lpr driver first, and then cupswrapper.
Good luck.
darrenrxm
February 21st, 2006, 05:34 AM
This is funny my dad, just purchased this exact model last week. Unfortunately, it works perfectly with windows. All you have to do is put the cd in the drive and click a couple of button's to get it to install.
Well, at least they made driver's for linux.
LxP
February 21st, 2006, 09:29 PM
Regarding the installation of an MFC420CN (MFC 420 CN) printer as a network printer.
...
Proper set up requires both a USB and network cable to be attached to the printer.
Hmm... are you sure about this?
My beliefs have been that you either set it up with a USB cable and share it via the connected computer (presumably with Samba) or you use a network cable and it's equally available to all computers.
I have set up my MFC-410CN as a network printer using only a network cable; there was no need for USB cables or Samba and both Linux and Windows computers on the network can print to it.
marcw
February 21st, 2006, 10:00 PM
Regarding the installation of an MFC420CN (MFC 420 CN) printer as a network printer. If you are trying to share the printer with a windows or other machine.... Obviously make sure you have both samba and cups correctly installed.
Huh???
The 420CN is already a network printer i.e. it has a print server built in. Why would you need another machine from which to share it? The only reason I can think of to use the USB connection directly (instead of the Ethernet network connection) is to utilize the scanner. There might be a reason; I just can't think of it...
The reason I know this is because I'm using it right now with a network connection. My network settings look like this:
thedavis
February 22nd, 2006, 04:06 PM
I followed the HowTo for my DCP-115C and its working fine now :) hehehe Thanks :) But I have a question....for scaning?!! :S:S
Sorry if my english suX!!! I tried to write in my best way :D
shawndoggy
February 22nd, 2006, 05:07 PM
shawndoggy, from your wording it seems that you have your printer directly connected to your Windows machine. Can you please confirm that?
(This should be known to people who are trying to set up a stand-alone 5440CN, i.e. directly connected to a hub/switch/router, because the above information may then not apply to them.)
You are correct. While the MFC 5440CN can be hooked directly to a router, mine is not. It's plugged into the back of my XP box using a usb cable.
djur
February 22nd, 2006, 06:54 PM
Huh???
The 420CN is already a network printer i.e. it has a print server built in. Why would you need another machine from which to share it? The only reason I can think of to use the USB connection directly (instead of the Ethernet network connection) is to utilize the scanner. There might be a reason; I just can't think of it...
The reason I know this is because I'm using it right now with a network connection. My network settings look like this:
That's right. As far as I know, to do that you have to have the printer set up on a static IP (not necessarily with your ISP, but within your internal network), and that static IP should not be within the range that DHCP is assigning. The method with both the USB and network cable attached will work with DHCP. It may be possible to get it working in such a manner with just the network cable if there is I don't know it, but whenever I disconnect either cable this scenario does not work for me. Thanks for posting that thumbnail though. If someone wants to do a static IP, that is probably a more stable method.. I sometimes have to restart samba or cups because this set up can sometimes revert to a "local printer" if there is some temporary network problem when the computer boots.
BobSongs
February 23rd, 2006, 01:55 AM
This is funny my dad, just purchased this exact model last week. Unfortunately, it works perfectly with windows. All you have to do is put the cd in the drive and click a couple of button's to get it to install.
Well, at least they made driver's for linux.Funny, in a sad sort of way. I hear you. My understanding is: the hardware company hands the task of software creation to a 3rd party. Windows users enjoy the bells and whistles. Linux users have to fend for themselves.
Don't get me wrong. I appreciate Brother's downloadable Linux drivers. Coupled with Xsane it's a pretty decent replacement for the bundled Windows scanner software.
Zerocool10482
February 25th, 2006, 08:30 AM
Can anyone tell me how to print with a Canon MP750. I'm a newbie and we have a new business where my boss said if we can do everything will Ubuntu. He will have all the PC run Ubunut. I'm thinking of trying http://www.turboprint.info/ . I'm not sure if it will work. but has anyone used this?
Thanks and I hope my company can have an all Ubuntu office.
Mack1
February 26th, 2006, 07:33 AM
HI all,
Just wanted to express my thanks to Bobsong and everyone else that contributed!
My MFC425CN now works like a charm while connected to my network-router :)
If anyone has any ideas about make the scanner work via the network (not via usb) i would be most gratefull!
Sorry but i cannot help you Zerocool, i'm fairly new to ubuntu...but i'm learning! \\:D/
BobSongs
February 27th, 2006, 08:32 PM
Can anyone tell me how to print with a Canon MP750. I'm a newbie and we have a new business where my boss said if we can do everything will Ubuntu. He will have all the PC run Ubunut. I'm thinking of trying http://www.turboprint.info/ . I'm not sure if it will work. but has anyone used this?
Thanks and I hope my company can have an all Ubuntu office.I hope you can have an Ubuntu office as well there, Zerocool. Here's my suggestion to make this work.
Scour the Canon website for Linux drivers or instuctions on how to set up this device.
Download whatever you find in terms of drivers: those that relates directly to Ubuntu or general Debian Linux (Ubuntu Linux is based on Debian).
Download the files.
Follow the Ubuntu/Debian instructions and note any error output at the command line.
Open a thread asking for help with any difficult errors.
Post a HOWTO thread with your success story.This thread is for the Brother MFC210C so it would be wasted if you did it all here.
We look forward to hearing from you about the results of your search and installation! :)
BobSongs
February 27th, 2006, 08:35 PM
HI all,
Just wanted to express my thanks to Bobsong and everyone else that contributed!
My MFC425CN now works like a charm while connected to my network-router :)
If anyone has any ideas about make the scanner work via the network (not via usb) i would be most gratefull!
Sorry but i cannot help you Zerocool, i'm fairly new to ubuntu...but i'm learning! \\:D/You're very welcome. Again: a big 'thank-you' to all those who have contributed to make this thread possible and helpful.
:D
ningsean
February 28th, 2006, 01:39 AM
This is really excellent tutorial. I followed it, and my MFC-210C worked right away.
I have a problem for the scanner part, though. I got the following error when I tried to install brscan2-0.0.2-1.i386.deb:
/usr/local/Brother/sane/setupSaneScan2: line 7: /etc/sane.d/dll.conf: No such file or directory
Should I create a folder just as for the printer part?
Thanks a lot!!
bigken
February 28th, 2006, 05:37 AM
Hi all i got my mfc3820cn working using this thread on a network also got scanner working on network ;)
Setup as Unix printer (lpd)
Description MFC3820CN
Host 192.168.XXX.XXX set as static ip on printer control panel
Queue BRN_463041
worked on all listed bellow
breezy 5.10 gnome/kde/enlightenment 17
dapper 6 .06 gnome/kde
suse 10 gnome/kde
Edgy Eft Knot2
Freespire
cheers bobsongs your a :KS
and also got my brother mfc660cn working with ubuntu aand kubuntu :p
BobSongs
February 28th, 2006, 06:13 AM
This is really excellent tutorial. I followed it, and my MFC-210C worked right away.
I have a problem for the scanner part, though. I got the following error when I tried to install brscan2-0.0.2-1.i386.deb:
/usr/local/Brother/sane/setupSaneScan2: line 7: /etc/sane.d/dll.conf: No such file or directory
Should I create a folder just as for the printer part?
Thanks a lot!!It would appear that either you're missing the 'dll.conf' file under /etc/sane.d/ or there is no such folder as /etc/sane.d. Open a Terminal and do:cd /etc/sane.d
ls -Aand tell me what you see.
If you're simply lacking the file I have attached it to this post (it's called 'dll.txt'. Simply rename it 'dll.conf' and place it in /etc/sane.d if it's not there. If the folder exists and is empty then something went very wrong).
If you cannot open the folder because no such folder exists try reinstalling the scanner backend again. Ensure you're running it as 'sudo'.
ningsean
February 28th, 2006, 11:09 AM
Thank.
I try to enter the sane.d folder, but no luck. There is no folder named sane.d under /etc
cd /etc/sane.d
bash: cd: /etc/sane.d: No such file or directory
I tried to install it again and got the following information:
(Reading database ... 73187 files and directories currently installed.)
Preparing to replace brscan2 0.0.2-1 (using brscan2-0.0.2-1.i386.deb) ...
mv: cannot stat `/etc/sane.d/dll.conf': No such file or directory
/usr/local/Brother/sane/setupSaneScan2: line 20: /etc/sane.d/dll.conf: No such file or directory
cat: /etc/sane.d/dll.conf.tmp: No such file or directory
Unpacking replacement brscan2 ...
Setting up brscan2 (0.0.2-1) ...
/usr/local/Brother/sane/setupSaneScan2: line 7: /etc/sane.d/dll.conf: No such file or directory
Thanks!
BobSongs
March 1st, 2006, 04:08 AM
Do you have the XSane Image scanning program set up on your system?
Applications → Add Applications → Graphics
ningsean
March 1st, 2006, 10:22 PM
Thanks. I installed XSane Image Scanning program and brscan now. Both were successful. However, I cannot find libsane.usermap under /etc/hotplug/usb/ . The only files in that folder are libgphoto2 and libgphoto2.usermap. I tried to search MFC in the file libgphoto2.usermap, but found none. Is this because I am using Debian? I think Debian and Ubuntu are similar (at least the printer part succeeded).
Thanks!!
BobSongs
March 4th, 2006, 11:51 PM
Thanks. I installed XSane Image Scanning program and brscan now. Both were successful. However, I cannot find libsane.usermap under /etc/hotplug/usb/ . The only files in that folder are libgphoto2 and libgphoto2.usermap. I tried to search MFC in the file libgphoto2.usermap, but found none. Is this because I am using Debian? I think Debian and Ubuntu are similar (at least the printer part succeeded).
Thanks!!
heehee! Cute. You had me worried there!
Here I am pulling my hair out wondering what on earth's wrong with your copy of Ubuntu!
Debian and Ubuntu are similar. Like fraternal twins. Not identical twins. And the differences make them distinct enough.
Initially I wanted to give Debian Linux a whirl. But all my friends jumped at the chance to shout: "For heaven's sake!! NOOOOO! Install Ubuntu. Don't you know Debian is broken?? Are you out of your mind?"
So I reconsidered and installed Ubuntu instead. It's been nothing but fun ever since.
All that to say: I cannot vouch for a pure Debian system. They're similar but the differences will force you to persue Debian forums for answers. We'll be as helpful here as we can. But in the end all my advice is going to be Ubuntu-centric. This is my first real serious dip into Linux as a primary system. (My friends cannot believe XP is not what they see on my desktop.) So I'm going to have to plead ignorance about Debian, Slackware, SuSE, Redhat/Fedora, etc. What you could do is search the Brother website. I believe they have instructions on how to install the Sane drivers. Step-by-step instructions.
Beyond that... I cannot help you. :'(
Sorry.
ningsean
March 5th, 2006, 04:06 AM
Thank you for your help.
I like this forum very much and I find most HOW-TOs work for me so far. That's why I think this scanner thing is probably going to work, too. Sorry for not clarifying this at the beginning. Maybe I should consider to change to Ubuntu :-)
Thanks again.
BobSongs
March 5th, 2006, 10:55 PM
Thank you for your help.
I like this forum very much and I find most HOW-TOs work for me so far. That's why I think this scanner thing is probably going to work, too. Sorry for not clarifying this at the beginning. Maybe I should consider to change to Ubuntu :-)
Thanks again.At this point I would only recommend installing Ubuntu to fully use your printer. But hey: most would consider that a really lousy reason to switch distributions. ;)
Nevertheless, Ubuntu has been very satisfactory. Everything I've needed in an O/S has been supplied in these forums or the wiki or some satellite sites. This forum is famed for its friendliness. I've never seen anyone told to "read the manual". Ubuntu itself just ... works. That's probably the best I can put forward.
But I'd love to hear your reasons for why you're using Debian. Write a personal note if you choose.
Thanks.
montablac
March 6th, 2006, 12:04 AM
ACK
i installed the printer by my self (despite the fact that ive had little time in ubuntu,GO ME)
i installed all the things for the scaner,but when i run xsane i get the folowing reply
failed to open device `brother2;bus3;dev1':eror during device I/O
any help for a newbe?
BobSongs
March 6th, 2006, 05:01 PM
ACK
i installed the printer by my self (despite the fact that ive had little time in ubuntu,GO ME)
i installed all the things for the scaner,but when i run xsane i get the folowing reply
any help for a newbe?
By now you've probably figured it out. I had that same problem. What I needed to do was shut the printer off ... then turn it back on. At least: that's what solved it for me. Like that old, old expression says: "If at first you don't succeed: reboot".
Edit: I've added the shutdown/restart to the tutorial.
montablac
March 7th, 2006, 12:37 AM
thx for that man
punkass
March 15th, 2006, 09:34 PM
Huh???
The 420CN is already a network printer i.e. it has a print server built in. Why would you need another machine from which to share it? The only reason I can think of to use the USB connection directly (instead of the Ethernet network connection) is to utilize the scanner. There might be a reason; I just can't think of it...
The reason I know this is because I'm using it right now with a network connection. My network settings look like this:
Did you have to do anything else to get it hooked up to the network printer. I have all the drivers installed etc, but I can not seem to get a connection with the printer itself..I know its working as windows machines can access it. I have tried iip, lpd etc, but with no luck ( for example where did you get the binary_p1 from )
niknak
March 25th, 2006, 07:11 PM
A newbee needs help, I've followed bobsongs directions but failed to load the c shell. I have my mfc5840 connected to my router and I cannotget it to work. I've obviously missed something and lost the original thread where another mfc5840 owner had some success using bobsongs methods. I also have major problems with deb and rpm files downloaded off the brother-linux website. can anyone help?..
BobSongs
March 25th, 2006, 09:36 PM
A newbee needs help, I've followed bobsongs directions but failed to load the c shell. I have my mfc5840 connected to my router and I cannotget it to work. I've obviously missed something and lost the original thread where another mfc5840 owner had some success using bobsongs methods. I also have major problems with deb and rpm files downloaded off the brother-linux website. can anyone help?..
Please note the warning placed on page 1: This tutorial assumes that your MFC is attached directly to your PC.Somewhere in this thread you'll find a link to setting up the MFC as a network printer. But I'm afraid that doesn't involve having it attached directly to the router. The notable reason: there are some programming changes that need to occur on the host PC. Attaching it directly to the router may be a bit of a challenge.
However, if you find a solution: post it here. I'll be glad to add it to the basic tutorial. If anyone else has a hot tip on how to access MFCs directly from the router: fill me in.
...failed to load the c shell.And what was the problem with the C-Shell? Are you using Ubuntu? Forgive me for asking but so far there have been posts to this thread from users of other systems. I'm happy to assist anyone... but I need to know from the start what version of Linux you're using. I can make no assumptions if I'm going to be helpful. Otherwise it's: ](*,)
...lost the original thread where another mfc5840 owner had some success using bobsongs methodsWow. I didn't know. Cool.
I also have major problems with deb and rpm files downloaded off the brother-linux website.Please be more specific. The more info you give the more I can help.
marcw
March 25th, 2006, 11:04 PM
A newbee needs help, I've followed bobsongs directions but failed to load the c shell. I have my mfc5840 connected to my router and I cannotget it to work. I've obviously missed something and lost the original thread where another mfc5840 owner had some success using bobsongs methods. I also have major problems with deb and rpm files downloaded off the brother-linux website. can anyone help?..
This thread deals with the 210. Since you have a different model it probably would have been best to start a new thread somewhere other than in the HOWTO section.
Anyway, your 5840 has a built in print server and it sounds like that's how you have it connected. That should work fine. I did it with the 420CN. The only thing you'll probably want to do is to assign it a static IP address. You'll have to do that both within the printer itself as well as the router. Your router manual will have instructions for this as will your Brother manual. Then look for one of my posts within this thread for more information on setting up the Ubuntu client. Also, search for a thread I started some time ago on getting a 420 to work. Searching for Brother mfc-420cn should do the trick for you.
You also mention that you didn't install the c shell. Why not? What failed? Using Synaptic or apt-get should be all you need. The Brother install will simply not work without the c shell.
niknak
March 26th, 2006, 11:34 AM
Sorry!, I've started a new thread now. called it "installing a network printer". but to answer your questions. I have ubunti 5.10, a router/wireless/modem/print spooler all-in-one-box made by safecom. It all works great in windows and all computers see the printer. This machine (unbuntu) is connected through the router and the mfc5840cn is also connected to the router. I have setup the printer with a static IP address. I personally think that there is so many variables in my setup it'll be impossible to crack.
C shell didn't work as the file csh? couldn't be found. I did tell you I was a newbee!!
I have seen somewhere that my version is also know as debian?
BobSongs
March 26th, 2006, 11:41 AM
Install the C Shell using the following:sudo apt-get install csh Then the drivers will work.
Return to the tutorial and follow the steps carefully. Besides: my tutorial was designed for new Ubuntu users, not for the experienced. But I cannot do anything for anyone who is impatient. ;) The steps were carefully thought out, tested and improved with each user who, thankfully, has added to it.
Give it another go.
Bucanero
April 9th, 2006, 11:34 AM
Just to let you know
I've follow this how to with my Brother MFC5440N and it works great !, thanks
The printer is connected via network to my switch.
I'll try the scanner, any luck to network scan ? what about the fax ?
Thanks
Bucanero
BobSongs
April 9th, 2006, 12:58 PM
I've seen a number of different users rejoice at how their particular printer works with my tutorial. (Kudos to Brother for their well-written drivers.)
Now I do make the disclaimer that "this tutorial assumes your MFC is attached directly to your PC and your PC is Intel-based 32-bit." When it comes to networking the printer, you're on your own. I'm not trying to be unkind: my printer is connected directly.
However, if you patiently read through this whole thread there is a reference to an instructional link showing how to make the MFC a network printer. But I doubt it's of any value when the MFC is attached to a hub or whatnot.
Should you discover how to make your printer work as a stand-alone device please post a very, very carefully detailed account and I'll happily add it to my tutorial. (When it comes to new users never assume they know more than how to turn the PC on. I don't mind a challenge. It's no fun for them to comb over poorly written instructions trying to get a feature to work, cool?) Detail what you do step by step (tedious as it is) and I wish you complete success.
splendid
April 16th, 2006, 08:28 PM
Folks, I have a Brother HL2070N Printer that I am trying to setup, and keep having problems. The printer is connected to my DLink Router. Any ideas?? I have both the CUPS and LPR Drivers loaded, but still can't seem to get the thing to work.
Help Please.
Thanks,
Rob
marcw
April 16th, 2006, 09:08 PM
Folks, I have a Brother HL2070N Printer that I am trying to setup, and keep having problems. The printer is connected to my DLink Router. Any ideas?? I have both the CUPS and LPR Drivers loaded, but still can't seem to get the thing to work.
I think you're going to have to do better than this. Exactly how is it not working? What is happening or not happening? What have you tried so far? Have you read this thread in its entirety? (It doesn't sound like it but can't tell for sure.) Have you searched for other Brother related threads? Have you read through Brother's own documentation? (There quite a bit posted on the Brother site.) Did the installs go exactly as documented? If not, how so?
I'm not familiar with your model, but can tell you that I have installed two different Brother printers - 210C and 420CN - one of which, the 420CN, has a built in print server and is connected directly to a router and have written about both installs in the Ubuntu forums. So it can be done despite what you may have read from others.
splendid
April 16th, 2006, 10:16 PM
I installed the CUPs and LPR Drivers. The printer does appear in the System-Administration-Printing tab. I get a message that say's:
Printing: Unable to connect to IPP host: Success
Tried printing a test page, but the job just sits in the queue. On my Windows network, there is no problem with the printer. It works fine, and I have another computer print to it as well.
marcw
April 16th, 2006, 10:37 PM
What does the General, Driver, and Connection tabs of your printer properties say? Pictures would be fine...
splendid
April 16th, 2006, 10:48 PM
General
Name: HL2070N for CUPS
Location: blank
Resolution: 600dpi
Status: Printing: Unable to connect to IPP host: Success
Driver
Manufacturer: Brother
Model: HL2070N
Driver: Standard Suggested
Connection
Printer Type: Network Printer CUPS Printer
URL: http://hostname: 631/
P.S. Since I am a "newbie" how do you copy pictures to post?
BobSongs
April 16th, 2006, 11:36 PM
markw: thanks for your input! I do moderate this thread as often as I can. It's been read by wayyy more people than I ever expected it would be. So I try to drop in as often as possible. Your moderation of the thread was very helpful. :D Should I send you cookies? ;)
Go placidly.
marcw
April 17th, 2006, 07:09 PM
Connection
Printer Type: Network Printer CUPS Printer
URL: http://hostname: 631/
P.S. Since I am a "newbie" how do you copy pictures to post?
Go back and read message #46 in this thread and look at the picture. See if that method works for you like it did me...
bigken
April 18th, 2006, 03:17 AM
http://ubuntuforums.org/attachment.php?attachmentid=8457&stc=1&d=1145344492
stalefries
April 18th, 2006, 10:10 PM
This is for all of you out there who want a networked scanner!
I have confirmed this to work both with Brother's confirmation program, and by making a preview scan of a random item I had lying around by the printer.
BobSongs: Feel free to add this to your original post.
The first part is shamelessly ripped and modified from Lunixfanboy's part of the tutorial. I'm sorry. The second part is shamelessly ripped and modified from the Brother tutorial. I'm sorry, once again.
NEW: Success! These directions work, unmodified, with Dapper. Sure, this is a little late, with Edgy coming in a couple of weeks, but better late than never! Most likely, unless something drastically changes with Edgy, these directions should work then too.
Step 1: Download from Brother
Go over there (http://solutions.brother.com/linux/sol/printer/linux/sane_drivers.html#model) to obtain the 'sane scanner' backend.
Save the file, for the sake of consistency, to the mfc210c folder on your desktop. If the terminal is closed, please open it again:Applications → Accessories → TerminalCode:
sudo dpkg -i ~/Desktop/mfc210c/brscan2-0.0.2-1.i386.deb
Note: The above command will depend on which sane backend you downloaded, "brscan" or "brscan2".
The following is the part from Brother's HOWTO (http://solutions.brother.com/linux/sol/printer/linux/sane_install-net.html#2).
This step is only necessary if you have previously uninstalled Sane:
Install The latest versions of Sane and Xsane
apt-get install sane xsaneTo use your machine as a network scanner, you need to set the friendly name, model name and IP address or node name in the driver using the commands below. Please make sure which scanner driver "brscan" or "brscan2" you are using. If you are using "brscan" driver, please use "brsaneconfig". If you are using "brscan2" driver, please use "brsaneconfig2".
P.S.: I have no idea what they mean by "node name", I ended up using the IP address that I used in setting up the printer for printing.
Using IP address:
brsaneconfig -a name=FRIENDLY-NAME model=MODEL-NAME ip=xx.xx.xx.xx or
brsaneconfig2 -a name=FRIENDLY-NAME model=MODEL-NAME ip=xx.xx.xx.xx Using node name:
brsaneconfig -a name=FRIENDLY-NAME model=MODEL-NAME nodename=BRN_xxxxx or
brsaneconfig2 -a name=FRIENDLY-NAME model=MODEL-NAME nodename=BRN_xxxxx i.e) When your model name is "MFC-7820N", nodename is "BRN_XXXXX" and friendly name is "SCANNER1", set the command as below:
brsaneconfig -a name=SCANNER1 model=MFC-7820N nodename=BRN_XXXXX or
brsaneconfig2 -a name=SCANNER1 model=MFC-7820N nodename=BRN_XXXXXYou can check the result by running the command:
brsaneconfig -q or
brsaneconfig2 -q If the setting is done correctly, you will see the result as below:
0 SCANNER1 "MFC-7820N" N:BRN_XXXXX
Finally, to make sure it REALLY worked, open up Xsane
Applications → System Tools → Xsane image scanning program
Yeah, it's ugly.
Now stick something in your scanner. I ended up using a blue comb that was lying around. Crazy, huh?
Click Acquire Preview in the Preview window (your mileage may vary, just hunt around for an Acquire Preview button.)
If you hear a whirring sound from your scanner, and see a scan starting to materialize on your screen, let out a yelp of joy, for you have a functioning scanner being used via a network connection, in less (and, IMHO, easier) steps than those poor people who are using their Brother scanner via USB!
LxP
April 18th, 2006, 10:28 PM
This is for all of you out there who want a networked scanner!
Works like a charm! Thanks very much for sharing.
And now to figure out how this XSane software works. ;)
bigken
April 19th, 2006, 04:15 AM
great job on the scanner thx once again bobsongs :D
Works with dapper flight 6 no probs
also suse 10 no probs
danalog
April 19th, 2006, 05:47 AM
To use your machine as a network scanner, you need to set the friendly name, model name and IP address or node name in the driver using the commands below. Please make sure which scanner driver "brscan" or "brscan2" you are using. If you are using "brscan" driver, please use "brsaneconfig". If you are using "brscan2" driver, please use "brsaneconfig2".
P.S.: I have no idea what they mean by "node name", I ended up using the IP address that I used in setting up the printer for printing.
Using IP address:
brsaneconfig -a name=FRIENDLY-NAME model=MODEL-NAME ip=xx.xx.xx.xx or
brsaneconfig2 -a name=FRIENDLY-NAME model=MODEL-NAME ip=xx.xx.xx.xx
Doing this step I get:
bash: brsaneconfig2: command not found
What now? (wat nou?)
LxP
April 19th, 2006, 06:42 AM
Doing this step I get:
bash: brsaneconfig2: command not found
You didn't properly install the brscan2 package. Please refer again to the appropriate part of the original message.
danalog
April 19th, 2006, 06:58 AM
You didn't properly install the brscan2 package. Please refer again to the appropriate part of the original message.
What I did:
1) got the deb from brother
2) installed the deb (sudo dpkg -i ~/Desktop/mfc210c/brscan2-0.0.2-1.i386.deb)
danalog@dev:~$ sudo dpkg -i ~/Desktop/mfc210c/brscan2-0.0.2-1.i386.deb
(Reading database ... 105274 files and directories currently installed.)
Preparing to replace brscan2 0.0.2-1 (using .../brscan2-0.0.2-1.i386.deb) ...
Unpacking replacement brscan2 ...
Setting up brscan2 (0.0.2-1) ...
3) sudo apt-get install sane xsane
4) brsaneconfig2 -a name=Scanner model=MFC210C ip=192.168.1.34
Result:
bash: brsaneconfig2: command not found
===========
I am on latest Dapper Drake.
================
edit:
I tried it with newer version of brscan: brscan2-0.2.0-0.i386.deb
Now I get a bit further but it gives me an error on an invalid model name:
danalog@dev:~$ brsaneconfig2 -a name=MFC210C model=MFC210C ip=192.168.1.34
Invalid model name
=====
edit:
FIXED
Forgot to add - (dash) in model name: MFC-210C
Scanning works!!
stalefries
April 19th, 2006, 07:19 AM
danalog: Have you ever installed/removed any of these packages before? Can you show us your $PATH?
LxP (and anyone else who cares): Check out the Xsane Documentation (http://www.xsane.org/doc/sane-xsane-doc.html).
Also, good to know it helped a bunch of people so soon, and that it went smoothly for (almost) all of you!
bigken
April 19th, 2006, 07:20 AM
What I did:
1) got the deb from brother
2) installed the deb (sudo dpkg -i ~/Desktop/mfc210c/brscan2-0.0.2-1.i386.deb)
danalog@dev:~$ sudo dpkg -i ~/Desktop/mfc210c/brscan2-0.0.2-1.i386.deb
(Reading database ... 105274 files and directories currently installed.)
Preparing to replace brscan2 0.0.2-1 (using .../brscan2-0.0.2-1.i386.deb) ...
Unpacking replacement brscan2 ...
Setting up brscan2 (0.0.2-1) ...
3) sudo apt-get install sane xsane
4) brsaneconfig2 -a name=Scanner model=MFC210C ip=192.168.1.34
Result:
bash: brsaneconfig2: command not found
===========
I am on latest Dapper Drake.
try brsaneconfig2 -a name=Scanner1 model=MFC-210C ip =192.168.1.34
danalog
April 19th, 2006, 07:30 AM
try brsaneconfig2 -a name=Scanner1 model=MFC-210C ip =192.168.1.34
Ah thank you... I figured it out before reading your reply, thanks anyway!
stalefries
April 19th, 2006, 07:31 AM
danalog: I ended up using brsaneconfig, but this might apply to you. Open Synaptic, and look in the "Unknown" category. Find brsane2 in there, and select it. Now, click the properties button at the top of the window. Click the Installed Files tab, and look through there for "/usr/bin/brsaneconfig2". If that isn't there, keep looking for a path that ends in "brsaneconfig2". Type that instead of just brsaneconfig2 in that long command, and see if it works.
BobSongs
April 19th, 2006, 02:07 PM
:-D
This is excellent. The additions are fabulous: great formatting, stalefries!! You know what I like and you complied to the standard I set. =D> What can I say?
I will gladly copy & paste any finished tutorial parts added. I'm going to trust that everything is functional, so I'll keep a sharp eye on any additions. All added parts to the tutorial will be credited to the appropriate author and correctors.
Good work, team! The additions to the tutorial should be in place before Sunday, April 23rd. I'm in hospital at the moment with my oldest daughter (enlarged appendix) so pardon the delay. But the additions will get in very soon.
bigken
April 19th, 2006, 02:34 PM
Thank you bobsongs your tutorials are great my life was a nightmare unit I hit this how to I tried for 3 months before this with no joy once again cheers hope the daughter has a speedy recovery =D>
stalefries
April 20th, 2006, 08:41 AM
Good to know you like it BobSongs!
bigken
April 20th, 2006, 09:18 AM
General
Name: HL2070N for CUPS
Location: blank
Resolution: 600dpi
Status: Printing: Unable to connect to IPP host: Success
Driver
Manufacturer: Brother
Model: HL2070N
Driver: Standard Suggested
Connection
Printer Type: Network Printer CUPS Printer
URL: http://hostname: 631/
P.S. Since I am a "newbie" how do you copy pictures to post?
Hi In printer properties select conection tab select network printer unix printer (lpd) and add the printer ip address to the host hope this helps
http://www.ubuntuforums.org/attachment.php?attachmentid=8457&d=1145344499
splendid
April 21st, 2006, 09:52 PM
Big Ken,
Where should I get the Printer IP Address from?
Thanks,
splendid
bigken
April 22nd, 2006, 02:56 AM
Hi splendid you need to setup a static ip address using the printer control panel
it is probablys set to dhcp read your printer manual if you dont have it download from makers web site
splendid
April 22nd, 2006, 10:54 AM
Big Ken,
Bob Songs,
Thank You both very much!!! You guy's are awesome! When I followed Ken's last post, I downloaded a program off of the Brother web site called BRAdmin Professional. From there I loaded and installed the program. It auto assigned an IP Address after searching for devices (Brother HL 2070N) that I went in and changed to Static. Wrote the IP Address down on a piece of paper. Next I booted into Linux, and downloaded and re-installed the LPR driver from the Brother site just to be safe. Went into properties and put in the IP address. Clicked resume on the printer, and then print test page. The test page printed successfully. woohoo.
One final question, should I put anything in the Queue setting?
Thanks Again,
Splendid
bigken
April 22nd, 2006, 12:56 PM
Big Ken,
Bob Songs,
Thank You both very much!!! You guy's are awesome! When I followed Ken's last post, I downloaded a program off of the Brother web site called BRAdmin Professional. From there I loaded and installed the program. It auto assigned an IP Address after searching for devices (Brother HL 2070N) that I went in and changed to Static. Wrote the IP Address down on a piece of paper. Next I booted into Linux, and downloaded and re-installed the LPR driver from the Brother site just to be safe. Went into properties and put in the IP address. Clicked resume on the printer, and then print test page. The test page printed successfully. woohoo.
One final question, should I put anything in the Queue setting?
Thanks Again,
Splendid
No no need if its working if you wanted too it would be the name your printer gives its self ie mine is BRN_463041 look on the printer setup panel and you will see what it is
BobSongs
April 24th, 2006, 10:23 AM
Added the fax drivers. See main tutorial.
stalefries
April 28th, 2006, 07:52 AM
One thing that has always confused me is this: if the Brother drivers are GPL'ed (which they are) why aren't they included with all the other built-in CUPS drivers?
Hero_boy
May 1st, 2006, 01:27 AM
Is there any way to use this driver on an AMD 64bit system?
BobSongs
May 1st, 2006, 08:20 PM
Is there any way to use this driver on an AMD 64bit system?Well, you read the caveat at the beginning. With an AMD 64-bit machine you're somewhat on your own. But I have a recommendation:
Recommended: work your way through the tutorial keeping an eye on the Brother website for file sources (see the first paragraph of the tutorial; it has the appropriate link). Try your best to get it working. Check out the error codes given to you in the terminal. Post them here and we'll see what we can do.
Once you've completed your installation, post a copy of your notes (you'll be taking notes, right?). I'll add a link in the tutorial to your additional setup steps. You'll improve my tutorial, benefit the community and you'll get the credit. If you re-install your notes will be here for a quick restore.
That's it... short of my buying a 64-bit AMD to do the testing... and that's not about to happen any time soon. ;)
BobSongs
May 3rd, 2006, 09:41 AM
One thing that has always confused me is this: if the Brother drivers are GPL'ed (which they are) why aren't they included with all the other built-in CUPS drivers?Or, perhaps, on the setup CD that comes with the printer.
stalefries
May 3rd, 2006, 05:47 PM
Capital idea! Maybe even an automated installer?
Nah.:p
teejcee
May 4th, 2006, 10:07 PM
If you have a Brother MFC620CN, this HOWTO works perfectly.
Simply substitute the model number where applicable.
As an adjunct, if you want to run the printer from a hub - this model is network ready - while you are checking the properties of the printer,
select the Connection tab,
check Network Printer,
select UNIX Printer (LPD),
enter the printer's ip address in the Host box.
Should all work like a charm.
BobSongs
May 5th, 2006, 12:41 AM
Capital idea! Maybe even an automated installer?
Nah.:p
Speaking of automated installers, have you seen Autopackage (http://autopackage.org/) yet? I've used it to install a few favorites like the latest Inkscape, Stallarium and SuperTux. They've worked hard on this packaging idea. It seems to work for any GNU/Linux distribution. So drivers set up according to autopackage might not be a bad idea. Sadly, I don't have the programming skills. But I can look and see what they've got in the way of a tutorial. No promises.
stalefries
May 6th, 2006, 07:32 AM
Not a bad idea, although most opinions I've heard of Autopackage have been more negative than positive. Now, I don't remember why. So you might as well try, for those who prefer an autopackage. I think the better thing would be to create an install script similar to what the Automatix guy did, using zenity. It's installed by default on Ubuntu (unlike autopackage) and would probably make this process easier.
I'd imagine it like this:
It would start out with links to the listings of the various drivers and such necessary, explaining what one needs to do at each page.
Even better, would be a pre-programmed drop-down list of all the supported models. Say I wanted to install an MFC-3820CN. I would select it from the drop-down list, and then this script would grab all the necessary drivers and things, excluding the fax or scan drivers if I told it to (by unchecking a check box or something).
Then, it would install all of these, and make the necessary changes, like changing those certain hex codes for that one procedure. It would then explain to the user what to do next (Go to System>Administration>Printing and fill out this and that, etcetera.)
It would then exit.
That's how I imagine it. I can't say I know how to do it, but I'll try to learn some more shell scripting and using zenity if no one else is capable or volunteers.
BobSongs
May 7th, 2006, 11:55 PM
<snip>That's how I imagine it. I can't say I know how to do it, but I'll try to learn some more shell scripting and using zenity if no one else is capable or volunteers.</snip>Well, you have the makings of genius!
That's far better than anything I imagined. I'll tell you what: I'm putting so much time into my band (public performance and recording studio) that I don't have too much time to set aside for the scripting.
It's not laziness or lack of care, just time constraints. But if you'd like to give it a go there's a whole lot of people out there that would be tickled and would speak favorably of you for years to come. ;)
Edit: Yo, dude; do you think this might be of value? [Click here] (http://ubuntuforums.org/showthread.php?t=168391). The author doesn't use Zenity, but it's possible something basic could be done.
stalefries
May 8th, 2006, 05:14 PM
My one concern is that users need to install extra software for just that, while zenity is included with Gnome.
I'll look into zenity, maybe I'll look at the source for Automatix to get a grasp of its use.
BobSongs
May 8th, 2006, 05:52 PM
I explained to a friend of mine the task at hand. Let me tell you what we're working on.
We're taking the structure of Automatix and rewriting the script Automatix runs. We're going to credit arnieboy, naturally, but his script is GPLed so as far as we understand it's free to take and modify.
We're going to remove all the installables he's got listed and we're replacing it exclusively with the three aspects of the MFC-210C: Printer drivers, Fax drivers and Scanner drivers.
This will be marked version 0.0.1. It will not include support for 1) any other distro than Breezy Badger and 2) any other Brother product.
Now, you'll be free to examine the contents and see what my programmer friend did. Please: take it and run with it. Compare it to the script that runs Automatix and add as much as you desire. I'll be more than happy to add a link right in the tutorial.
As it grows the version number can rise too. You'll be credited in the script, naturally. We should be done the better part of the script today. Then we'll have to figure out how all the rest was processed to get it to work correctly.
stalefries
May 8th, 2006, 06:08 PM
That's great that you and your friend have got it started (actually, I started giving a whack at it, also). There's only one problem I see: making it exclusively for the MFC-210C. From all the comments on this thread, it seems that people are using it for more than just the 210C. I, for example, have an MFC-3820CN.
The approach I have taken with my version is to provide a list of all the printers that can be installed, and then installing whichever one is selected. Of course, this may bulk up the script somewhat, but I think it's for the greater good.
Of course, my approach won;t work for every multi-function, as some do have scanners or copiers or faxes, and some don't. I figured I woulod include the scanner and fax installers in different scripts, maybe all linked to from one master script.
I think we should both do our own thing, and then get back together and compare/contrast, and combine the better portions of either script into one super-script!
stalefries
May 9th, 2006, 09:51 PM
For anyone who has been following this: BobSongs and I have continued this conversation via PM, to keep from clogging this thread. We are making headway, and I imagine a script will be posted soon.
Lunixfanboy
May 10th, 2006, 01:44 PM
As an aside to the howto, Dapper does NOT have hotplug, so editing the libsane.usermap will not be an option. However, getting brscan2-0.2.0-i386.deb and using that in Dapper has made the scanner functional again. I apt-get dist-upgraded from Breezy to Dapper when Flight 7 was announced, and immediately lost access to the scanner function. I just checked with Brother, and they have a newer release for those with kernel >= 2.6.13 which remedied the problem.
BobSongs
May 10th, 2006, 01:50 PM
Thanks dude. It is noted.
The script that will eventually be added to the tutorial will be, for the time being, exclusively for the Breezy/MFC210C combo. But it will be open for anyone to make additions.
When Dapper is released I will see what I can do to about modifying the script to include it as well.
Many thanks for the heads-up!
vojtek
May 11th, 2006, 05:21 PM
I'm using MFC 215C with 210C driver. My model (dont know if 210 too) has card reader - is it any possibility see that cards on Ubuntu Breezy? How can I send any file to card using card reader on my printer?
stalefries
May 11th, 2006, 06:20 PM
The card reader can't be accessed from any pc. The card reader on your printer (and I imagine this applies to any printer with a card reader) is only for the printer to be able to print off the pictures on the card. Sorry.
Funny thing: i have a friend named Vojtek who's from Poland also.
woot
May 12th, 2006, 09:30 AM
Hey maybe a little addition in the howto as already mentioned somewhere on page 2 i think when having problems with installing lpr support:
error:
/etc/init.d/lpd: No such file or directory
can be solved with
ln -s /etc/init.d/cupsys /etc/init.d/lpd
To be honest im not sure if it will work as im not at home now. i just installed the drivers on my laptop so i can add the printer through the network as soon as i get home. But creating the link let me go throught the howto succesfullyl.
so step 3 should be (in some cases, i was trying to install a mfc9180).
sudo mkdir /var/spool/lpd
sudo mkdir /var/spool/lpd/MFC210C (replace with your printer name)
ln -s /etc/init.d/cupsys /etc/init.d/lpd
sudo dpkg -i ~/Desktop/mfc210c/mfc210clpr-1.0.2-1.i386.deb
thnx BobSongs for the nice howto... people who write tutorials like you (and perhaps some which you used as base for your howto) make life a lot eassier. I had been trying to get my printer working some months ago under breezy but i ended up with being unable to uninstall some mfc package whilst saying i had to reinstall it to uninstall it..which was freaky as i wasnt able to install it...this time better luck with Dapper and this nice howto
thnx!
BobSongs
May 12th, 2006, 10:16 AM
error:
/etc/init.d/lpd: No such file or directoryThat's an interesting error. I've never come across it before. And I must admit I've installed Ubuntu quite a few times (I tend to mess with it and break it, but it's all part of the learning process).
I await your return from work for the confirmation of the following code as a solution to the problem:
ln -s /etc/init.d/cupsys /etc/init.d/lpd If this is correct it will be in the tutorial before long.
Thanks for the "heads up".
stalefries
May 12th, 2006, 08:36 PM
I imagine a "sudo mkdir /etc/init.d/lpd" would suffice, although I know very little about this.
woot
May 13th, 2006, 06:11 AM
I imagine a "sudo mkdir /etc/init.d/lpd" would suffice, although I know very little about this.
to be honest i think you're wrong... most files in init.d aren't directories rather scripts or something like that...
(though i might be wrong)
I still can't confirm wheter it works...im having troubles configuring the samba side of the network printing :(
when i run:
cd /var/log/cups/
tail -f error_log
i get all lines like:
E [13/May/2006:12:09:23 +0200] cupsdAuthorize: Local authentication certificate not found!
anyone? i have been trying everything :S
well, ill try plugging it in by usb, if it works then, at least im sure about the drivers being correct
*edit*
i can now confirm that adding the specific link helped me install succesfully a brother mfc 9180 printer on ubuntu dapper drake (by usb port)
worked like charm
now the damn samba network thingy!
stalefries
May 13th, 2006, 11:05 AM
Well, it shows how little I know.
In other news, does anyonie know why ubuntu-desktop needs to be removed whenever I install lpr, and vice versa? I thought ubuntu-desktop was just a meta-package.
BobSongs
May 14th, 2006, 05:03 PM
Well, it shows how little I know.
In other news, does anyonie know why ubuntu-desktop needs to be removed whenever I install lpr, and vice versa? I thought ubuntu-desktop was just a meta-package.
It would appear that a lot will disappear from your Ubuntu setup if you remove the Ubuntu-desktop package. Not recommended. I haven't tried it. But then again I don't want to see nine tenths of my setup vanish because of a mouse-click. ;)
stalefries
May 15th, 2006, 05:28 PM
It would appear that a lot will disappear from your Ubuntu setup if you remove the Ubuntu-desktop package. Not recommended. I haven't tried it. But then again I don't want to see nine tenths of my setup vanish because of a mouse-click. ;)
It didn't remove anything but the ubuntu-desktop package. Everything is still there. Wait, does this mean you didn't have to install lpr at any point? I hope it's true.
BobSongs
May 15th, 2006, 07:30 PM
lol
No, dude. Only read the description in Synaptic. It didn't appear to be something I wanted to do. But if all works well, then I should have kept my mouth shut.
Well. I'll be posting the script soon, on your recommendation. It works when one opens a command prompt and does sudo ./brotherscript.sh
I'll have that up some time tomorrow.
:)
stalefries
May 15th, 2006, 09:25 PM
I guess that misconception was left over from when I tried to install the printer from before. For some reason, i was led to think that I needed lpr installed. Guess what's getting fixed right now!
Good to hear the script is coming along.
bgolden12345
May 15th, 2006, 10:32 PM
You guys are great got my MFC-5440CN scanner to work this way.... Thanks.
BobSongs
May 16th, 2006, 11:43 PM
An "Install Script" for the Brother MFC210C printer.
Removed for Breezy Badger
Breezy Badger is hereby officially no longer supported by this thread or by Canonical.
Thanks
Bob
stalefries
May 18th, 2006, 07:48 AM
Also, for all of you who have a printer other than the MFC-210C, and manage to install it by modifying the afore-mentioned script, please post your modified script here so we can incorporate it into the next version. Hopefully, we'll be able to eventually cover all Brother printers with this script!
Jasman
May 26th, 2006, 10:02 AM
Thanks for this thread. If anyone cares, I just managed to install my Brother HL-2040 printer to work through my Asus WL-500G Deluxe Access Point with print server using instructions from this thread/script (modified, of course, for my printer, and using the two files readily available from Brother - the cups wrapper and LPR driver) and then installing as a network printer in Gnome System Printers using the basic IP for my router (in this case 192.168.1.1). The kicker, however, was choosing HP JetDirect to send print jobs through port 9100. Works like a charm, and I never even connected my printer directly to my laptop (it's connected via USB to the AP).
BobSongs
May 26th, 2006, 02:31 PM
Thanks for the post. I'll add it to the list of success noted at the bottom of the tutorial.
Boelcke
May 29th, 2006, 11:00 PM
I'm following your tutorial (thanks!) for a Brother HL-2040, directly connected to a ubuntu 5.10 PC via USB. All was sailing smoothly until step four.
mike@ubuntu2:~$ sudo ln -s /etc/init.d/cupsys /etc/init.d/cups
mike@ubuntu2:~$ sudo dpkg -i /home/mike/downloads/brotherHL-2040/cupswrapperhl2040_1.0.0-1_i386.deb
Selecting previously deselected package cupswrapperhl2040.
(Reading database ... 82093 files and directories currently installed.)
Unpacking cupswrapperhl2040 (from .../cupswrapperhl2040_1.0.0-1_i386.deb) ...
Setting up cupswrapperhl2040 (1.0.0-1) ...
rm -f /usr/lib/cups/filter/brlpdwrapperHL2040
* Restarting Common Unix Printing System: cupsd [ ok ]
lpadmin: Unable to connect to server: Connection refused
What's happening with this Unable to connect to server stuff? Everything worked well up until then. I've tried restarting the printer, and trying running the command again (which didn't work well). Nothing has appeared in the System, Administration,Printers window.
WAIT! STOP THE PRESSES! While typing this message, perhaps 10 minutes since what I described above happened, things suddenly started working. I went into System, Administration, Printers to check something, cycled the power again on the printer, and WHAMO! The printer now appears there! Whats more, it works pretty well too.
You've just made my ubuntu weekend. Thanks. I wonder what made it take so long. Whatever it is, the advice is to wait a seriously long time!
(Now, onto investigate why KMyMoney imports my old Quicken file and shows I've got $334,000 in my checking account...)
BobSongs
May 30th, 2006, 12:01 AM
I'm following your tutorial (thanks!) for a Brother HL-2040, directly connected to a ubuntu 5.10 PC via USB. All was sailing smoothly until step four.
...
WAIT! STOP THE PRESSES! While typing this message, perhaps 10 minutes since what I described above happened, things suddenly started working. I went into System, Administration, Printers to check something, cycled the power again on the printer, and WHAMO! The printer now appears there! Whats more, it works pretty well too.
You've just made my ubuntu weekend. Thanks. I wonder what made it take so long. Whatever it is, the advice is to wait a seriously long time!Well, you've found it. I think patience is the most important part of working with a Brother device. You waited and boom: it worked.
My own script for the MFC-210C only works correctly if the printer is turned off, on, off, on at the right times.
I'm pleased that the tutorial has proven helpful. Brother's drivers for Debian work fairly well in Ubuntu, just a minor modification here and there and we're printing.
timsch75
May 30th, 2006, 07:43 PM
I used this tutorial to install my DCP110C with Breezy with immediate success. I upgraded to Dapper this weekend and the printer would no longer work. I've reinstalled with the same directions assuming I'd have to tweak based on error messages, but I didn't get any.
EDIT
tim@ubuntu:~/printer/dcp110c$ sudo dpkg -i dcp110clpr-1.0.2-1.i386.deb
(Reading database ... 106367 files and directories currently installed.)
Preparing to replace dcp110clpr 1.0.2-1 (using dcp110clpr-1.0.2-1.i386.deb) ...
Unpacking replacement dcp110clpr ...
Setting up dcp110clpr (1.0.2-1) ...
ln: creating symbolic link `/usr/lib/libbrcompij2.so.1.0' to `/usr/lib/libbrcompij2.so.1.0.2': File exists
ln: creating symbolic link `/usr/lib/libbrcompij2.so.1' to `/usr/lib/libbrcompij2.so.1.0.2': File exists
ln: creating symbolic link `/usr/lib/libbrcompij2.so' to `/usr/lib/libbrcompij2.so.1.0.2': File exists
tim@ubuntu:~/printer/dcp110c$ sudo dpkg -i cupswrapperdcp110c_1.0.0-1_i386.deb
(Reading database ... 106367 files and directories currently installed.)
Preparing to replace cupswrapperdcp110c 1.0.0-1 (using cupswrapperdcp110c_1.0.0-1_i386.deb) ...
lpadmin: The printer or class was not found. [THIS LINE WAS NOT INCLUDED IN A RUN I DID JUST BEFORE. THE PRINTER WAS PROBABLY OFF WHEN i RAN THE LINE AS THE DIRECTIONS SAY]
* Restarting Common Unix Printing System: cupsd [ ok ]
Unpacking replacement cupswrapperdcp110c ...
Setting up cupswrapperdcp110c (1.0.0-1) ...
rm -f /usr/lib/cups/filter/brlpdwrapperDCP110C
* Restarting Common Unix Printing System: cupsd
The printer is recognized under SYSTEM>ADMIN.>PRINT and when I send a test page nothing happens. The printer icon changes from "printing" to "paused". The output of dmesg is:
*
[4392132.204000] usb 3-2.4: new full speed USB device using ehci_hcd and address 5
[4392132.254000] scsi1 : SCSI emulation for USB Mass Storage devices
[4392132.254000] usb-storage: device found at 5
[4392132.254000] usb-storage: waiting for device to settle before scanning
[4392137.264000] Vendor: Brother Model: DCP-110C Rev: 1.00
[4392137.264000] Type: Direct-Access ANSI SCSI revision: 02
[4392137.265000] usb-storage: device scan complete
[4392191.454000] ppdev0: registered pardevice
[4392191.496000] ppdev0: unregistered pardevice
[4392191.496000] ppdev1: claim the port first
[4392191.496000] ppdev2: claim the port first
[4392196.259000] ppdev0: registered pardevice
[4392196.349000] ppdev0: unregistered pardevice
[4392196.349000] ppdev1: claim the port first
[4392196.349000] ppdev2: claim the port first
[4392322.601000] ppdev0: registered pardevice
[4392322.642000] ppdev0: unregistered pardevice
[4392322.662000] ppdev1: claim the port first
[4392322.662000] ppdev2: claim the port first
*
Any ideas would be greatly appreciated. Thanks
BobSongs
May 30th, 2006, 08:09 PM
A. Two failed attempts to upgrade my Breezy to Dapper have left me a "Breezy user" and not a "Dapper tester". Perhaps by the time I finally upgrade to Dapper there will be a superior tutorial created by someone else. Unless that happens my fellow forum friends will have to wait for a revised version of the tutorial.
B. The forum has expanded somewhat to include, indirectly, other Brother products. Since I'm only a home user and I don't have a laboratory of MFCs with a variety of different systems to test them on you're very much at the mercy of the little I've gleaned from my experience with the inexpensive MFC-210C on a 32-Bit PC running Breezy Badger.
Since I've not been invited to work for printer development (I'd gladly join the payroll!) you're stuck having to get help from the Dapper Drake development team. Now you may wish to ensure you've got the latest drivers from Brother. Perhaps re-installing them and carefully determining what goes wrong. The command line will show you this. If working with the command line is not something you consider fun then you may have to wait for other assistance.
BobSongs
May 30th, 2006, 08:21 PM
tim@ubuntu:~/printer/dcp110c$ sudo dpkg -i cupswrapperdcp110c_1.0.0-1_i386.deb
(Reading database ... 106367 files and directories currently installed.)
Preparing to replace cupswrapperdcp110c 1.0.0-1 (using cupswrapperdcp110c_1.0.0-1_i386.deb) ...
lpadmin: The printer or class was not found. [THIS LINE WAS NOT INCLUDED IN A RUN I DID JUST BEFORE. THE PRINTER WAS PROBABLY OFF WHEN i RAN THE LINE AS THE DIRECTIONS SAY]
* Restarting Common Unix Printing System: cupsd [ ok ]
Unpacking replacement cupswrapperdcp110c ...
Setting up cupswrapperdcp110c (1.0.0-1) ...
rm -f /usr/lib/cups/filter/brlpdwrapperDCP110C
* Restarting Common Unix Printing System: cupsd [/I]
The printer is recognized under SYSTEM>ADMIN.>PRINT and when I send a test page nothing happens. The printer icon changes from "printing" to "paused". The output of dmesg is:
Just to let you know. My tutorial requires the printer be off during this phase of the installation. So I doubt this is the problem.
Have you verified if Dapper Drake has added your Brother printer in its list of native printers?
timsch75
May 31st, 2006, 12:06 PM
I've not seen the list of Dapper's native printers....
The command line is fine. However, I just downloaded and installed the .deb files about a month ago at most, so those should be current. It looks like i'm just in the same ol' boat as most other Dapper dudes. If it weren't going to be such a hassle, I'd go back to Breezy....
BobSongs
May 31st, 2006, 10:31 PM
Keep an eye on the Dapper threads. If many things appear broken it might be a good idea to dig in for a while and let the cutting-edge folks work out the bugs. I'm all for helping but my problem is the need for a PC that's ready to work for the family. I've got that with Breezy. It'll be available in Dapper. I just can't tell when.
nixt
June 1st, 2006, 11:56 PM
I concur with timsch75's findings - a fresh dapper install, followed instructions to the letter and got the exact same error messages. DCP115C here.
EDIT: I actually got my printer to work with dapper! No debs to install too. Just go through the normal Add Printer process, it will detect your attached printer automatically (switch it on before you start the wizard), press Next and select MFC210C... and print a test page. I was quite surprised when the page printed.
EDIT: Not true!! Read on the next few replies..
BobSongs
June 2nd, 2006, 12:10 AM
Welcome to the forum, nixt. Thanks for the heads up.
I recall a post in this thread by Lunixfanboy saying he upgraded to Drake and had a bit of trouble with the scanner part of the MFC-210C. He installed the latest driver and it fixed things for him. My point is: the printer drivers worked for him. There was no mention of any modification of that part of the set up.
So I'm just wondering what the problem might be. Would you be so kind as to run through the process again and copy/paste the system's reponses. This will help a great deal towards getting some kind of answer.
Thanks.
nixt
June 2nd, 2006, 01:48 AM
Thanks BobSongs.. I'm certainly digging harder at this issue at the moment.
I kinda jumped the gun earlier when I declared that my DCP115C worked out of the box with dapper. ](*,) Sorry!
I tried to confirm my findings and purged the debs I installed earlier (dpkg --purge) while following the tutorial.
I deleted the printer entry and started from the Add Printer (System->Adminstration->Printing->New Printer) part again. The printer detected fine, but at the second dialog box where you had to select a compatible printer (we're looking for MFC-210C here), I couldn't find the listing anymore!
Now if we followed the tutorial step by step, we'll get a printer entry created for us, without having to go through the Add Printer dialog.
Our friend timsch75 mentioned earlier that he tried to print a test page through this printer entry and failed.
I found out that this works (at least for me):
1. Install the debs
2. Delete the newly created printer entry (important!)
3. Add a new printer using the New Printer dialog, and select MFC-210C when asked
4. Print a test page.
I need a real nap now, will be back later. Scanning doesn't work for me right now by the way...
sab_nico17
June 4th, 2006, 03:36 AM
I just switched from MS Windows to Linux... I followed the HowTo for my DCP-110C. The driver is installed, but my prints stay in "pause". Does anyone have a solution for this problem ?
Thanks.
BobSongs
June 4th, 2006, 06:53 AM
You've tried restarting the printer and you're still getting the pause thing?
BobSongs
June 4th, 2006, 07:21 AM
...Scanning doesn't work for me right now by the way...
Lunixfanboy mentions in post 115 (http://www.ubuntuforums.org/showpost.php?p=1002409&postcount=115) that the tutorial fails when it comes to the scanner in Dapper Drake:
As an aside to the howto, Dapper does NOT have hotplug, so editing the libsane.usermap will not be an option. However, getting brscan2-0.2.0-i386.deb and using that in Dapper has made the scanner functional again. I apt-get dist-upgraded from Breezy to Dapper when Flight 7 was announced, and immediately lost access to the scanner function. I just checked with Brother, and they have a newer release for those with kernel >= 2.6.13 which remedied the problem.
I believe this is the link (http://solutions.brother.com/linux/sol/printer/linux/sane_drivers.html) to the list of more recent scanner drivers by Brother.
Hope that gets your scanner up and running again. :-D
musther
June 13th, 2006, 12:02 AM
If you're trying to set up a DCP-115C you'll have a problem when you try to install the scanner (at least I did on Dapper). You should find that when you load xsane you get an error:
Failed to open device 'brother2:bus3;dev1':
Error during device I/O.
If you try running xsane as root:
sudo xsane
it will work (after you click continue on the message about it being unsafe).
If you've got to this point and are not happy with scanning as root (you shouldn't be), then you need to do what this message from Brother told me to do.
Dear Sir/Madam
This is the Japanese Solutions Center.
Thank you for your inquiry.
The current driver works with only a root user.
However for Ubuntu, the following solution could be a help.
Would you try this?
1.Create the file "10-local.rules" under the directory:
"/etc/udev/rules.d/"
which includes the following content:
===========
SUBSYSTEM!="usb_device", ACTION!="add", GOTO="_end"
# For brother
SYSFS{idVendor}=="04f9", MODE="666", GROUP="scanner"
LABEL="_end"
===========
2.Restart the OS.
Best regards,
Brother Solutions Center
All should now be working.
Enjoy!
d3dtn01
June 14th, 2006, 10:57 PM
Hi. When I first got my MFC210c, I was running Breezy. The directions in the howto worked great (thanks!). About 4 weeks ago I upgraded to Dapper. Now the printer won't work. It's still listed as being there, but whenever I try to print, it does nothing. When I open the printer queue, the state is "Pending: printer-stopped."
Does dapper require another step to get the thing working?
Thanks.
BobSongs
June 14th, 2006, 11:44 PM
Dear sir;
While I devoted time and effort in developing a thorough walk-through for the MFC210C in Breezy Badger, the attention given this project resulted in my neglecting to harvest heat-sink lint which was considerable once this task was addressed. An unfortunate side-effect with the carmelization of my motherboard, due to its inability to dissipate heat as designed... the net result is an eBay entry for one case, a video card, ... well, you get idea.
No burial of the ashes will be necessary as cannibalization has already begun. :-({|= :-({|= :-({|=
In other words... the PC that ran my printer is dead. So, until such time as a new machine is acquired ... I will be unable to address your query.
Regrets... and most terribly sorry.
BobSongs
June 15th, 2006, 04:12 AM
:: PUBLIC NOTICE ::
Apologies to all for the delay. With the demise of my PC and my reluctance to switch my O/S over to Dapper things have been a bit hairy, to say the least.
However, I have just moved my 2nd PC over to the station where my 1st PC once sat. Now I'm running Dapper Drake version 6.06 and I've got it attached to my Brother MFC210C. Here are the results so far.
The installation of the drivers has proven successful. No hitch. The test page printed correctly.
Please note: this is not an upgrade. I repeat: this is not an upgrade. Ubuntu GNU/Linux 6.06 LTS on this system was a clean install. For those who are experiencing technical difficulties due to their systems being upgraded from Breezy Badger (5.10) it may be best to remove the drivers and restart the driver install.
Edit: The tutorial has been updated. It now contains modifications for Dapper Drake changes. It will probably need a bit of cleaning up to make it look prettier. But it is now fairly accurate for both Breezy and Dapper.
Edit 2: The tutorial has been trimmed a bit (explanations removed) and it looks dapper with formatting changes. The Dapper Drake version of the installer script is also available. Hope its useful.
Mr.Mechano
June 19th, 2006, 09:23 AM
Hi there!
Installing the new Dapper 6.06 my MFC-425CN (that use the MFC-210C driver) started to print in reverse order from last to first page on mutiple pages documents.
I wrote to Brother service and after 4 days I received the response from Japan.
Now the printer works correctly.
Dear Sir/Madam,
We could make this issue happen at our side too.
The "reverse order print" you said is actually correct
due to its original specification of the CUPS.
The CUPS you had been using so far was not supporting it.
If you want to change it, please do the following.
1.Open the file MFC210C.ppd which is located under the directory
"/etc/cups/ppd/".
2.Delete the line "*DefaultOutputOrder: Reverse".
Best regards,
Brother Solutions Center
BobSongs
June 19th, 2006, 11:06 AM
Thanks, Mr.Mechano! I examined this file on my PC: /etc/cups/ppd/MFC210C.ppd and it says the same thing: reverse order. But it seems to print normally; however, I'll be more attentive next time I print two or more pages.
Users: take note on how to change it. (I may just pop that in the tutorial!)
vincedesalpages
June 21st, 2006, 03:47 AM
Hi there,
One question concerning installation of MFC-5440CN as a scanner (fax and printer are ok).
On step 3: "Modify the /etc/fstab file"
I am in that case:
"-For Kernel 2.6.* version of distribution Users:
$ echo 'none /proc/bus/usb usbfs auto,devmode=0666 0 0' >> /etc/fstab "
Here is what is written and get back in the terminal:
vincent-bertin@ubuntuvb:/$ sudo -i
Password:
root@ubuntuvb:~# echo 'none /proc/bus/usb usbfs auto,devmode=0666 0 0' >> /etc/fstab
root@ubuntuvb:~#
root@ubuntuvb:~# echo 'none /proc/bus/usb usbfs auto,devmode=0666 0 0' >> /etc/fstab
root@ubuntuvb:~# umount /proc/bus/usb
umount: /proc/bus/usb: not mounted
root@ubuntuvb:~# mount /proc/bus/usb
root@ubuntuvb:~# mknod -m 666 /dev/usbscanner c 180 48
mknod: `/dev/usbscanner': File exists
root@ubuntuvb:~#
Then, when I use Xsane Image Scanner, this message is displayed: "Failed to open device "brother2:bus2;dev1": Error during device I/O"
What did I do wrong and how can I correct it?
Thank for your support.
Vincent
A "how to" for the Brother MFC210C printer.
Now includes instructions for both Dapper Drake (6.06) and Breezy Badger (5.10).
IntroductionFollow this step-by-step guide to get this low-cost Multi Function Centre working.
Do you have another Brother product? Don't give up hope. Some have reported success having followed this tutorial.
Note: This tutorial assumes:
Device: Brother MFC210C
Connection: USB direct from PC to MFC
System: 32-bit Intel/AMD
Operating System: GNU/Linux UbuntuWhoa! Can’t I skip this tutorial? It looks kinda… long.Would you rather use a script to setup your MFC-210C? Do you feel you don't learn anything from tutorials except that it takes too long to get anything done? Well this script's for you! CLICK HERE (http://www.ubuntuforums.org/showpost.php?p=1024581&postcount=129) to get downloading.Preliminary procedures
:: Please ensure the MFC is OFF ::
Create a folder on the desktop and name it mfc210c:
Right-click the desktop and click Create Folder in the context menu
Name it mfc210c (in lower case, this is important)Step 1: Download from Brother
For the MFC210C, click each of the following links. Click I Accept when the browser loads the page:
[The CUPS wrapper (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrappermfc210c_1.0.0-1_i386.deb&lang=English_cups)]
[The LPR Driver (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_debian/mfc210clpr-1.0.2-1.i386.deb&lang=English_lpr)]
Note: The browser may ask to open or download the file. Don't open it. Download and save/move it in the mfc210c folder on the desktop. If the browser doesn't ask then it has likely been dropped on your desktop. Drag it to the mfc210c folder.For other Brother machines: Please make sure the appropriate drivers are downloaded. Check the Brother website for the LPR Drivers (http://solutions.brother.com/linux/sol/printer/linux/lpr_drivers.html#de) and for the CUPS Wrapper (http://solutions.brother.com/linux/sol/printer/linux/cups_drivers.html#de).
Step 2: Install the C Shell
For the setup to work in Ubuntu the C shell is required. To install it we will need the help of the Terminal. From the menu bar above:Applications → Accessories → TerminalEnter the following (or copy [Ctrl+C] the following command, paste it [Ctrl+Shift+V]) into the Terminal:
sudo apt-get install csh
and hit Enter.
This command will require the system password. Do not close the Terminal at this point.Important: if the csh (C shell) did not install extra repositories, sources for new programs, must be added.Dapper Drake users [click here (http://easylinux.info/wiki/Ubuntu_dapper#How_to_add_extra_repositories)].
Breezy Badger users [click here (http://easylinux.info/wiki/Ubuntu#How_to_add_extra_repositories)].
Step 3: LPR Driver InstallNote: the LPR driver setup fails to create the appropriate folders in Ubuntu's file structure. The first two commands below correct this. To set up a Brother printer other than the MFC210C using these drivers -- change the second command below with the appropriate printer name. The capital letters used in the 2nd command are deliberate (remember: GNU/Linux's file structure is case sensitive).sudo mkdir /var/spool/lpd
sudo mkdir /var/spool/lpd/MFC210C (replace with your printer name)
sudo dpkg -i ~/Desktop/mfc210c/mfc210clpr-1.0.2-1.i386.debNote: Please ensure both downloaded files are in the mfc210c folder on the desktop. The last command above will fail otherwise if copied and pasted as is. More experienced users know how to use dpkg.
Step 4: Install the CUPS WrapperNote: this is another departure from the Brother setup instructions. Ubuntu has 'cupsys' instead of 'cups'. The first line corrects this difference by creating a necessary symbolic link.Enter the following commands into the Terminal:
sudo ln -s /etc/init.d/cupsys /etc/init.d/cups
sudo dpkg -i ~/Desktop/mfc210c/cupswrappermfc210c_1.0.0-1_i386.deb
Finalization
:: Turn the MFC ON ::
Open the printer panel to ensure the MFC210C is installed.System → Administration → PrintingRight-click the MFC120C and click “Properties”.
Print a test page from the General tab.
Click the Paper tab and adjust the paper size accordingly, possibly replacing A4 with Letter.
Review the choices under the Advanced tab and make adjustments.
Fax PrintingTo print using the fax aspect of the MFC the special drivers must be downloaded and installed. This tutorial assumes the mfc210c folder is still on the desktop.
Step 1: Download from Brother
For the MFC210C, click each of the following links. Click I Accept when the browser loads the page:
[The Fax CUPS wrapper (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/faxshare/brmfcfaxcups-1.0.0-1.i386.deb&lang=English_gpl)]
[The Fax LPR Driver (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/faxshare/brmfcfaxlpd-1.0.0-1.i386.deb&lang=English_lpr)]
Simply install each one through the Terminal:
sudo dpkg -i ~/Desktop/mfc210c/brmfcfaxcups-1.0.0-1.i386.deb
sudo dpkg -i ~/Desktop/mfc210c/brmfcfaxlpd-1.0.0-1.i386.deb
Open the printer panel to ensure the MFC210C fax driver is installed.System → Administration → PrintingRight-click the BRFAX and click “Properties”.NOTE: The above is based on the Brother website's instructions. If you have had success in fax printing after following the steps outlined above, please notify me. Once I get confirmation I'll remove this paragraph. Until then kindly consider this section "experimental".
Scanner SetupCourtesy of Lunixfanboy the second part of the tutorial is now added: the scanner setup.Preliminary procedures
:: Please ensure the MFC is OFF ::
Step 1: Download from Brother
For the MFC210C, click the following link. Click I Accept when the browser loads the page:For Dapper Drake (6.06): [Sane Scanner Backend (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/sane_debian/brscan2-0.2.1-0.i386.deb&lang=English_sane)]
For Breezy Badger (5.10): [Sane Scanner Backend (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/sane_debian/brscan2-0.0.2-1.i386.deb&lang=English_sane)]
For other Brother machines: Please make sure the appropriate drivers are downloaded. Check the Brother website for the Scanner Backend (http://solutions.brother.com/linux/sol/printer/linux/sane_drivers.html).
Save the file, for the sake of consistency, to the mfc210c folder on the desktop. If the terminal is closed, please open it again:Applications → Accessories → TerminalFor Dapper Drake (6.06):
sudo dpkg -i ~/Desktop/mfc210c/brscan2-0.2.1-0.i386.debDapper Drake users: proceed to Step 3 below. The scanner should be installed. No need to do anything further.For Breezy Badger (5.10):
sudo dpkg -i ~/Desktop/mfc210c/brscan2-0.0.2-1.i386.deb
Step 2: Modifying the ‘libsane.usermap’ file
For Breezy Badger (5.10):
Copy and paste the following code into the terminal:
sudo gedit /etc/hotplug/usb/libsane.usermap
When gedit appears activate the search feature:
Search → Find... Enter this text in the Search box:
This will be followed by a line which reads
followed by more hexadecimal values. We are only interested in the third one (the one right after the 0x04f9). Change 0x010f to read 0x0161.
Save and exit gedit.
Step 3: Installing XSane
To use the scanner requires that Ubuntu's scanner software be installed. Copy the following code into the Terminal:
sudo apt-get install sane xsane
Finalizing The Setup
:: Turn the MFC ON ::
For Breezy Badger (5.10)
Copy the following code into the Terminal
sane-find-scanner | grep usb
It should report
(the values after libusb might be different, depending upon where the scanner is connected in the USB chain.)
For both Dapper Drake (6.06) and Breezy Badger (5.10)
Verify the install with XSaneApplications → Graphics → XSane Image Scanning Program
Setup Complete
Move the setup folder from your desktop to the trash if you so desire, or to some other location in the file system.
Network InstallationPlease note: Contributions to help with network setups are detailed below. I do not have the MFC as an independant part of the network so I cannot test the following instructions. However these links are offered in hope of problem-free configuration.ubu69 has had success with a network setup. He's using a Debian system and believes this should prove helpful [click here (http://www.ubuntuforums.org/showpost.php?p=644004&postcount=21)].
shawndoggie notes success with the MFC attached to an XP box [click here (http://www.ubuntuforums.org/showpost.php?p=719307&postcount=40)].
stalefries has put together a nicely detailed howto in this thread. Network scanning! I just love the layout. [click here (http://www.ubuntuforums.org/showpost.php?p=935120&postcount=83)]
Other Brother ProductsPlease note: If you have a different Brother product don't go away dejected. There may be hope. Here's a list of some related success stories. With a bit of tweaking it seems this tutorial has proven helpful.Gray. notes success with the MFC-620CN [click here (http://ubuntuforums.org/showpost.php?p=629121&postcount=19)]
ubu69 notes success with the MFC-420CN in Debian [click here (http://ubuntuforums.org/showpost.php?p=644004&postcount=21)]
crhooker notes success with the MFC-3220C [click here (http://ubuntuforums.org/showpost.php?p=686523&postcount=32)]
shawndoggy notes success with the MFC-5440CN [click here (http://ubuntuforums.org/showpost.php?p=719307&postcount=40)]
thedavis notes success with the DCP-115C [click here (http://ubuntuforums.org/showpost.php?p=761313&postcount=47)]
Mack1 notes success with the MFC-425CN [click here (http://ubuntuforums.org/showpost.php?p=772013&postcount=52)]
bigken notes success with the MFC-3820CN [click here (http://ubuntuforums.org/showpost.php?p=778035&postcount=56)]
Bucanero notes success with the MFC-5440N [click here (http://ubuntuforums.org/showpost.php?p=904967&postcount=73)]
Jasman and Boelcke both note success with the Brother HL-2040
[click here (http://www.ubuntuforums.org/showpost.php?p=1054771&postcount=131)] and [click here (http://www.ubuntuforums.org/showpost.php?p=1066795&postcount=133)]
Other distros:
bigken notes success on Dapper Drake (testing) and SuSE 10.0 [click here (http://ubuntuforums.org/showpost.php?p=935744&postcount=85)]
woot notes success on Dapper Drake (final) with the MFC9180 using a slight modification of the setup process
[click here (http://www.ubuntuforums.org/showpost.php?p=1008624&postcount=119)]
Linux Gurus
This tutorial was designed for new GNU/Linux users, who've recently switched from Windows. I make no apologies for that. There's nothing like a patient tutorial to help a reluctant new user to factor in the helpfulness of the Ubuntu forums as a reason to stick with this distro. If the tutorial seems too long please download the script listed at the top of the tutorial. Comments on its effectiveness are welcome. Thanks.
_________________________
If you encounter an error in these instructions or added several steps to make it more complete, please post your findings/additions and appropriate modifications will be made. The above tutorial was designed for Ubuntu/Edubuntu and may not work with other Ubuntu-based releases. Feel free to request an explanation of the above procedures. The steps outlined above are modified from those offered at the Brother website in order to accomodate the differences between Ubuntu and a pure Debian system.
Brother® is a registered trademark.
(This HOWTO comes with absolutely no warranty, to the extent permitted by applicable law. However, the author will return on a regular basis to ensure the Brother files are still available and up-to-date and that the tutorial looks prettier and prettier.)
BobSongs
June 21st, 2006, 06:01 PM
Greetings, vincedesalpages.
Could I ask you for a favour? Would you kindly edit your post and remove the quoted text? It's a very long tutorial and it makes reading through the various posts much better without it, okay? Cool.
Now, did you turn off your printer and turn it back on? It seems to be fairly imporant that you go through the procedure as described. And this is a step often skipped by new users.
Oh, and are you using Dapper Drake? Or Breezy Badger. If you're using Drake you should be skipping about half the scanner section.
holycow32432
June 22nd, 2006, 12:41 AM
guys, for the 420cn, don't forget that udev has no rules for setting up a device node for the scanner.
udev sees it but doesn't know what to do with it.
make sure to follow these instructions to create the proper udev rule for ubuntu for the 420cn and you will have scanning capability.
http://solutions.brother.com/linux/sol/printer/linux/linux_faq.html
dgoran
June 23rd, 2006, 04:32 PM
Ok MFC420CN networked (router) sucessfully installed following mixture of post #1 and comon sense :). If anyone needs how to let me know.
-G
vincedesalpages
June 26th, 2006, 03:19 AM
Hi there,
Concerning Scanning installation step with a MFC 5440CN, the error message is displayed when lauching XScan: "Failed to open device "brother2:bus;dev1': Error during device I/O".
FYI, Fax and Printer have been succesfully installed.
Thanks for the tutorial. Any help would he appreciated.
Cheers,
Vincent
BobSongs
June 26th, 2006, 03:21 AM
When it comes to the Scanning section it's important that you include the version of Ubuntu you're using (Dapper Drake - 6.06 or Breezy Badger - 5.10).
Thanks.
d351GuJu
June 28th, 2006, 05:21 PM
I would like to thank you for making the script available for quick installation.
Although, the installation was fairly easy using the script, I did ran into a problem printing a test page. Here are the specs:
Printer: MFC-210C
Distro: Kubuntu Dapper 6.06
Interface: USB
Exp. Using the printer: 1 day (just received it!) :D
For those who have problems printing after the installation of the script and ran into a printer pausing/stopping itself after a few seconds, make sure that in System Settings > Printers, the MFC210C listed printer is using proper USB interface.
Here's what I did to correct that issue:
After selecting the printer, click on Properties Tab and go to Interface then select Change..., make sure Local printer is selected (for USB interface), and click Next. After that make sure to select "Brother MFC-210C" under USB category, and then start the printer.
Now your printer should work! :D ;)
BobSongs
June 29th, 2006, 02:02 AM
Greetings, d351GuJu, and welcome.
I've just uploaded the installer script for Dapper Drake. Hope you find it more effective than using the Breezy version.
Enjoy. Comments welcome.
umuro
July 2nd, 2006, 07:26 PM
MFC7820N works with a few additional steps:
http://www.ubuntuforums.org/showthread.php?p=1206934#post1206934
bela42
July 3rd, 2006, 06:09 AM
Hi all,
I have currently setup my MFC as a network printer and network scanner following this tutorial and using the brother drivers.
This solved occasional postscript errors and a general "pages get cut at the top" when using the MFC as network printer with, for instance a HP PostScript "driver" (aka ppd).
But now I experience an ominous "pages get cut at the bottom" issue when printing from OOo (, which worked well using a "compatible" ppd as described above!). All pages are generally shifted down by at leas 1/2 of an inch and the OOo printer settings only offers "letter" page size although I'm using A4 and am able to select this in Gnome printing properties OK.
So, of course I could just use a different "driver" to print from OOo, but, honestly, I can't understand what the problem is and that's driving me nuts!
Anyone?
Thanks,
Bernd.
licklick
July 11th, 2006, 09:25 PM
hello fairly new to unbuntu i have 2 desktops running ubuntu dapper and a notebook running xp all wireless,a wireless dlink router/print server and a mfc210c connected to wireless router. i followed the instruction posted here to install the mfc210c drivers.I change the connection properties to unix printer(lpd)host was 192.168.0.1 which is router address(could very depending on router) and Queue to lp1 everything works fine all computers can access and printer, this might help somebody
BobSongs
July 11th, 2006, 09:37 PM
Well, we're glad these instructions have garnered success. I'm sure others will be helped by your resources.
The success of this forum is based on respect and mutual assistance. So I hope that many other threads will prove as or more useful!
Happy surfing.
TheRabbit777
July 18th, 2006, 11:49 AM
I have managed to get to step 2 and then things get hung up with errors
I enter the command in a terminal window "sudo apt-get install csh"
The end result I get is
Errors were encountered while processing:
emacs21
cedet-common
eieio
speedbar
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any suggestions as to how I can fix this
BobSongs
July 19th, 2006, 12:19 AM
I have managed to get to step 2 and then things get hung up with errors
I enter the command in a terminal window "sudo apt-get install csh"
The end result I get is
Errors were encountered while processing:
emacs21
cedet-common
eieio
speedbar
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any suggestions as to how I can fix thisOkay.
1. Are you using Ubuntu Linux, or some other version (Examples: Debian, SuSE)?
2. Are you using Dapper Drake, or some other version?
3. Have you changed your repositories or are they the original ones?
4. What model of Brother printer are you using?
5. Have you read through all the posts in this thread to see if someone might have an answer?
6. Do you have any broken packages on your system?
This appears to be a repository problem. But with so few details I can only hazard a guess.
Try repairing any broken packages in your system.
o System > Administration > Synaptic Package Manager
o Edit > Fix Broken Packages
Here are links to broaden your list of repositories, that is: sources where your system can retrieve and install software.
o How to add extra repositories (http://easylinux.info/wiki/Ubuntu_dapper#How_to_add_extra_repositories)
o Adding Other Repositories (https://help.ubuntu.com/community/Repositories/Ubuntu)
Matchless
August 5th, 2006, 06:24 AM
Bobsongs,
Please forgive, but during my browsing to get my brother MFC-215c printer to work, I used your excellent howto and also a few hints and tips picked up on other forums and posts. In the process I really mangled your howto and rewrote it to focus on dapper kubuntu. If it is any use to you or anyone here it is:
Howto:Printer Brother MFC215C Install on Kubuntu Dapper.
Download the following files from the Brother Website (http://solutions.brother.com/linux/en_us/), CUPSwrapper (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrappermfc210c_1.0.0-1_i386.deb&lang=English_cups) , LPRdriver (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_debian/mfc210clpr-1.0.2-1.i386.deb&lang=English_lpr) , Fax CUPSwrapper (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/faxshare/brmfcfaxcups-1.0.0-1.i386.deb&lang=English_gpl) , Fax LPRdriver (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/faxshare/brmfcfaxlpd-1.0.0-1.i386.deb&lang=English_lpr) and the Sane Scanner backend
(http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/sane_debian/brscan2-0.2.1-0.i386.deb&lang=English_sane)
Note that some printer driver files for the MFC-215c are not yet ready and Brother suggests that the files for the MFC-210C are used used in the meantime. The direct links are for the latest at time of writing, so check the website for any updates and use those if available.
There are some preparations required, such as installing C Shell, Sane, (and Xsane if you use Ubuntu, Kubuntu uses Kooka) Some folder corrections needed to be done as the .deb files from the Brother site are for debian and was not compiled specifically for Kubuntu Dapper.
You can install the .deb files in many ways, dpkg -i, local repository or CD via Synaptic. I have used the Kubuntu shortcut from the gui to keep the instructions short and clear. You can also use krusader or konqueror for creating and moving files in root mode etc.
Preparations
Create a folder on the desktop, called “brother”, and put all downloaded files in that folder.
Use Synaptic to install csh (C Shell) and sane from the repositories
Create a new directory in /var/spool/lpd (Dapper needs lpd directory which is not present)
sudo ln -s /etc/init.d/cupsys /etc/init.d/cups (Dapper uses cups and file wants cupsys - link)
Install the printer drivers: (Works + tested)
NB: Ensure printer is switched off
Right click on the mfc210clpr-1.0.2-1.i386.deb file and select Kubuntu Package Menu, Install Package
Right click on the cupswrappermfc210c_1.0.0-1_i386.deb file and select Kubuntu Package Menu, Install Package
Switch the printer back on
In the menu go to System Settings, Printers
If the printer is connected to the same PC then the driver has already been installed and selected
Right-click the MFC210C and click “Test Printer”. See if test page is received
If the printer is shared, say with another PC using Windows XP, Add printer, SMB shared printer and follow the screen instructions. Samba must be installed. It works well sharing with Windows.
Camera media card reading;
You can just insert the media card and it will appear as a usb flash disk on Kubuntu and just copy, read or whatever from and to it. Just do not change the special file structure that your camera created as it may make the card unusable in your camera.
Fax Printing (Not been able to get this to work yet)
To allow fax working special drivers must be downloaded and installed.
Install both in this sequence:
NB: Ensure printer is switched off
The order of installing the two drives is important, first lpd, then cups.
Right click on the brmfcfaxlpd-1.0.0-1.i386.deb file and select Kubuntu Package Menu, Install Package
Right click on the brmfcfaxcups-1.0.0-1.i386.deb file and select Kubuntu Package Menu, Install Package
Switch the printer back on
In the menu go to System Settings, Printer
Right-click the BRFAX and the fax printer is there but now no faxing from the PC works as per the Brother website.
Scanner Installation: (works and tested)
Ensure you have already installed sane as per the beginning of this howto.
You must additionally install a special driver which is the Brother backend for sane scanner which is used by Kooka (Kubuntu).
Ensure that printer is switched off
Right click on the brscan2-0.2.1-0.i386.deb file and select Kubuntu Package Menu, Install Package
Switch the printer on
Run Kooka in root (kdesu kooka) to check if the installation works (or Xsane if using Ubuntu)
The reason for this is that the scanner MFC-215C is quite new and not yet present in the config files and you can just add these two lines. To fix this go to /etc/udev/rules.d/45-libsane.rules and find the 2 lines starting with #Brother MFC-210C , copy these lines below and change the model number to 215 and the product id to 0193 and reboot. Kooka should now run as ordinary user from the menu. This probably is more dapper related. And lsusb in the terminal can give you the scanner details as well
# Brother|MFC 210C
SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="0161", MODE="664", GROUP="scanner"
# Brother|MFC 215C
SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="0193", MODE="664", GROUP="scanner"
Network Installation (printer own IP) (Not tested yet)
This is how to get the printer to just be on the network (not attached to a print server). This will only work with models that have a built-in ethernet port. (MFC-425CN). The model MFC-215C will have to have an external network driver module (jetdirect) attached. Otherwise it will have to use another PC as a print server.
You need to know the IP address of the printer. The printer can tell you this (check out the instruction booklet as the command combinations may be different for different models.)
Open your browser to CUPS by entering http://localhost:631/. Click "Manage Printers."
If everything went well, you should see your printer in the list.
Select "Modify Printer." The important step is to select the device for the printer. Choose "LPD/LPR Host or Printer."
Enter lpd://xxx.xxx.xxx.xxx in the window (where the xxx's are the printer's IP address).
Send it a test page. You can configure paper size from CUPS (it seems to default to A4).
From here you can also set your print manager to use CUPS if you so desire and it will also print on the network.
Printer sharing on PC in home network: (works & tested Kubuntu to XP only)
First example Printer installed directly to a Windows XP PC and shared with a Kubuntu PC over the network. This means drivers for the MFC-215C must be installed on both PC's, XP and Kubuntu.
Enable the Printer sharing in Windows and give the printer an unique share name i.e Brotherxp
Now in Kubuntu go to Menu System Settings, Printers, Add printer, Add printer wizard opens and you need to complete this. Next, enter nothing here(security), next and click Scan.
If you PC can see the Windows PC it will show the workgroup name and the PC name. Enter these in Workgroup, Server and put the Printer share name you gave in XP in Printer, Next.
KDE will now build a database of drivers and you can select Brother, scroll down to MFC-210C (which you have installed in the first part) , Next, Test page and you are working.
Second example Printer is installed on the Kubuntu PC and tested. Now the same procedure is followed above from the second kubuntu PC. The PC is picked up on scan and the wizard is completed, but it does not print (This yet has to be sorted out)
Scanner over network (printer has own IP) (Not tested yet)
It is assumed that the scanner drivers and sane have been installed as shown at the beginning of this howto.
To use your machine as a network scanner, you need to set a friendly name, model name and IP address or node name for the driver:
using IP address:
brsaneconfig2 -a name=FRIENDLY-NAME model=MODEL-NAME ip=xx.xx.xx.xx
or
using node name
brsaneconfig2 -a name=FRIENDLY-NAME model=MODEL-NAME nodename=BRN_xxxxx
Example
brsaneconfig2 -a name=BROTHER-SCANNER model=MFC-215C nodename=BRN_XXXXX
You can check the result by running the command:
brsaneconfig2 -q
If the setting is done correctly, you will see the result as below:
0 BROTHER-SCANNER "MFC-215C" N:BRN_XXXXX
Now run Kooka ( Xsane if using Ubuntu)
And scan something, click Acquire Preview and hope it works...
Jeef
August 5th, 2006, 07:54 AM
BobSongs... =D>
You, my friend, are simply amazing! \\:D/
I have tried to get my MFC-5440CN printer working over the network for ages upon ages in numerous UNIX-esque operating systems (from FreeBSD to Debian to Ubuntu, now), using Brother's official drivers one way or another. I have gotten close (even going as far as to manually send PostScript files over JetDirect via telnet), in the past, but I have never actually had success. Today, after reading your guide, however, I finally figured out the two little details I had always missed: the C shell requirement (I should have vim'd the scripts, probably :)), and the lpd directory that had to be manually created. Now, thanks to your wonderful help, my networked MFC-5440CN now works flawlessly via JetDirect! Thank you!
I doubt I can get SANE working over the network (I have never used it, so I'm not sure of its limitations), but I will give it a shot tomorrow, perhaps, and report back with my findings. :)
BobSongs
August 6th, 2006, 12:13 AM
Bobsongs,
Please forgive...Forgive? My goodness! Thank-you very, very much for your addition. Perhaps I could post it to the front page? Of course, I will credit you for the hard work.
Your post is much appreciated. No need to ask forgiveness! You did good. =D> I will update my tutorial to accomodate Kubuntu.
Please note: this tutorial has grown in leaps and bounds because of contributions by friendly people the world over. It no longer resembles the simple thing it was when I first started it.
Thanks, Matchless.
BobSongs
August 6th, 2006, 12:32 AM
BobSongs... =D>
You, my friend, are simply amazing!
As you well know it really isn't me. I just downloaded the files from Brother. Hey: someone showed me where they were for that matter. I worked out some bugs for the basic install. After posting a very simple tutorial a huge crowd of buddies turned it into something useful.I have tried to get my MFC-5440CN printer working over the network for ages upon ages in numerous UNIX-esque operating systems (from FreeBSD to Debian to Ubuntu, now), using Brother's official drivers one way or another. I have gotten close (even going as far as to manually send PostScript files over JetDirect via telnet), in the past, but I have never actually had success. Today, after reading your guide, however, I finally figured out the two little details I had always missed: the C shell requirement (I should have vim'd the scripts, probably :)), and the lpd directory that had to be manually created.My first attempts also proved fruitless. As a complete and utter noob I read the output at the command prompt to see my errors. bash told me what was missing. So, I made the corrections and tried again. Eventually it worked. I was impressed with the command line's ability to explain itself in better terms than "Bad command or filename".
Now, thanks to your wonderful help, my networked MFC-5440CN now works flawlessly via JetDirect! Thank you!Hey: thanks for the kind and generous words. And I wish to share them with the community that helps make this tutorial useful to thousands! Thanks!I doubt I can get SANE working over the network (I have never used it, so I'm not sure of its limitations), but I will give it a shot tomorrow, perhaps, and report back with my findings. :)When you get xsane working over the network I'll gladly add your notes to the main tutorial (or create an appropriate link). You'll be fully credited for your hard work.
Jeef
August 8th, 2006, 03:07 AM
When you get xsane working over the network I'll gladly add your notes to the main tutorial (or create an appropriate link). You'll be fully credited for your hard work.
Hello, again. It turns out that getting this beast to run over the network is actually quite easy; in fact, it might even be easier for you than the USB route, if you have a printer that supports networking, understand the gist of networking, and have a spare RJ45 jack on your switch!
I will provide a quick summary of what I did; however, Brother actually has very nice documentation on this process, so I will keep my summary simple!
Brother's Instructions
Brother's instructions for setting up network scanning can be found here:
http://solutions.brother.com/linux/sol/printer/linux/sane_install-net.html#2
My Instructions (nearly identical)
First, obtain the latest sane driver release from solutions.brother.com. For 32-bit Debian/Ubuntu users, here is Brother's brscan2 package:
http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/sane_debian/brscan2-0.2.1-0.i386.deb&lang=English_sane
Next, download the driver, and move it somewhere safe that you will remember; personally, I archive packages in /var/cache/apt/archives (since apt-get does this, as well) for future reference. To accomplish this feat, one might download the driver to his or her desktop in GNOME or KDE, and execute:
$ sudo mv ~/Desktop/brscan2-0.2.1-0.i386.deb /var/cache/apt/archives
Then, install both sane and xsane to meet Brother's driver's dependencies:
$ sudo apt-get install sane xsane
Continuing on, install Brother's scanner driver from wherever you chose to save it; I chose /var/cache/apt/archives:
$ sudo dpkg -i /var/cache/apt/archives/brscan2-0.2.1-0.i386.deb
After it is installed, configure the driver to use your networked printer's settings. If you are unsure of how your printer's networking is currently configured, either check your printer's "LAN Settings" sub-menus, or simply print out a "Network Config" report (this function is built into the printer). Once you have obtained your printer's NetBIOS host name[1], IP address[1], and model name[2] execute the following command:
$ sudo brsaneconfig2 -a name=<NetBIOS Host Name> model=<Printer Model Name> ip=<IP Address>
For instance, because my printer is a MFC-5440CN, and is configured to use the static IP address 10.0.0.5, with the static NetBIOS host name "MAMIMI", I executed:
$ sudo brsaneconfig2 -a name=MAMIMI model=MFC-5440CN ip=10.0.0.5
At this point, you should have a working driver. To test your configuration, you should attempt to query your networked scanner using Brother's sane driver configuration utility:
$ brsaneconfig2 -q | tail -n 2
Your output should look something like this:
jeff@chii:~$ brsaneconfig2 -q | tail -n 2
Devices on network
0 MAMIMI "MFC-5440CN" I:10.0.0.5
Optionally, I would also recommend using the same utility to ping your printer a few times (you may stop the pinging prior to ten attempts using CTRL+C):
$ brsaneconfig2 -p
Your output should resemble this:
jeff@chii:~$ brsaneconfig2 -p
test MAMIMI
ping 10.0.0.5 -w 10
PING 10.0.0.5 (10.0.0.5) 56(84) bytes of data.
64 bytes from 10.0.0.5: icmp_seq=1 ttl=60 time=2.95 ms
64 bytes from 10.0.0.5: icmp_seq=2 ttl=60 time=2.07 ms
64 bytes from 10.0.0.5: icmp_seq=3 ttl=60 time=3.77 ms
64 bytes from 10.0.0.5: icmp_seq=4 ttl=60 time=2.08 ms
64 bytes from 10.0.0.5: icmp_seq=5 ttl=60 time=2.63 ms
64 bytes from 10.0.0.5: icmp_seq=6 ttl=60 time=2.06 ms
64 bytes from 10.0.0.5: icmp_seq=7 ttl=60 time=2.95 ms
64 bytes from 10.0.0.5: icmp_seq=8 ttl=60 time=2.07 ms
64 bytes from 10.0.0.5: icmp_seq=9 ttl=60 time=2.10 ms
64 bytes from 10.0.0.5: icmp_seq=10 ttl=60 time=2.50 ms
--- 10.0.0.5 ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9040ms
rtt min/avg/max/mdev = 2.068/2.523/3.772/0.541 ms
With this said, the only thing that you have left to do is fire up XSane and perform at least a scan preview to see how your hard work has paid off. To do this, within GNOME, you should navigate through the following menus:
Applications -> Graphics -> XSane Image Scanner
With XSane open, click the large "Acquire Preview" button in the preview window. Congratulations! You now have a working Brother network scanner. :)
[1]: You may also configure your printer using an alternative method, which revolves around using a "node name" rather than an IP address and NetBIOS host name. I do not know much about this (since I have no use for it); so, if you need to use this method, instead, please use Brother's instructions (which I linked to, earlier) to fill in for this portion of the installation.
[2]: As far as I know, the model name of your printer should be entered into brsaneconfig2 exactly how it is seen on the printer itself; for instance, a "MFC-5440CN" is entered as "MFC-5440CN"; you do not need to remove the hyphen or format it any differently than usual. If you are unsure if your multifunction printer is supported, or want to verify that you are entering its model name properly, use the following command to list all of the supported models:
$ brsaneconfig2 -q
whistlerspa
August 8th, 2006, 07:10 AM
Well I don't know why but I followed all these instructions and my printer still won't print a test page or anything else. It just sits there until it times out. The scanner works fine though.
It's set up as BRFAX , says it's ready and is set to
CUPS Printer (ipp)
URL ipp://usb/dev/usb/lp0
All of which seems corrrect. Oh now it says the printer is not connected (but it is) , now it says connecting to usb port ...
BH what is going on here:sad:
BobSongs
August 8th, 2006, 09:47 AM
Did you have your MFC off when you installed the drivers?
I can't emphasize this too much. Leaving it on can do some pretty wonky things.
I once forgot to follow my own instructions. The printer wouldn't work. Here's what I did to straighten it out.
System > Administration > Printing > Right-click MFC210C > Properties > Connection Tab > Printer Type = Local Printer > Use Detected Printer = Brother MFC-210C.
See if that helps.
whistlerspa
August 9th, 2006, 06:38 AM
Tried all that - nothing. I reinstalled all the drivers with the printer off still no good. It works fine in Windows XP so it's not a hardware or cable fault.
WP
whistlerspa
August 9th, 2006, 07:07 AM
OK I'm a complete FW on this one - i hadn't installed the printer drivers -only the fax drivers - itworks now:rolleyes:
olking
August 9th, 2006, 11:17 PM
Hi I just ran the procedure as listed to install my mfc210c and everything went through beautifully.
However when I did system>admin>printing and asked it to print a test page it didnt.
A job is showing in the print queue for the mfc210 but nothing happens.
Any advice please
sdb2028
August 9th, 2006, 11:38 PM
I have a MFC420CN which I am having trouble getting to work. I read threads explaining "how to", unfortunatly I had my printer on when I installed the LPR and CUPS drivers. My computer recognizes the printer, displaying an icon when I click on Computer in the places column of the menu. When I go to System/Administation/Printing - all I see is an icon for "New Printer" - I click on "New Printer" and the wizard opens and asks to use detected printer where my printer is listed in the box. I click on forward and my printer is not in the model list. I have try'd to reinstall the drivers but the system say's they are already there. I am at a dead end. How do I remove the drivers and start over or is there an easier way to correct the problem?
sdb2028
August 10th, 2006, 12:24 AM
Got my MFC420CN Printer (printer part) working finally, however the scanner part wont open when I open the xsane image scanner application. It say's "Failed to open device 'brother2:bus1;dev1':Error during device I/O." Any helpfull suggestions would be appreciated.
BobSongs
August 10th, 2006, 08:32 PM
What version number of scanner driver did you use to install it on your Dapper Drake Ubuntu?
sdb2028
August 10th, 2006, 08:58 PM
I used - brscan2-0.2.1-0.i386.deb
BobSongs
August 10th, 2006, 09:02 PM
That's the right driver, all right. Having the scanner 'on' when installing either the printer drivers or the scanner drivers just wreaks havoc. I've made that mistake several times so far. I think I'll change the tutorial and put it in huge red text.
In the mean time I am not sure what to tell you. Have you tried lsusbto see whether the printer shows up in the list?
sdb2028
August 10th, 2006, 09:21 PM
Yes, I did have the printer off when I installed the scanner driver, I made that mistake earlier when installing the printer drivers. Took forever to get that fixed. The printer works fine now, just no scanner. Here is the out-put from lsusb :
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 002: ID 04f9:0162 Brother Industries, Ltd
Bus 001 Device 003: ID 046d:c402 Logitech, Inc. Marble Mouse (2-button)
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
I also ran sane-find-scanner | grep usb, here is the out-put:
found USB scanner (vendor=0x04f9, product=0x0162) at libusb:001:002
Here is the exact error when I try to open XSane Image Scanner:
14111
sdb2028
August 10th, 2006, 09:27 PM
near as I can figure, XSane is trying to open Bus2,Dev1 and my MFC Printer unit is listed as Bus1,Dev2, any ideas?
BobSongs
August 10th, 2006, 10:02 PM
My printer is set to Bus 005 Device 002: ID 04f9:0161 Brother Industries, LtdYou may have to connect to an IRC to get an answer there. Have you ever done so?
sdb2028
August 10th, 2006, 10:14 PM
I don't think so, not sure what you are speaking of.
BobSongs
August 10th, 2006, 10:41 PM
Let's take this off the main thread and I'll PM you.
olking
August 11th, 2006, 01:25 AM
I just tried the
ystem > Administration > Printing > Right-click MFC210C > Properties > Connection Tab > Printer Type = Local Printer > Use Detected Printer = Brother MFC-210C.
and it worked perfectly.
Thanks to Bob songs for that:D
kodachrome64
August 20th, 2006, 12:15 PM
Hi this how to worked great and I'm printing happily from ubuntu dapper.
Anyone else have this problem?
Problem is now I can not install from Synaptic or aptitude in the terminal anymore!
I'm pretty sure it has somthing to do with the Brother lpr/cups install I did per this how-to. I used the mcf4800 drivers for my printer. This could be the cause?
Errors I get when using (Aptitude) in the terminal.
The following NEW packages will be installed:
mtools syslinux
0 packages upgraded, 2 newly installed, 0 to remove and 125 not upgraded.
Need to get 0B of archives. After unpacking 983kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Error!
E: I wasn't able to locate file for the mfc4800lpr package. This might mean you need to manually fix this package.
E: Couldn't lock list directory..are you root?
adam@ubuntu-macbook:~/Desktop$
I've tried reinstalling the lpr driver to fix the issue but only get this error.
adam@ubuntu-macbook:~/Desktop$ sudo dpkg -i mfc4800lpr-1.1.2-1.i386.deb
Selecting previously deselected package mfc4800lpr.
(Reading database ... 78527 files and directories currently installed.)
Preparing to replace mfc4800lpr 1.1.2-1 (using mfc4800lpr-1.1.2-1.i386.deb) ...
Unpacking replacement mfc4800lpr ...
/var/lib/dpkg/info/mfc4800lpr.postrm: line 3: /etc/init.d/lpd: No such file or directory
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: line 3: /etc/init.d/lpd: No such file or directory
dpkg: error processing mfc4800lpr-1.1.2-1.i386.deb (--install):
subprocess new post-removal script returned error exit status 127
/var/lib/dpkg/tmp.ci/postrm: line 3: /etc/init.d/lpd: No such file or directory
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
mfc4800lpr-1.1.2-1.i386.deb
adam@ubuntu-macbook:~/Desktop$
Thanks for any help on this!
Doing all this on a Macbook via Pararells. The printing over a network is working great. Just super stuck on this issue described above.
Boberg
August 20th, 2006, 04:47 PM
I just tried the
ystem > Administration > Printing > Right-click MFC210C > Properties > Connection Tab > Printer Type = Local Printer > Use Detected Printer = Brother MFC-210C.
and it worked perfectly.
Thanks to Bob songs for that:D
I also looked there after MANY hours of ](*,) Now my DCP-115C prints perfectly when connected to my amd64 laptop. Many thanks to the person who wrote about that option!:KS
BobSongs
August 25th, 2006, 11:00 AM
I just tried the
System > Administration > Printing > Right-click MFC210C > Properties > Connection Tab > Printer Type = Local Printer > Use Detected Printer = Brother MFC-210C.
and it worked perfectly.
Thanks to Bob songs for that:DIt's been added to the main tutorial. I thought of it in the past but now I figure I'd better add it.
Matchless
August 26th, 2006, 02:33 PM
Bobsongs,
I have tried to get the PC-fax function working on my Brother MFC-215C after discovering some more info on Brothers site. I think I am close but need to know if BRFAX can print a test page or not - can anyone help?
Below is my howto so far, in case someone else also want to try:
PC-Fax Working Brother MFC-215C (Nearly working!)
Thanks to Brothers latest information on their website, the information below was compiled and a word of thanks to them for really getting into linux support.
Ensure that SUN JAVA is installed as this runs the applet /usr/local/Brother/fax/brmfcfax.jar, which is the dialup gui for your PC-Fax. Test this by going to the file and double clicking it. It may be necessary to go to konquerer and set the file association .jar for Java.
Now while the PC is switched off, install the two special drivers from the Brother website. The order of the driver installation is important, first lpd, then cups.
Install both in this sequence:
Right click on the brmfcfaxlpd-1.0.0-1.i386.deb file and select Kubuntu Package Menu, Install Package
Right click on the brmfcfaxcups-1.0.0-1.i386.deb file and select Kubuntu Package Menu, Install Package
Switch the printer back on
In the menu go to System Settings, Printer and you should see another printer installed called BRFAX.
This printer is not used to print faxes directly. It is used by the “brpcfax” utility script file. To send a fax, you must use the “brpcfax” utility to process your print jobs and you can only use a postscript file.
a) Use “print to file” from your application to generate a postscript file called i.e “testfax.ps”
b) Right click the testfax.ps file and select “Open with” and now click “Send As Fax”, the dialup screen gui should come up, enter fax number and click Send.
Before you can do this Konquerer must first be configured
1)Open Konquerer
2)Go to Settings, Configure konquerer
3)Click file associations
4)Type “ps” in the search box and select “Application”-- “Postscript” from the list
5)Click “Add” and type “brpcfax” and click OK
6)Select the new “brpcfax option and click 'Edit”
7)Select the Application tab
8)In Command line enter: brpcfax -P BRFAX -o PAPER=A4
9)For the Name enter Send As Fax
10)Click on the blank Icon, System Icons, select printmgr (looks like a fax)
11)Click OK and save
Everthing seems to be in place and created, but the dialup gui does not appear when the fax is sent.
The file to be printed can be found queing in the BRFAX, but the printer does not respond at all. Does anyone know if a test page can be printed from BRFAX, as I cannot get BRFAX to do anything? By the way normal printing works.
Please can anyone else test this on any brother printer??
ignorance.is.evil
August 28th, 2006, 04:33 AM
Fantastic! Solved my problem, thanks!
Hi there!
Installing the new Dapper 6.06 my MFC-425CN (that use the MFC-210C driver) started to print in reverse order from last to first page on mutiple pages documents.
I wrote to Brother service and after 4 days I received the response from Japan.
Now the printer works correctly.
Dear Sir/Madam,
We could make this issue happen at our side too.
The "reverse order print" you said is actually correct
due to its original specification of the CUPS.
The CUPS you had been using so far was not supporting it.
If you want to change it, please do the following.
1.Open the file MFC210C.ppd which is located under the directory
"/etc/cups/ppd/".
2.Delete the line "*DefaultOutputOrder: Reverse".
Best regards,
Brother Solutions Center
BobSongs
August 28th, 2006, 01:11 PM
Bobsongs,
I have tried to get the PC-fax function working on my Brother MFC-215C after discovering some more info on Brothers site. I think I am close but need to know if BRFAX can print a test page or not - can anyone help?I'll give your tutorial a test run. I've got Ubuntu, Kubuntu and Xubuntu on this PC and the MFC-210C is connected directly via USB and it's connected to the phone line.
I'll have to locate brmfcfax.jar because there's no link to the file. But other than that... here goes!
Edit: Okay. I get the pop up box for the phone number. So I'm a step further ahead. However, the files I try to fax just get stuck in the list of faxes to send. So... I'm no further ahead... but I'm inspired!! I'm not giving up right away. I think I may test this whole procedure in SuSE 10.1.
Matchless
September 8th, 2006, 02:13 PM
I'll give your tutorial a test run. I've got Ubuntu, Kubuntu and Xubuntu on this PC and the MFC-210C is connected directly via USB and it's connected to the phone line.
I'll have to locate brmfcfax.jar because there's no link to the file. But other than that... here goes!
Edit: Okay. I get the pop up box for the phone number. So I'm a step further ahead. However, the files I try to fax just get stuck in the list of faxes to send. So... I'm no further ahead... but I'm inspired!! I'm not giving up right away. I think I may test this whole procedure in SuSE 10.1.
BobSongs,
Thanks, let us know if you find out anything more. I have a suspician that BRFAX does not work, but if you can get it prove if it can run under SuSe then maybe we are a step closer. It is a funny that no BRFAX is found in the drivers list after the installation. I can only create the BRFAX printer when installing the drivers and if I try to change anything afterwords it acts as if not installed.
BobSongs
September 8th, 2006, 08:42 PM
Okay: here's the BRFAX update.
I have just purchased a ... MacBook Pro. 8-[ (Don't throw anything at me!) It's got an Intel CoreDuo... so it's still kindof a PC. ;-)
I have given over the PC with Ubuntu to the family to use and I'm using this new laptop exclusively. So putting SuSE on would be frowned upon by my wife and family who've grown very accustomed to Ubuntu Linux.
So. I must leave the tinkering to brave users who will come after me. I think this thread has served its purpose. Many questions have been answered and new users should be able to set up their printers without trouble. Still, I will occasionally inspect it to see what advances are added to this thread, including a fixed BRFAX. :-)
I will be committing myself to learning Mac OS X for the next few months. When OS X 10.5 is released I will upgrade and triple boot Mac OS X, Ubuntu Linux 6.06.1 and Windows XP Pro SP2 (no "vista" for me).
If someone wants to monitor this thread please PM me and we'll talk it over.
Lary Grant
September 12th, 2006, 07:57 AM
I followed the instructions here a few weeks ago (using your shell script) and it worked perfectly! However, recently scanning stopped working. When I go into xsane and click Scan, I get "Failed to start scanner - invalid argument". I am not pressing any button on the scanner itself.
The only change I can think if that I've done recently is install wine. Would that interfere with the scanner?
Anyway, I can't seem to get the scanner to work again. I re-ran the shell script and that didn't help. I also followed the instructions on this site: http://solutions.brother.com/linux/sol/printer/linux/sane_install.html (which I hope did not make things worse... I'm a bit puzzled because it had me modifying /etc/fstab and perfroming mounts, which I don't think your shell script does).
Anyway... how do I get out of this mess!!?
BobSongs
September 13th, 2006, 06:48 PM
I'm not exactly sure. I've had troubles with the scanner when I didn't go by my own tutorial and left the MFC on. That really messed things up so bad that only a re-install solved the problem. I should have followed the script because it reminds me to switch it off! lol!!
I find Ubuntu is a bit like Windows 98. Some things just go ... odd after a while. Why... is a mystery to me. I just set things up in such a way that backing up my info is easy and most of my data (photos, files, downloads) are on another partition. A full re-install takes less than about 3 hrs. That's worth my time when something as useful as the scanner up and mysteriously dies.
Beyond that? I'm afraid I'm not a guru. "If at first all goes off track, login, reboot or re-install" is my motto.
tonywhelan
September 13th, 2006, 10:19 PM
I have just posted a new thread on Setting up a networked Brother MFC5840CN on Ubuntu 6. Yet to be approved by the moderator.
But just want to say that the solution I adopted owes a lot to this thread here as well as a couple of other tips I picked up on the net., Thanks folks.:)
Matchless
September 22nd, 2006, 03:16 PM
Hi,
I have just posted a new thread on installing the Brother MFC-215C on Kubuntu Dapper. Yet to be approved by the moderator. BRFAX is also working, just search for MFC-215C under the howto's. BobSongs and the Brother Solutions Centre are thanked for their contributions.
BobSongs
September 23rd, 2006, 03:31 AM
Hi,
I have just posted a new thread on installing the Brother MFC-215C on Kubuntu Dapper. Yet to be approved by the moderator. BRFAX is also working, just search for MFC-215C under the howto's. BobSongs and the Brother Solutions Centre are thanked for their contributions.
You got the fax working too? Way to go! Heehee. Excellent. I will eventually try it on my PC. However it's not in my house at the moment. So I'm going to have to wait until it returns to try out the fax end of things.
In the mean time getting the scanner and the printer to work is wayyy more than I ever expected. I bought it before I downloaded Ubuntu and never expected half my periferals to work.
Matchless
September 23rd, 2006, 01:52 PM
Brother support helped me with the fax and it also works from another PC on the same lan. Just for info there are firmware updates on the Brother site as well.
wgaprotest
September 24th, 2006, 11:21 AM
Hey, fellow-Canuck!
Everyone's right: this is a great howto. The only thing I had to do differently in my origianl installation was to use the --force-architecture option to get the lpd and cups working, as I'm running an amd64 system. I never could get the scanner working, and didn't test the fax part, as I don't fax often, and I had bigger problems to fix with that install, like trying to get my lamp working prior to installing mythtv. That's the end goal, as this 7-mth-old pc was always intended and built to be an htpc.
Two tries wtih the ubuntu server package later and it's great. I prefer kubuntu, but am presently back in gnome because I've installed this printer so many times on so many operating systems I got cocky-and-forgetful. I searched the thread, saw one of your replies (quoted below), and yep, I forgot to turn it off, too. <sigh> I tried to follow your remedy, and have problems with the remedy, and a few other things I've tried, so am hoping you can help me. Here's your advice:
"Did you have your MFC off when you installed the drivers? I can't emphasize this too much. Leaving it on can do some pretty wonky things.
I once forgot to follow my own instructions. The printer wouldn't work. Here's what I did to straighten it out.
System > Administration > Printing > Right-click MFC210C > Properties > Connection Tab > Printer Type = Local Printer > Use Detected Printer = Brother MFC-210C."
The problem is that there is no MFC210C to right-click in Printing. The only item that does exist is the Add Printer. In addition, my /usr/lib/spool/lpd/MFC3210C directory is still empty, no brlpdwrapper exists, and sure enough, when I tried to remove the package with the appropriate dpkg command, shell told me it wasn't installed.
So of course I try to install it, but all I got in response (at first) was this:
"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' to `/usr/lib/libbrcompij2.so.1.0.2': File exists
ln: creating symbolic link `/usr/lib/libbrcompij2.so.1' to `/usr/lib/libbrcompij2.so.1.0.2': File exists
ln: creating symbolic link `/usr/lib/libbrcompij2.so' to `/usr/lib/libbrcompij2.so.1.0.2': File exists"
I thought these links could be blocking something, so I did remove them, but it only helped to a small degree. Yes, after it had haleped a bit, I went on to the second part of your howto (the cupswrapper part) but still nada. I tried a few other things, but finally decided that there was no help for it: do the searches for key items in the file system (e.g. mfc and br as part of the name) and removing all the files by hand -- (I've had to do this in windows and its registry, after brother tech support told me to after virus packages ruined an install, and it's an exhaustive process, but I usualy go even further in terms of cleaning my windows). I'm extremely careful when I do this type of operation.
Is there anything else you can think of, like configuration files that have been changed, and I'll need to edit? Any other pointers? I really don't think there's any help for it but to try and remove it completely from the system, but the usual linux ways won't work if it's not properly installed in the first place.
wgaprotest
September 24th, 2006, 09:25 PM
k, removing all the individual files I could find, by hand, and it worked to the point where I could install the printer to the way I remembered it. However, there is that final step: getting it to work under cupsys through the web interface, that I couldn't remember how to do properly.
The web interface at localhost:631 gives lots of pps problems because it asks for passwords, and no passwords work, sening the user into an endless loop. So I tried following the instructions in this thread, after checking with the debian readme file: http://ubuntuforums.org/showthread.php?t=263180&highlight=cupsys+password
Now I'm worse off than before I tried to follow the instructions in the thread, as I can get to the localhost:631 site, but when I click the admin tab, or any other tab, firefox and konqueror tell me they can't access the localhost:631 site. The printer won't print a test page when configured as a local-only lpd printer or under the still-incomplete cupsys installation. Yes, I've reverted my /etc/cups/cupsysd.conf back to the original one.
What am i doing wrong?
P.s. latest update: still don't have a clue has to what I did wrong and -actually - how i fixed it, but it's finally printing a test page under cups...so that's what matters.
Once again, bobsongs: thank you! you've done a lot for us in the community. I've now paid over three grand (probably closer to 4 grand) for the home theatre pc, counting the monitor that replaced the even-more-expensive-hdtv-that-died, but I learned awhile back not to spend lots of $ on printers, as they'll become obsolete faster than they wear out, so you can't get printing supplies anymore. And I will say this for brother: they give great tech support. They even replaced the mainboard for free even though it was 2 days after the warranty expired. I'm much happier with the printer than I was with the hp or epson printers I've had.
retep57
September 25th, 2006, 11:35 PM
hmmm i have brother mfc-215 the 210 srcipt set up ok , says installed but no print :( thanx anyway but am effecetively innefective in tersm of printer, ie no can print :(
BobSongs
September 26th, 2006, 02:54 AM
hmmm i have brother mfc-215 the 210 srcipt set up ok , says installed but no print :( thanx anyway but am effecetively innefective in tersm of printer, ie no can print :(As you've already figured out -- the script for the MFC-210C only applies to this specific printer. I am not certain how much the MFC-215C deviates from the 210 design. For any other Brother device the only other option, currently, is to follow the tutorial.
This tutorial takes just a few minutes to follow. Links are given to the Brother website (to the Linux drivers, not just to some home page) if you have a different machine.
If I get any further reports that MFC-215C users are trying to use this script on their 215s then I'm going to have to pull the script. I'm on my way back to that post to warn future 215 users not to use it.
bigken
September 26th, 2006, 03:59 AM
Yo Bobsongs I just downloaded the new drivers for my mfc3820cn
installed edgy Knot3 folllowed your tutorial to point of making the folders then just double clicked the driver files installed using Gdebi
went into printer changed from usb to unix lpd printer and added the static ip address and hey presto it printed 1 other thing when your setting up your mfc on a network no need to turn it off ;)
scanner the same way double click the driver file install then in the terminal
brsaneconfig -a name=Scanner model=MFC-3820CN ip=192.168.1.9 life gets easier but hats to you my freind for making this possible in the 1st place I will try the fax later and let you know
altonbr
September 26th, 2006, 11:06 PM
What about a MFC-8440? Has anyone tried this?
I followed how to install the printer.. but it just hangs... MFC-8300 is the only driver that works so far even though it's a MFC-8440!
BobSongs
September 26th, 2006, 11:18 PM
Yo Bobsongs I just downloaded the new drivers for my mfc3820cn
installed edgy Knot3 folllowed your tutorial to point of making the folders then just double clicked the driver files installed using Gdebi
went into printer changed from usb to unix lpd printer and added the static ip address and hey presto it printed 1 other thing when your setting up your mfc on a network no need to turn it off ;)
scanner the same way double click the driver file install then in the terminal
brsaneconfig -a name=Scanner model=MFC-3820CN ip=192.168.1.9 life gets easier but hats to you my freind for making this possible in the 1st place I will try the fax later and let you knowI'm glad the joint effort of this tutorial has been useful.
BobSongs
September 26th, 2006, 11:18 PM
What about a MFC-8440? Has anyone tried this?
I followed how to install the printer.. but it just hangs... MFC-8300 is the only driver that works so far even though it's a MFC-8440!What hangs? At what point do things go wrong? Is there an output to the screen you can capture and paste? I haven't noticed your printer's driver in the list, sadly. I don't think Brother has created one yet. I don't know what to suggest in terms of proper drivers.
altonbr
September 27th, 2006, 10:08 AM
I found the MFC-8440 driver here: http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrapperMFC8440-1.0.2-1.i386.deb&lang=English_gpl
I ran the first part of your tutorial
Step 1: Download from Brother
[The CUPS wrapper]
[The LPR Driver]
For other Brother machines: Please make sure the appropriate drivers are downloaded. Check the Brother website for the LPR Drivers and for the CUPS Wrapper.
Step 2: Install the C Shell
Code:
sudo apt-get install csh
:: TURN PRINTER OFF ::
(DO NOT SKIP THIS STEP! THINGS GO TERRIBLY WRONG WHEN THIS IS AVOIDED!)
Step 3: LPR Driver Install
Code:
sudo mkdir /var/spool/lpd sudo mkdir /var/spool/lpd/MFC210C (replace with your printer name) sudo dpkg -i ~/Desktop/mfc210c/mfc210clpr-1.0.2-1.i386.deb
Step 4: Install the CUPS Wrapper
Code:
sudo ln -s /etc/init.d/cupsys /etc/init.d/cups sudo dpkg -i ~/Desktop/mfc210c/cupswrappermfc210c_1.0.0-1_i386.deb
Finalization
:: TURN PRINTER ON ::
System → Administration → Printing
Right-click the MFC120C and click “Properties”
* Connection Tab: Ensure local printer is connected (Printer Type: Local Printer) and (Use a Detected Printer: Brother MFC-210C)
* General Tab: Select paper type
* Paper Tab: Ensure your local paper size is selected.
* Advanced Tab: Review the choices and make appropriate adjustments.
* From any tab: Click "Print a test page" to confirm all works well.
Skipping the LPR driver... because I can't find one of those for the MFC-8440. Is this crucial? Or does this just add functionality to the printer?
altonbr
September 27th, 2006, 10:09 AM
Oh, I found the LPR Driver (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_debian/mfc8440lpr-1.1.2-1.i386.deb&lang=English_lpr)
I'll install that as well when I get home.
thingmarius
September 27th, 2006, 02:08 PM
Hello
I've got a mfc410cn connectied to a USB port on my desktop computer. I've got Ubuntu 5.10 installed, and up-to-date. I'm having some trouble with installing the drivers, ie:
1) couldn't install csh, got the error that there was no package, so I installed tcsh, hope that's ok.
2) the cups folder isn't in /etc/init.d/, it's in /etc/, so I'm getting the No such file or folder error. should I move the cups folder or ln to its current location ?
3) also I get the following error:
sudo dpkg -i ~/Desktop/mfc410cn/mfc410cnlpr-1.0.2-1.i386.deb
(Reading database ... 61380 files and directories currently installed.)
Preparing to replace cupswrappermfc410cn 1.0.0-1 (using .../mfc410cnlpr-1.0.2-1.i386.deb) ...
/usr/local/Brother/cupswrapper/cupswrapperMFC410CN-1.0.0: No such file or directory.
Unpacking replacement cupswrappermfc410cn ...
Setting up cupswrappermfc410cn (1.0.0-1) ...
ERROR : Brother LPD filter is not installed.
rm -f /usr/lib/cups/filter/brlpdwrapperMFC410CN
chmod: cannot access `/usr/local/Brother/inf/brMFC410CNrc': No such file or directory
chmod: cannot access `/usr/local/Brother/inf': No such file or directory
/etc/init.d/cups: Permission denied.
That's as far as I could go with the installation. If I want to start back from scratch, what files should I delete ?
altonbr
September 28th, 2006, 08:30 AM
Ok, so I repeated your steps when after I downloaded the LRN driver.
I tried to get it to work with JUST the CUPS driver, but to no avail. So here is my terminal window after running your commands (and yes, I repeated all of them JUST to make sure).
brett@brettalton:~$ sudo mkdir /var/spool/lpd
Password:
mkdir: cannot create directory `/var/spool/lpd': File exists
brett@brettalton:~$ sudo mkdir /var/spool/lpd/MFC8440 mkdir: cannot create directory `/var/spool/lpd/MFC8440': File exists
brett@brettalton:~$ sudo dpkg -i ~/Desktop/mfc8440/mfc8440lpr-1.1.2-1.i386.deb
Selecting previously deselected package mfc8440lpr.
(Reading database ... 89033 files and directories currently installed.)
Unpacking mfc8440lpr (from .../mfc8440lpr-1.1.2-1.i386.deb) ...
Setting up mfc8440lpr (1.1.2-1) ...
/var/lib/dpkg/info/mfc8440lpr.postinst: line 4: /etc/init.d/lpd: No such file or directory
dpkg: error processing mfc8440lpr (--install):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
mfc8440lpr
brett@brettalton:~$ sudo ln -s /etc/init.d/cupsys /etc/init.d/cups
ln: creating symbolic link `/etc/init.d/cups' to `/etc/init.d/cupsys': File exis ts
brett@brettalton:~$ sudo dpkg -i ~/Desktop/mfc8440/cupswrapperMFC8440-1.0.2-1.i3 86.deb
(Reading database ... 89045 files and directories currently installed.)
Preparing to replace cupswrappermfc8440 1.0.2-1 (using .../cupswrapperMFC8440-1. 0.2-1.i386.deb) ...
* Restarting Common Unix Printing System: cupsd [ ok ]
* Restarting Common Unix Printing System: cupsd [ ok ]
Unpacking replacement cupswrappermfc8440 ...
Setting up cupswrappermfc8440 (1.0.2-1) ...
rm -f /usr/lib/cups/filter/brlpdwrapperMFC8440
* Restarting Common Unix Printing System: cupsd [ ok ]
* Restarting Common Unix Printing System: cupsd [ ok ]
brett@brettalton:~$
It seems to be that the LPR Driver isn't the correct one.. But I could still install the CUPS Driver.. Do you know what's goin on BobSongs?
Lastly, for anyone that needs a visualization, the product URL is http://www.brother.ca/en/all-in-one/description.asp?Prodid=1019&features=on
bigken
September 28th, 2006, 08:49 AM
go into synaptic and remove anything to do with brother printers
just search for brother then start again but you must install lpr driver 1st
mfc8440 lpr (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_debian/mfc8440lpr-1.1.2-1.i386.deb&lang=English_lpr)
mfc8440 cups (http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrapperMFC8440-1.0.2-1.i386.deb&lang=English_gpl)
altonbr
September 28th, 2006, 08:59 AM
Error when removing mfc8440lpr:
E: mfc8440lpr: subprocess post-removal script returned error exit status 127
So I ran the tutorial again, just in case... and the same error came up.
brett@brettalton:~$ sudo mkdir /var/spool/lpd
Password:
mkdir: cannot create directory `/var/spool/lpd': File exists
brett@brettalton:~$ sudo mkdir /var/spool/lpd/MFC8440 brett@brettalton:~$ sudo dpkg -i ~/Desktop/mfc8440/mfc8440lpr-1.1.2-1.i386.deb
Selecting previously deselected package mfc8440lpr.
(Reading database ... 89025 files and directories currently installed.)
Preparing to replace mfc8440lpr 1.1.2-1 (using .../mfc8440lpr-1.1.2-1.i386.deb) ...
Unpacking replacement mfc8440lpr ...
/var/lib/dpkg/info/mfc8440lpr.postrm: line 3: /etc/init.d/lpd: No such file or directory
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: line 3: /etc/init.d/lpd: No such file or directory
dpkg: error processing /home/brett/Desktop/mfc8440/mfc8440lpr-1.1.2-1.i386.deb (--install):
subprocess new post-removal script returned error exit status 127
/var/lib/dpkg/tmp.ci/postrm: line 3: /etc/init.d/lpd: No such file or directory
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
/home/brett/Desktop/mfc8440/mfc8440lpr-1.1.2-1.i386.deb
brett@brettalton:~$
How do I forcefully remove mfc8440lpr so I can re-install it?
Now when opening Synaptic, I recieve this:
E: The package mfc8440lpr needs to be reinstalled, but I can't find an archive for it.
E: Internal error opening cache (1). Please report.
bigken
September 28th, 2006, 09:02 AM
in a terminal I think its sudo dpkg -r (name of package)
altonbr
September 28th, 2006, 09:07 AM
sudo dpkg -r mfc8440lpr
dpkg: error processing mfc8440lpr (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
mfc8440lpr
sudo apt-get remove mfc8440lpr
Reading package lists... Done
Building dependency tree... Done
E: The package mfc8440lpr needs to be reinstalled, but I can't find an archive for it.
bigken
September 28th, 2006, 09:20 AM
sudo aptitude purge (name of package)
sudo apt-get purge (name of package)
altonbr
September 28th, 2006, 09:40 AM
sudo aptitude purge mfc8440lpr
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
The following packages are unused and will be REMOVED:
mozilla-firefox-locale-en-gb
The following packages will be REMOVED:
mfc8440lpr{p}
0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 713kB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
dpkg: error processing mfc8440lpr (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
Aborted
brett@brettalton:~$ Errors were encountered while processing:
mfc8440lpr
sudo apt-get purge mfc8440lpr
E: Invalid operation purge
harry555
September 30th, 2006, 07:44 AM
Big thanks for the howto for the 210c. I have the 215c printing perfectly.
I have not set up the fax and scanner yet. I am using Dapper. The only glitches I experienced were these:
1. sudo apt-get install csh did not work it could not find csh. I went to Synaptic and enabled every repository I could find there and got csh installed easily that way.
2. I found that sometimes you had to navigate to the actual directory before I could get mkdir work. For example when making the MFC215C directory.
3. I got an error message when I went sudo dpkg etc for the cupswrapper it comlained about not finding init.d but the printer is working perfectly!!
So, thanks again. I was about to go and buy a HP printer but now I won't have to.
harry
Matchless
September 30th, 2006, 02:18 PM
Big thanks for the howto for the 210c. I have the 215c printing perfectly.
I have not set up the fax and scanner yet. I am using Dapper. The only glitches I experienced were these:
1. sudo apt-get install csh did not work it could not find csh. I went to Synaptic and enabled every repository I could find there and got csh installed easily that way.
2. I found that sometimes you had to navigate to the actual directory before I could get mkdir work. For example when making the MFC215C directory.
3. I got an error message when I went sudo dpkg etc for the cupswrapper it comlained about not finding init.d but the printer is working perfectly!!
So, thanks again. I was about to go and buy a HP printer but now I won't have to.
harry
Maybe this link will give you some more details for the MFC-215C http://ubuntuforums.org/showthread.php?t=263047
BobSongs
September 30th, 2006, 08:46 PM
Maybe this link will give you some more details for the MFC-215C http://ubuntuforums.org/showthread.php?t=263047
Matchless: I'm going to add your link to this tutorial at the very top in order to redirect MFC-215C owners lest they continue trying to get their printer going with my tutorial.
altonbr
October 1st, 2006, 12:17 PM
My uncle's MFC-420CN connected locally and my MFC-8440 connected locally both do not work. Both computers are running Ubuntu 6.06.1 and I followed your tutorial exactly, downloading the proper drivers from the Brother website.
Now, what does "not working" mean? Well, for the MFC-420CN, the install went fine, but it just sits there, acting as if no print job has been sent to it. My MFC-8440 does the same, but that's because my LPR didn't install properly.
<see postings above>
any advice?
BobSongs
October 2nd, 2006, 10:03 PM
My uncle's MFC-420CN connected locally and my MFC-8440 connected locally both do not work. Both computers are running Ubuntu 6.06.1 and I followed your tutorial exactly, downloading the proper drivers from the Brother website.
Now, what does "not working" mean? Well, for the MFC-420CN, the install went fine, but it just sits there, acting as if no print job has been sent to it. My MFC-8440 does the same, but that's because my LPR didn't install properly.
<see postings above>
any advice?Okay. Do(es) the printer(s) show up in the list of printers in the system? Or are they not at all visible?
Did any of the installs offer any grief? Some hint that may have been offered at the command line?
This part is sometimes forgotten:
System → Administration → Printing
Right-click the installed printer and click “Properties”
* Connection Tab: Ensure local printer is connected (Printer Type: Local Printer) and (Use a Detected Printer: Brother MFC-whatever)
Leebobs
October 3rd, 2006, 11:28 AM
:D Thanks very much for the guide
I used it to sucesfully install both the printer & Scanner on a Brother DCP-110C.
Leebobs
Alvant
October 3rd, 2006, 07:46 PM
Thanks for the guide. My DCP 7010 (printer and scanner) is working.
I had to edit some files though to ge my scanner working. As suggested to my problem(When scanning I receive the error "Error during device I/O") by the scanner faq on the brother page:
http://solutions.brother.com/linux/sol/printer/linux/linux_faq.html
harry555
October 5th, 2006, 01:45 AM
Just did the 202mb 179 package update and now the printing is stuffed up.
Click print and wait for one minute and paper gets drawn into printer, wait another 20 seconds, then it prints at normal speed. Wait for another 10 secs and out comes the paper. This is with the Brother mfc215c printing out a 'one word' test print.
Prob. going to do a re-install and forget the updates altogether. Then I will see if it's printing o.k then try the scanner again using the tip on the brother page. (plus howto)
Other than these problems I am loving Ubuntu. My digital camera, a Kodak works perfectly. Same with a usb flash drive.
harry555
October 5th, 2006, 05:06 AM
Now I'm really happy. I re-installed Dapper with none of the updates. The printer *and* scanner are now working perfectly. Many thanks to the other posters here or I would never have got this stuff working. :D :D :D
To get the scanner working. I went sudo gedit in the terminal program and modified that 45-libsane.rules file. After that I followed the instructions in the how-to listed earlier in the thread.
\\:D/
stalefries
October 6th, 2006, 09:09 PM
Any word on getting network printing with Dapper working yet? It'd be nice to have this for my school work.
Matchless
October 7th, 2006, 11:40 AM
Matchless: I'm going to add your link to this tutorial at the very top in order to redirect MFC-215C owners lest they continue trying to get their printer going with my tutorial.
Thanks, it would be better to have all the Brother howto's together. I think you can be called the "Brother pioneer" for really putting something complete together for other users. Have you thought of putting your howto in the wiki? I think that could be the proper place for it now.
Thanks for your inputs from all of us.
altonbr
October 8th, 2006, 08:58 PM
@BobSongs
I'm in Xubuntu at the moment and I don't have any printers set up, so I can't give you exact details, but for the MFC-420CN, it was a simple mistake; I merely had to change the connection port from usb:_____ to "Use a detected printer"... I don't know why that worked, but it did so I won't complain. Now if only I can get the IPP working properly for my laptop on wireless then I'm all set.
Also, for the MFC-8440 (which is my printer), I will be setting that up shortly following your tutorial and I'll see if it works. I'll keep you updated.
Thanks again.
altonbr
October 8th, 2006, 09:11 PM
Yes, something is definetly wrong with the LPR. I've installed it in Xubuntu and Ubuntu and both same with the same error. Here is exactly what I did in the terminal:
brett@brett-xubuntu:~$ sudo apt-get install csh
Password:
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
csh
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 239kB of archives.
After unpacking, 393kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com dapper/universe csh 20050313-1 [239kB]
Fetched 239kB in 1s (125kB/s)
Selecting previously deselected package csh.
(Reading database ... 59957 files and directories currently installed.)
Unpacking csh (from .../csh_20050313-1_i386.deb) ...
Setting up csh (20050313-1) ...
brett@brett-xubuntu:~$ sudo mkdir /var/spool/lpd
brett@brett-xubuntu:~$ sudo mkdir /var/spool/lpd/MFC8440
brett@brett-xubuntu:~$ sudo dpkg -i ~/Desktop/mfc8440/mfc8440lpr-1.1.2-1.i386.deb
Selecting previously deselected package mfc8440lpr.
(Reading database ... 59966 files and directories currently installed.)
Unpacking mfc8440lpr (from .../mfc8440lpr-1.1.2-1.i386.deb) ...
Setting up mfc8440lpr (1.1.2-1) ...
/var/lib/dpkg/info/mfc8440lpr.postinst: line 4: /etc/init.d/lpd: No such file or directory
dpkg: error processing mfc8440lpr (--install):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
mfc8440lpr
Why is it having problems with /etc/init.d/lpd???
And then it had problems removing it:
brett@brett-xubuntu:~$ sudo aptitude remove mfc8440lpr
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages will be REMOVED:
mfc8440lpr
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
(Reading database ... 59979 files and directories currently installed.)
Removing mfc8440lpr ...
/var/lib/dpkg/info/mfc8440lpr.postrm: line 3: /etc/init.d/lpd: No such file or directory
dpkg: error processing mfc8440lpr (--remove):
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
mfc8440lpr
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Last time to remove this exact same error, I had to rename /var/lib/dpkg/info/mfc8440lpr.postrm so aptitude or dpkg could not find it.
This is the code:
$ sudo mv /var/lib/dpkg/info/mfc8440lpr.postrm /var/lib/dpkg/info/mfc8440lpr.postrm-bak
$ sudo dpkg --purge mfc8440lpr
Can't say I'm not confused or at a loss.
stalefries
October 9th, 2006, 10:59 PM
Nevermind, I figured it out from one of the other threads on here. I think I'll tackle scanning next and see if I can update my HOWTO.
BobSongs
October 14th, 2006, 11:46 AM
<snip>
/etc/init.d/lpd: No such file or directory
</snip>
Have you tried creating this directory?
Is the file damaged?
stalefries
October 14th, 2006, 04:41 PM
Good news! I just tried out my directions for network scanning on Breezy with my Dapper laptop, and they worked flawlessly!
http://www.ubuntuforums.org/showthread.php?p=935120#post935120
altonbr
October 15th, 2006, 10:22 AM
Have you tried creating this directory?
Is the file damaged?
I would figure, yes. The file is damaged. I'll try contacting Brother. Good ol' $599 CDN printer out the window!
varkatope
October 15th, 2006, 11:11 AM
I followed the HOWTO and everything works. Printing, scanning even over network works. But printing is extremely slow. It takes about 30 seconds for the printing to start an about 2 minutes to print a simple A4-Textpage in normal resolution.
Any ideas what to reconfigure to solve this problem?
The MFC-210C is connected via USB. And the same HOWTO lead me to success on Breezy without the speedproblem.
altonbr
October 16th, 2006, 08:32 AM
I followed the HOWTO and everything works. Printing, scanning even over network works. But printing is extremely slow. It takes about 30 seconds for the printing to start an about 2 minutes to print a simple A4-Textpage in normal resolution.
Any ideas what to reconfigure to solve this problem?
The MFC-210C is connected via USB. And the same HOWTO lead me to success on Breezy without the speedproblem.
I have the same problem when I use the MFC8300 driver instead of the proper MFC8440 driver. I know this isn't an answer, but I'm merely stating that it happens to me too (when using the wrong driver). I couldn't tell you if it changes when using the "proper" driver, but I'll let you know when it's fixed!
stalefries
October 16th, 2006, 09:10 PM
I use the proper driver for the MFC3820CN, but I still get slower printing speeds. The printout part doesn't go slowly (compared to network printing from a Windows machine), but the time period between clicking print and the printout starting is definitely delayed.
mbelinky
October 17th, 2006, 05:11 AM
Hi,
I'm running a fresh copy of Edgy, and have a DCP-115C.
I've followed the instructions on the HOWTO, however after installing the CUPS wrapper, I get the following msg:
maga@ubuntu:~/Desktop$ sudo dpkg -i cupswrappermfc210c_1.0.0-1_i386.deb
Selecting previously deselected package cupswrappermfc210c.
(Reading database ... 86744 files and directories currently installed.)
Unpacking cupswrappermfc210c (from cupswrappermfc210c_1.0.0-1_i386.deb) ...
Setting up cupswrappermfc210c (1.0.0-1) ...
rm -f /usr/lib/cups/filter/brlpdwrapperMFC210C
* Restarting Common Unix Printing System: cupsd [ ok ]
lpadmin: Unable to copy PPD file!
and when I try to print a test page, I see a msg on the printer saying "receiving data", but nothing happens.
any ideas?
thanks
edited to add: I just followed the instructions on http://www.ubuntuforums.org/showthread.php?t=232276&highlight=unable+to+copy+ppd this post and it works fine now. It's worth adding to the HOWTO, I think, seems it looks like an Edgy specific situation.
mbelinky
October 17th, 2006, 05:41 AM
more Edgy / DCP-115C notes, I saw some of this on the thread already but I'm adding it so there's an Edgy specific entry.
after installing the brscan2 driver, xsane fails with a I/O error, then follow the instructions on the brother FAQ: http://solutions.brother.com/linux/sol/printer/linux/linux_faq.html#20
, and do the following:
1.Open the file "/etc/udev/rules.d/45-libsane.rules" with an editor.
2.Add the following description to the file as below:
=================
#brother
SYSFS{idVendor}=="04f9",MODE="666",GROUP="scanner"
LABEL="libsane_rules_end"
=================
3.Restart the OS.
I just added the SYSFS line, not the LABEL one, since the file has other vendor specific rules and a LABEL end at the end of file.
no need to restart the OS really, you can just do a
sudo /etc/init.d/udev restart
and scanning on Edgy with the DCP-115C works fine after that.
altonbr
October 20th, 2006, 01:15 PM
Well, apparently Brother doesn't care about helping my MFC8440 problems. ](*,) They've had a week or so to e-mail me back.. and I've got no word.
So everyone just becareful with the MFC8440... the driver is corrupted (possibly)... can you add this printer to the black list?
musther
October 21st, 2006, 05:52 PM
Using the instructions in this thread I've managed to install both a DCP110C and a DCP115C.
In both cases however, the printer doesn't really seem to know what paper it's printing on. The Ubuntu test page comes out ok, the lines around the edge fit nicely around the page except at the bottom where they leave extra space, but I think this is because the Ubuntu test is in letter format and I'm printing on A4.
However the problems start when printing actual documents. I can't print from OOo Writer in ladscape because the content is so shifted up and to the right that it cuts off the side of the sheet.
Also in the GIMP, I try to print an A4 document, and it is shifted up and this time to the left, on the 115C it manages to cut off the bottom of the image.
I've got the paper size set to A4, and I've got the page region set to A4 also. If I change these to letter it doesn't seem to make any difference.
It's not just an issue with OOo, I've exported an offending (landscape) document to a PDF (http://www.flamingfatherland.org/jon/stuff/temporary/ps.pdf) so if anyone would like to they can test it, see how it comes out for them.
The DCP110C is using the correct driver, the DCP115C was using the MFC210C driver (that's what brother recommend).
I've contacted brother, and they've responded, but as yet seem unable to help.
I'm getting very frustrated, please help me before I pull all of my hair out.
d3dtn01
October 21st, 2006, 09:31 PM
Thanks to the HowTo I was printing and scanning just fine with my mfc210c. But recently I crashed my system and have had several problems since getting it to work again. (In fact, to solve the problems, I had to start using the user profile I had previously set up for my girlfriend since things still don't work perfect under my profile.) So I went to print for the first time since this big crash and it doesn't work. I hit print and the icon pops up in the tray, but the printer sits there oblivious. If I open the printer icon, it says that my printer isn't connected. It clearly is (I checked both ends of the cord to make sure they are properly connected). So I plugged the printer into another USB port and rebooted. Same problem. It's not the USB ports because my mouse works fine when I plug it in to these ports. Any suggestion on how to trouble shoot this?
vojtek
October 22nd, 2006, 06:36 AM
more Edgy / DCP-115C notes, I saw some of this on the thread already but I'm adding it so there's an Edgy specific entry.
after installing the brscan2 driver, xsane fails with a I/O error, then follow the instructions on the brother FAQ:
Thank You for this information, it works on my Edgy (Brother MFC 215) after changes You wrote about.
PrinceVince
October 23rd, 2006, 07:10 AM
BobSongs, please consider adding this to the appropriate section in your HowTo.
I imagine, this close to the Edgy release, many users will stumble upon this problem. I tried a lot until i stumbled upon this post on page 23 (which solved it just fine)
thanks.
edited to add: I just followed the instructions on http://www.ubuntuforums.org/showthread.php?t=232276&highlight=unable+to+copy+ppd this post and it works fine now. It's worth adding to the HOWTO, I think, seems it looks like an Edgy specific situation.
Hi,
I'm running a fresh copy of Edgy, and have a DCP-115C.
I've followed the instructions on the HOWTO, however after installing the CUPS wrapper, I get the following msg:
maga@ubuntu:~/Desktop$ sudo dpkg -i cupswrappermfc210c_1.0.0-1_i386.deb
Selecting previously deselected package cupswrappermfc210c.
(Reading database ... 86744 files and directories currently installed.)
Unpacking cupswrappermfc210c (from cupswrappermfc210c_1.0.0-1_i386.deb) ...
Setting up cupswrappermfc210c (1.0.0-1) ...
rm -f /usr/lib/cups/filter/brlpdwrapperMFC210C
* Restarting Common Unix Printing System: cupsd [ ok ]
lpadmin: Unable to copy PPD file!
and when I try to print a test page, I see a msg on the printer saying "receiving data", but nothing happens.
any ideas?
thanks
altonbr
October 23rd, 2006, 02:47 PM
I recieved this e-mail today from Brother:
From: Keith Selman
Sent: Mon 10/16/2006 10:28 AM
To: dealer.support
Subject: FW: Web feedback
Use the driver for the HL5150D or HL5170DN
http://solutions.brother.com/linux/sol/printer/linux/linux_config_list2.html#1
Although I don't know what his link is, because the LPR driver is here (http://solutions.brother.com/linux/sol/printer/linux/lpr_drivers.html) and the CUPS wrapper is here (http://solutions.brother.com/linux/sol/printer/linux/cups_drivers.html), I will test out using the HL-5150D or HL-5170DN drivers for my MFC-8440 tonight. Wish me luck.
altonbr
October 23rd, 2006, 06:03 PM
ALRIGHT THAT'S IT
Here is me trying to dpkg hl5150dlpr-1.1.2-1.i386.deb & hl5170dnlpr-1.1.2-1.i386.deb
sudo dpkg -i ~/Desktop/hl5150dlpr-1.1.2-1.i386.deb
Selecting previously deselected package hl5150dlpr.
(Reading database ... 70756 files and directories currently installed.)
Unpacking hl5150dlpr (from .../hl5150dlpr-1.1.2-1.i386.deb) ...
Setting up hl5150dlpr (1.1.2-1) ...
/var/lib/dpkg/info/hl5150dlpr.postinst: line 4: /etc/init.d/lpd: No such file or directory
dpkg: error processing hl5150dlpr (--install):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
hl5150dlpr
sudo dpkg -i ~/Desktop/hl5170dnlpr-1.1.2-1.i386.deb
Selecting previously deselected package hl5170dnlpr.
(Reading database ... 70770 files and directories currently installed.)
Unpacking hl5170dnlpr (from .../hl5170dnlpr-1.1.2-1.i386.deb) ...
dpkg: error processing /home/brett/Desktop/hl5170dnlpr-1.1.2-1.i386.deb (--install):
trying to overwrite `/usr/bin/brprintconf', which is also in package hl5150dlpr
/var/lib/dpkg/tmp.ci/postrm: line 3: /etc/init.d/lpd: No such file or directory
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
/home/brett/Desktop/hl5170dnlpr-1.1.2-1.i386.deb
So absolutely no .deb files work on my computer. Is there a package or dependencies that I can completely remove and then reinstall to fix my DEB installation woes? I'm getting SICK of this.
Using gnome-cups-manager, I added the MFC-8440 printer via the HL-7150D seems to work perfectly (they appear to be the same driver... so this should be the preferred method for anyone with the same printer (MFC-8440))... now I'm just worried about my computer... what's going on? Here is a link to my other post regarding install errors: http://www.ubuntuforums.org/showpost.php?p=1595032&postcount=231
I can't upgrade my computer now because hl5170dnlpr is broken! When this happened to my mfc8440 deb files, I was able to use this little trick below:
$ sudo mv /var/lib/dpkg/info/mfc8440lpr.postrm /var/lib/dpkg/info/mfc8440lpr.postrm-bak
$ sudo dpkg --purge mfc8440lpr
But it doesn't work because /var/lib/dpkg/info/hl5170dnlpr.postrm doesn't exist.
altonbr
October 27th, 2006, 02:39 PM
I tried installing the SANE driver for my MFC-8440 (MFC8440) and I get this error in GIMP when trying to Aquire:
Is there anything that WORKS for my printer?
Boberg
October 30th, 2006, 06:19 PM
I'm having problems with the cupswrapper. At the end of the installation, after restarting CUPS it says:
* Restarting Common Unix Printing System: cupsd [ ok ]
lpadmin: Kunde inte kopiera PPD-fil!
(Could not copy PPD-file)
Any ideas on what might be wrong here? ](*,)
I had no problem installing using the guide when i ran Dapper, but now in Edgy this problem appeared.
Any help would be appreciated! :-k
livinginx
October 31st, 2006, 05:47 AM
Huh???
The 420CN is already a network printer i.e. it has a print server built in. Why would you need another machine from which to share it? The only reason I can think of to use the USB connection directly (instead of the Ethernet network connection) is to utilize the scanner. There might be a reason; I just can't think of it...
The reason I know this is because I'm using it right now with a network connection. My network settings look like this:
Mine looks almost similar to that for a 420cn, but The top field is just the IP, no lpd or anything. The bottom box didn't work when I put the name in, so now it just looks like this: /192.168.0.116/
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.