Skip to content

Instantly share code, notes, and snippets.

@ssledz
Last active December 2, 2020 10:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssledz/cd5274cbc1edd601b5bf2e36c0a6591f to your computer and use it in GitHub Desktop.
Save ssledz/cd5274cbc1edd601b5bf2e36c0a6591f to your computer and use it in GitHub Desktop.

Installing printer Brother HL2270DW

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment