PDA

View Full Version : The Simple Brother MFC-240C Hardy How To


chrisby
September 6th, 2008, 04:01 PM
The instructions from Brother's Website work fine http://solutions.brother.com/linux/en_us/index.html for Hardy 32 bit (or Intrepid 32 bit), but for the lazy like me here they are without any of the other distro stuff:


sudo mkdir /usr/share/cups/model
sudo ln -s /etc/init.d/cupsys /etc/init.d/lpd
sudo mkdir /var/spool/lpd
sudo apt-get install tcsh sane-utils

install mfc240clpr-1.0.1-1.i386.deb from

http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_debian/mfc240clpr-1.0.1-1.i386.deb&lang=English_lpr

install mfc240ccupswrapper-1.0.1-1.i386.deb from

http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/mfc240ccupswrapper-1.0.1-1.i386.deb&lang=English_gpl

now for the scanner:
install brscan2-0.2.4-0.i386.deb from

http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/sane_debian/brscan2-0.2.4-0.i386.deb&lang=English_sane

and to make the key on the printer work for scanning install brscan-skey-0.2.1-1.i386.deb from http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/s-keytool/brscan-skey-0.2.1-1.i386.deb&lang=English_lpr


Now plug your usb cable into the computer, and Ubuntu should automatically recognize the printer/scanner.

Happy printing!!!

Rocket2DMn
September 7th, 2008, 04:54 PM
I have approved your post, but can you please add a link to the original source, please. Otherwise I will need to remove this thread. Thank you.

chrisby
September 7th, 2008, 10:01 PM
fixed!

Rocket2DMn
September 7th, 2008, 10:14 PM
Thank you.

tardis
September 9th, 2008, 11:26 PM
Thanks really helped to set up with these instruction was not getting there on my own....:)

xualzan
October 8th, 2008, 12:06 AM
best thread to date, thanks a lot for this.

chrisby
October 29th, 2008, 06:15 PM
Thanks, glad it worked for you.

I just followed the steps again on 8.10 RC and it works flawlessly.

ferral-cat
November 7th, 2008, 01:03 PM
Just want to confirm that this works 100% on Ubuntu 8.10 (Intrepid) as well.

And here is the code to install the packages from the command line:


sudo dpkg -i --force-architecture mfc240clpr-1.0.1-1.i386.deb


and so on

jay vyas
November 14th, 2008, 09:01 PM
Hello
I am still lost on this install.tests work, printing motion,paper comes out but no print-no ink mark.New learner to Ubuntu and need help.Thanks

chrisby
November 15th, 2008, 02:39 PM
I need more information. Did you follow all steps, and its printing blank?

Eric_Denison
November 30th, 2008, 03:13 PM
Chrisby, thanks for this. Just one little snag. I'm installing in 8.10 and when installing the cupswrapper am getting this error message on the package installer: Error: Dependency is not satisfiable: mfc260clpr

Is this because I'm installing mfc-240c and it is just defaulting to mfc260c because I'm using 8.10?

ferral-cat posted this: sudo dpkg -i --force-architecture mfc240clpr-1.0.1-1.i386.deb

I will try using the terminal with this code and see what happens.

Everything else downloaded perfectly in 8.10. Thanks, I'm a bit new to all of this so still playing around and making mistakes.

syntaxerrorsix
November 30th, 2008, 05:57 PM
Is there any intrinsic difference in setup between Hardy and Intrepid? I'm running 8.10 and managed to get the mfc240c to print before discovering this post but I cannot get it to scan from the button or from Xsane after installing the scanner driver packages.

With Xsane I get error message "failed to open device 'brother2:bus3;dev1':

Error during device I/O"

From the button I get "Connecting to PC" forever....

All prerequisites appear to be met and folders suggested in the first post were already present.

syntaxerrorsix
November 30th, 2008, 05:59 PM
Chrisby, thanks for this. Just one little snag. I'm installing in 8.10 and when installing the cupswrapper am getting this error message on the package installer: Error: Dependency is not satisfiable: mfc260clpr

Is this because I'm installing mfc-240c and it is just defaulting to mfc260c because I'm using 8.10?

ferral-cat posted this: sudo dpkg -i --force-architecture mfc240clpr-1.0.1-1.i386.deb

I will try using the terminal with this code and see what happens.

Everything else downloaded perfectly in 8.10. Thanks, I'm a bit new to all of this so still playing around and making mistakes.


sudo dpkg -i --force-architecture mfc240clpr-1.0.1-1.i386.deb

Is what I used to get the printer side of the house up and running. Unfortunately I'm still cut an pasting CL without fully understanding it but it did in fact work. Hope to learn something useful in regards to the scanner next.

robi
December 1st, 2008, 05:28 PM
Is there any intrinsic difference in setup between Hardy and Intrepid? I'm running 8.10 and managed to get the mfc240c to print before discovering this post but I cannot get it to scan from the button or from Xsane after installing the scanner driver packages.

With Xsane I get error message "failed to open device 'brother2:bus3;dev1':

Error during device I/O"

From the button I get "Connecting to PC" forever....

All prerequisites appear to be met and folders suggested in the first post were already present.

Try this

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

2. then locate the following lines:
# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
SUBSYSTEM=="usb_device", MODE="0664"

and change MODE="0664" to MODE="0666"

Hope it works for you like it worked for me.

syntaxerrorsix
December 1st, 2008, 06:33 PM
Try this

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

2. then locate the following lines:
# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
SUBSYSTEM=="usb_device", MODE="0664"

and change MODE="0664" to MODE="0666"

Hope it works for you like it worked for me.

I've already gone that route with no joy.

Thanks for the suggestion however.

syntaxerrorsix
December 9th, 2008, 08:41 PM
Try this

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

2. then locate the following lines:
# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
SUBSYSTEM=="usb_device", MODE="0664"

and change MODE="0664" to MODE="0666"

Hope it works for you like it worked for me.



Seems after running Ubuntu for a week or so I decided to ditch XP for good. I spent about half a day backing up, partitioning and installing.

Last on the list was printer drivers. Following the above commands now allows Xsane to scan. The machine will still not scan from the button as it seeks the PC forever.

One step closer.

bozodclown
December 10th, 2008, 10:39 PM
Had same issue, the link provided in first post is incorrect, it is for 260C, copied the link and changed to 240C. The installation worked and printer was automatically detected.

syntaxerrorsix
December 11th, 2008, 09:58 AM
More partial success. It appears you have to run the bscan-skey program after each re-boot or add it to your start sequence or sessions menu (system-preferences-sessions (add+file name)in order to use the function.

This allows me now to scan (by button) to Gimp (as image) but not to Thunderbird (as Email) nor to a folder view (as file) and zero luck with scan to OCR.

So I can scan now either initiated from the hardware or software but 3/4 of the options are still not available but the major hurdle was getting the scanner to communicate period.

If there is anyone out there pointing and laughing as they read this feel free to impart your experiences :)

syntaxerrorsix
December 11th, 2008, 11:56 AM
I have found that scanning to file from the button creates a folder/file under the home directory in the "brscan" folder. It doesn't actually tell you that it has happened but this is where the scanned image is deposited.

1/2 the options are working/discovered now.

ferral-cat
December 11th, 2008, 03:38 PM
When I had to reinstall Ubuntu 8.10 I ran int so em trouble with the scanner part.

So what i did was remove the 2 brscan program via Synaptic and start over from scratch.

This page was very helpful:

http://wiki.archlinux.org/index.php/Brother_MFC-420CN

Disregard the "rpmextract" part because we are working with the .deb package format instead of .rpm

I also made the suggested modifications to /etc/udev/rules.d/40-basic-permissions.rules

After all this I was still getting the error in SANE so I rebooted the PC and after that the error has disappeared.

Yay.

FireFighter
December 24th, 2008, 12:25 PM
The instructions from Brother's Website work fine http://solutions.brother.com/linux/en_us/index.html for Hardy 32 bit, but for the lazy like me here they are without any of the other distro stuff:


sudo mkdir /usr/share/cups/model
sudo ln -s /etc/init.d/cupsys /etc/init.d/lpd
sudo mkdir /var/spool/lpd
sudo apt-get install tcsh sane-utils

install mfc240clpr-1.0.1-1.i386.deb from

http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_debian/mfc240clpr-1.0.1-1.i386.deb&lang=English_lpr

install mfc240ccupswrapper-1.0.1-1.i386.deb from

http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/mfc260ccupswrapper-1.0.1-1.i386.deb&lang=English_gpl



I followed chrisby's how to and it worked well except that the url's here on one of these files was pointed to the wrong printer. Here is the page for the latest drivers for the printing side of the MFC-240C:

http://solutions.brother.com/linux/en_us/download_prn.html#MFC-240C

Just scroll down to the proper printer and click on the file needed (deb extension), install them just as chrisby advised, and all should work well. Did for me once I figured out the intitial problem. Hope this helps all who are searching for a solution. Great post by the way chrisby, really simplifies things! Thank you!

manco1911
February 18th, 2009, 05:25 PM
Hi, im using Ubuntu 8.10 Intrepid Ibex, and the Brother MFC-240c
Printing works 100%
But when trying to scan with XSane i get :

"Failed to open device 'brother2:bus1;dev1':
Error during device I/O "

:(

I followed this thread instructions step by step..
What could be going on ?

manco1911
February 18th, 2009, 07:03 PM
ok, after trying all the tips on the tread, this is my result:

1) sudo dpkg -i --force-architecture mfc240clpr-1.0.1-1.i386.deb

"dpkg: error processing mfc240clpr-1.0.1-1.i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
mfc240clpr-1.0.1-1.i386.deb"

So, instead of c/p lines, i tryied to understand what was going on. (yes, im quite new to this, please be patient with me)

Obiusly the file is missing.
Thanksfully i could install the packages manualy (winstyle.. :oops:)

2) . Open "/etc/udev/rules.d/40-basic-permissions.rules" file.
. then locate the following lines:
# USB devices (usbfs replacement)
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
SUBSYSTEM=="usb_device", MODE="0664"

and change MODE="0664" to MODE="0666"

This aparently didnt do anything.. with 0666 or 0664 works.. either way.

So, the original packages worked 100% on Intrepid.
The issue i was having was that i had the printer pluged in a USB hub. If i plug it directly to one of the main USB it works printing/scanning.

How could i solve this? I mean.. been able to scan with the printer conected to de usb hub and not directly to de main USB?
BTW, i get the I/O error when pluged to the usb hub.

(didn't tested scanning from the button yet, will update this)


Thnks in advance guys