Howto set up Brother printer/scanners (Debian)

Share your wisdom. Not for support questions!

Moderator: How-to Curator

Howto set up Brother printer/scanners (Debian)

Postby bmc5311 » November 13th, 2011, 5:14 pm

How to set up Brother printers & printer/scanners (all-in-ones)
Discussion thread can be found here:
http://www.debianuserforums.org/viewtopic.php?f=24&t=1492
It seems that Brother has aimed most of their new drivers at ubuntu, they are listed as debian/ubuntu, but the actual install is for ubuntu (and we all know ubuntu is not debian). If you follow the directions at the Brother website, it won't work for Debian as written, the instructions below have been customized for Debian testing (wheezy at the time this howto was written).
---------------------------
Download the drivers from here:
http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html
---------------------------
Printer - install printer driver:
Code: Select all
dpkg  -i  --force-all  (lpr-drivername)

Code: Select all
dpkg  -i  --force-all  (cupswrapper-drivername)

**note: you'll have to use "force-all" if you are installing a 32bit driver on a 64bit system, if your not, then don't use it.

Check to see if it's installed:
Code: Select all
dpkg -l | grep Brother

my output:
More: show
Code: Select all
ii  brhl2150nlpr                       2.0.2-1                          Brother HL-2150N LPR driver
ii  brscan2                              0.2.5-1                          Brother Scanner Driver
ii  cupswrapperhl2150n           2.0.2-1                          Brother HL2150N CUPS wrapper driver
ii  mfc885cwcupswrapper        1.0.1-1                          Brother CUPS Inkjet Printer Definitions
ii  mfc885cwlpr                       1.0.1-1                          Brother lpr Inkjet Printer Definitions
**Note: above is mine, yours will be different.

**For Network Connection:
Code: Select all
nano /etc/printcap

replace ":lp" line with the following 2 lines
:rm=(ip address of your printer)\
:rp=lp\

set up the driver in CUPS
http://localhost:631/
- remember to login as "root"
---------------------------
Scanner - install scanner driver:
Code: Select all
dpkg  -i  --force-all  (scanner-drivername)

**note: you'll have to use "force-all" if you are installing a 32bit driver on a 64bit system, if your not, then don't use it.

**For Network Connection (this is for Brother's brsane2 drivers - yours may be brsane or brsane3):
Code: Select all
brsaneconfig2  -a  name=(name  your  device)  model=(model  name)  ip=xx.xx.xx.xx


RTFM (man sane) -
Code: Select all
sane-find-scanner -q

my output:
found USB scanner (vendor=0x04f9, product=0x01da) at libusb:001:005

**Note: above is for my scanner, yours will be different.

If installing on a 64bit system:
copy the following files from /usr/lib64/ to /usr/lib/.
libbrcolm2.so
libbrcolm2.so.1.0.1
libbrscandec2.so.1
libbrcolm2.so.1
libbrscandec2.so
libbrscandec2.so.1.0.0

Code: Select all
mkdir /usr/lib/sane

Copy the following files from /usr/lib64/sane/ to /usr/lib/sane/.
libsane-brother2.so
libsane-brother2.so.1
libsane-brother2.so.1.0.7

add user to group "scanner"

Make a new udev rule to give normal users (not root) access to the scanner:
Code: Select all
nano /etc/udev/rules.d/10-scanner.rules

put this in it:
Code: Select all
ATTR{idVendor}=="0x04f9"
ATTR{idProduct}=="0x01da"
GROUP:="scanner", Mode:="660"

EDITED 01/07/2012 - seems that for some reason the Mode:="660" gives a udev error and a regular user is unable to scan. I removed [, Mode:="660"] and all works again as it should. I'm now running sid, the original howto was written when I was running testing, not sure if that makes a difference..?

**Note: the above is for my scanner, the rule will have to be customized to your paticular unit.
---------------------------

That should do it.
MacBook Air / sid amd64 / openbox
2006 mac mini / stable / openbox (paid $50 for it)...
broken hpdv6200 motherboard screwed to the wall in my garage / sid amd64 / gnome shell
http://img823.imageshack.us/i/garagecomputer.jpg/
User avatar
bmc5311
 
Posts: 468
Joined: February 12th, 2011, 1:07 am
Location: lost in the vast machine

Return to HowTo

Who is online

Users browsing this forum: No registered users and 1 guest

x