Preparing
sudo aa-complain cupsd
sudo mkdir /usr/share/cups/model
sudo ln -s /etc/init.d/cups /etc/init.d/lp
sudo mkdir /var/spool/lpd
sudo apt-get install ia32-libs
sudo apt-get install lib32stdc++6
sudo apt-get install sane-utils
sudo apt-get install psutils
Installation
wget http://www.brother.com/pub/bsc/linux/dlf/cupswrapperHL2270DW-2.0.4-2.i386.deb
wget http://www.brother.com/pub/bsc/linux/dlf/hl2270dwlpr-2.1.0-1.i386.deb
sudo dpkg -i --force-all hl2270dwlpr-2.1.0-1.i386.deb
sudo dpkg -i --force-all cupswrapperHL2270DW-2.0.4-2.i386.deb
dpkg -l | grep Brother
Checking
ping BRW0022581D3587
nmblookup BRW0022581D3587
If not working then
sudo vim /etc/nsswitch.conf
change
hosts: files dns
to
hosts: files wins dns
and install
sudo apt-get install winbind