LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Blogs > trillobyte
User Name
Password

Notices

Rating: 4 votes, 4.00 average.

Installing a Brother MFC-J220 printer in Slackware 3.1 32bit

Posted 03-03-2011 at 12:19 PM by trillobyte
Updated 04-29-2013 at 10:44 AM by trillobyte (Updated 04/29/2013)

Distribution: Slackware 13.1 (Update) These procedures relate to Slackware 14.0 64bit as well.
Distribution Edition: 32bit
Driver: mfcj220lpr-1.1.1-1.i386.rpm
Driver: mfcj220cupswrapper-1.1.1-3.i386.rpm
Driver: brscan3-0.2.11-4.i386.rpm
Driver: brscan-skey-0.2.1-3.i386.rpm
SANE version: Sane-1.0.21
CUPS version: cups-1.4.5
***Note***For 64bit Slackware you will need to install at least the glibc-solibs-2.15_multilib-x86_64-7alien.txz and cups-compat32-1.5.4-x86_64-2compat32.txz packages from http://taper.alienbase.nl/mirrors/pe...multilib/14.0/because Brother drivers are only 32bit.

Download the drivers here: http://welcome.solutions.brother.com...nload_prn.html

The printer needs the scanner driver and scan-key-tool for brscan3 models.
Download from here: http://welcome.solutions.brother.com...nload_scn.html
Make sure you download the drivers that are available in the rpm format.

Create a sym link. 'ln -s /etc/rc.d/rc.cups /etc/rc.d/init.d/cups'. This
allows the CUPS daemon to be stopped and started during driver installation.

Run scripts from within a C shell rather than bash. i.e. at the bash prompt,
type 'csh'. The rpm format expects install scripts to run in a C shell.

Convert the rpm packages to native Slackware tgz packages using rpm2tgz.
Example: rpm2tgz -c -n -d mfcj220lpr-1.1.1-1.i386.rpm
Example: rpm2tgz -c -n -d mfcj220cupswrapper-1.1.1-3.i386.rpm

Install the newly created packages.
Note: you must install the LPR package first per Brothers instructions.

Change to the cupswrapper directory

Code:
cd /opt/brother/Printers/mfcj220/cupswrapper/
Now, run the cups wrapper

Code:
./cupswrappermfcj220
You should see that cups was restarted and all you have to do now is setup your printer with "localhost:631" from your
web-browser.

************************SETTING UP THE SCANNER*************************************

Convert the rpm packages to native Slackware tgz packages using rpm2tgz.
Example: rpm2tgz brscan3-0.2.11-4.i386.rpm
Install the newly created package.

Change to the sane directory.

Code:
cd /usr/local/Brother/sane
Now, run the setupSaneScan3 file

Code:
./setupSaneScan3 -i
less /etc/sane.d/dll.conf <------- You should see an entry for brother3 in the list.

In order for a normal user to use the scanner you must add the following line to
/lib/udev/rules.d/80-libsane.rules.

Code:
# Brother MFC-J220
ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="0259", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
You only need to know the idProduct which can be obtained from the output of 'lsusb' Also, remember that for a normal user to be able to use the scanner, they need to be a member of the 'scanner' group. Upon reconnection, the presence of the udev rule should trigger the creation of the appropriate device file entries for the scanner to be accessed.

***********SETTING UP BRSCAN-SKEY <-----Scanning to a File******************

Convert the rpm packages to native Slackware tgz packages using rpm2tgz.
Example: rpm2tgz brscan-skey-0.2.1-3.i386.rpm
Install the newly created package.

Change to the sane directory.

Code:
cd /opt/brother/scanner/brscan-skey
run brscan-skey-0.2.1-3.sh

Code:
./brscan-skey.0.2.1-3.sh
This creates a brscan-skey-0.2.1-3.cfg file in the same folder.

UPDATE. Special thanks to User Francoise who has informed me that Brother Solutions now installs brscan-skey to /opt/brother/scanner.

That's it! To run the server daemon, type brscan-skey. You should now be able to scan by using your printer's
scan button. For more information go to this page: http://www.linuxplanet.org/blogs/?cat=1354

Note: The MFC-J220 has a built-in fax. No PC required.
Posted in Uncategorized
Views 9798 Comments 3
« Prev     Main     Next »
Total Comments 3

Comments

  1. Old Comment
    Change to the sane directory.

    Code:

    cd /usr/local/Brother/sane

    run brscan-skey-0.2.1-3.sh

    Code:

    ./brscan-skey.0.2.1-3.sh

    This creates a brscan-skey-0.2.1-3.cfg file in the same folder.

    That's it! To run the server daemon, type brscan-skey. You should now be able to scan by using your printer's

    **************************************************************************************************** ***********

    That part simply does not work for me.

    Once I install brscan-skey-0.2.3-0.i386 the packages are installed in /opt/brother/scanner/ instead of /usr/local/Brother/sane. In addition, moving the files in /usr/local/Brother/sane will not do a better job, then keeping them in the /opt folder to start the bash file brscan-skey-0.2.3-0.sh. I get nothing at the command :brscan-skey.

    If anyone has some suggestion, it will be appreciated.
    Posted 08-18-2012 at 01:09 AM by francois.e francois.e is offline
  2. Old Comment
    It seems Brother has now installed brscan-skey to /opt/brother/scanner like you stated. Blog updated. Thanks.
    Posted 08-20-2012 at 10:48 PM by trillobyte trillobyte is offline
  3. Old Comment
    @trillobyte:

    Thanks for mentioning me.

    I return to this post a year later. I would like so much to be able to get the brscan-skey to work. Alas, it does not. Here is the output:
    Code:
    root@porteus:/mnt/sda5/32bit_v21/porteus/modules# cd /opt/brother/scanner/brscan-skey/
    root@porteus:/opt/brother/scanner/brscan-skey# ls
    brscan-skey*          brscan-skey-0.2.4-0.cfg  brscan_mail.config      script/
    brscan-skey-0.2.4-0*  brscan-skey-0.2.4-1.sh*  brscan_mailmessage.txt
    root@porteus:/opt/brother/scanner/brscan-skey# ./brscan-skey-0.2.4-1.sh
    root@porteus:/opt/brother/scanner/brscan-skey# brscan-skey 
    bash: brscan-skey: command not found
    root@porteus:/opt/brother/scanner/brscan-skey# 
    
    Any suggestion?
    
    Thanks.
    Posted 07-26-2013 at 11:00 PM by francois.e francois.e is offline
    Updated 07-26-2013 at 11:02 PM by francois.e
 

  



All times are GMT -5. The time now is 11:42 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration