adding a brother multifunction device via cups/sane on arch

To add a brother printer on an arch linux, you need the packages cups, ghostscript, gsfonts, foomatic-filters and arch x86_64 requires lib32-libcups. if you got cups installed, you need to add yourself to the cups admin group in /etc/cups/cupsd.conf. I added the group wheel:

SystemGroup sys root wheel

also you have to download the lpr and cupswrapper files from the brother driver page. if you take the .deb-files, you have to extract them via

# ar x *cupswrapper*.deb
# tar xfz *.gz

for both. or you can take the .rpm-files and use the package “rpmextract.sh” to extract these. then you need to change the location of cups in the cupswrapper script. cups is on arch in /etc/rc.d/cupsd not /etc/init.d/cups. now put the extracted files in your system, e.g.

# cp -r /path/to/extract/dir/usr/ /usr/
# cp -r /path/to/extract/dir/opt/ /opt/

now you can start the cupswrapper script as root. after cups was restarted, you can see on http://localhost:631 under “administration>manage printers” your printer. but it is installed for an usb connection. if you got network access, you need to modify the printer and use the option “other network printers>LPD/LPR Host or Printer”. there you need to write lpd:///BINARY_P1 , it did not worked with a dns name for me. in the next step press modify printer and try to print something.

to add the scanner, you need to install the brscan[1-4] package, which is suitable for your device via aur (makepkg -s, pacman -U *tar.xz). then execute (scanner model could be DCP-770CW)

# /usr/local/Brother/sane/setupSaneScan[1-4] -i
# brsaneconfig[1-4] -a name=SCANNERNAME model=SCANNERMODEL ip=IPADDRESS

You can test if your printer is now know via

# scanimage -L

sources

https://wiki.archlinux.org/index.php/Scanner_setup_%26_configure
https://wiki.archlinux.org/index.php/Brother_DCP-135C
https://wiki.archlinux.org/index.php/Brother_DCP-7020
https://wiki.archlinux.org/index.php/Brother_MFC-420CN
https://wiki.archlinux.de/title/Brother_Drucker

Advertisements

~ by frankooh on 2012-05-02T14:33:49+00:00.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: