On a previous post, I was able to show you how to install Brother MFC-240C printer on Ubuntu. However, this device is not only a printer. It also has a scanner built on it. For the scanner to work on Ubuntu, follow these simple steps.
First, install sane and xsane packages.
sudo apt-get install sane xsane
XSane will be the program that will be used for the scanning later on.
Install the Brother Scanner driver that you have downloaded. Make sure that the executable bit of this package is enabled.
sudo dpkg -i brscan2-0.2.5-1.i386.deb
Grant permissions to the scanner using the command:
sudo gedit /lib/udev/rules.d/50-udev-default.rules
Search for the line containing # ‘libusb’ device nodes
Change MODE="0664" to MODE="0666"
Restart your computer and the scanner should work now. Logging off will not do the trick.
After the installation, you would notice that even after configuring the scanner properly, the START button on the printer would not trigger the system to start scanning. This is because you have to install the scan-key-tool package.
Make sure that this is executable and install the package.
sudo dpkg -i brscan-skey-0.2.1-3.i386.deb
Run the tool in the terminal
Make sure that it is running by issuing the command:
Press the START button on the printer and see if you get something like this from the console:
# scan from SCANNER(brother2:net1;dev0) to /root/brscan/brscan.sP7525 scanimage: rounded value of br-x from 215.9 to 215.88 scanimage: rounded value of br-y from 355.6 to 355.567
I really just have not figured out where this saves the file though.