Sunday, August 26, 2012

Automation with Brother Scanner on Ubuntu 12.04 + ArchLinux

So you've an All-In-One Printer/Scanner like me and you need to use brscan or brscan2 or brscan3 or brscan4 with the brscan-skey tool to get your Brother Scan to File/Image/Email etc working right?

First of, you need to find our the proper drivers for your scanner. I'm just gonna point you to the main page which is here > http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html

Eitherway, make sure to have these packages installed:
sane-utils
netpbm
*Actually. I don't even think you need GIMP. But it's good to have it installed anyway.
gimp
gimp-plugin-registry
gimp-resynthesizer


sudo add-apt-repository ppa:otto-kesselgulasch/gimp
sudo apt-get update
sudo apt-get install sane-utils
sudo apt-get install netpbm
sudo apt-get install gimp
sudo apt-get install gimp-plugin-registry
sudo apt-get install gimp-resynthesizer


*On another note, there are a lot of tutorials out there to get your scanner working and most of them are filled with information on how to do it. I'm only gonna show you how to customise the scripts. With a lot of information from Ray over at his blog > http://raywoodcockslatest.blogspot.sg/2010/05/scanning-functionality-for-brother-mfc.html

I copied his code and made modifications. For some weird reason his code didn't work out of the box for me so i had to modify it accordingly once i saw the original brother scripts. These are the scripts

These scripts can be found in directories residing inside /opt/scanner/..

Scantofile.sh


Scantoimage.sh


Credits to Ray!

EDIT:

So i still have my old laptop running linux but i recently needed the hard disk for something else and there's no hard disk in there. How about running linux off a thumbdrive? Sure! Just install ArchLinux onto it, install the packages and you're ready to go. I did however meet into some issues when i was trying to configure the Scantofile.sh script for mine. For some weird reason the pdf files just wouldn't convert properly and i was honestly too lazy to debug. So i just modified the Scantoimage.sh script and now we have a working Scantofile.sh script too. The script is below. The extra package you need is imagemagick.

Scantofile.sh Alternate

No comments:

Post a Comment