During installation of Squeeze AMD64, the printer drivers could not be automatically found, and some other drivers (for some previous model) where advised. They don’t work well at all...
So I created this script. It will handle the installation of the drivers correctly.
The main problem was that DCP-7030 only had i386 drivers available, they seem to work flawlessly on AMD64, just had to use -force-architecture while installing.
I also installed the scanner, including the trigger for the 'SCAN' button (skey), while I was at it:
Code: Select all
#!/bin/sh
echo 'Brother DC-7030 installer for AMD-64'
#download debs for 7030 from Brother, check their site if you have a different model
wget http://www.brother.com/pub/bsc/linux/dlf/brdcp7030lpr-2.0.2-1.i386.deb
wget http://www.brother.com/pub/bsc/linux/dlf/cupswrapperDCP7030-2.0.2-1.i386.deb
wget http://www.brother.com/pub/bsc/linux/dlf/brscan3-0.2.11-4.amd64.deb
wget http://www.brother.com/pub/bsc/linux/dlf/brscan-skey-0.2.1-3.amd64.deb
#next line is part of tip from https://bugs.launchpad.net/ubuntu/+source/cups/+bug/701856 don’t know if it is necessary:
sudo mkdir /usr/share/cups/model
#prerequisite for Ubuntu/Debian according to http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/before.html#004
sudo apt-get install lib32stdc++6
#instal lpr
sudo dpkg -i --force-all --force-architecture brdcp7030lpr-2.0.2-1.i386.deb
#install cupswrapper
sudo dpkg -i --force-all --force-architecture cupswrapperDCP7030-2.0.2-1.i386.deb
#install scanner:
#prerequisite for Ubuntu/Debian according to http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/before.html#101
sudo dpkg -i --force-all brscan3-0.2.11-4.amd64.deb
sudo dpkg -i --force-all brscan-skey-0.2.1-3.amd64.deb
#according to http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/instruction_scn1c.html#d6
sudo echo ' ' >> /lib/udev/rules.d/60-libsane.rules
sudo echo '#Brother scanner' >> /lib/udev/rules.d/60-libsane.rules
sudo echo 'ATTRS{idVendor}=="04f9", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"' >> /lib/udev/rules.d/60-libsane.rules
sudo brscan-skey #start scanner-key program. Check /usr/local/Brother/sane/scripts to see where the images end up.
sudo brscan-skey -l #list scanner
#all finished, cleanup
sudo rm brdcp7030lpr-2.0.2-1.i386.deb
sudo rm cupswrapperDCP7030-2.0.2-1.i386.deb
sudo rm brscan3-0.2.11-4.amd64.deb
sudo rm brscan-skey-0.2.1-3.amd64.deb
echo 'Done: check printer functions at'
echo 'http://localhost:631'