Setting up a Brother HL-2140 printer on Ubuntu 11.04 64bit

This took a bit of detective work and piecing of various posts together, but basically:

sudo apt-get install ia32-libs
sudo mkdir /usr/share/cups/model/
mkdir ~/scratch
mkdir ~/scratch/brother
cd ~/scratch/brother
dpkg -x brhl2140lpr-2.0.2-1.i386.deb common
dpkg --control brhl2140lpr-2.0.2-1.i386.deb
vim DEBIAN/control #(remove the "Dependency: libc ..." line)
cp -a DEBIAN/ common/
dpkg -b common brhl2140lpr-2.0.2-1.i386.deb
sudo dpkg --force-all -i brhl2140lpr-2.0.2-1.i386.deb
rm -rf common/ DEBIAN/
dpkg -x cupswrapperHL2140-2.0.2-1.i386.deb common
dpkg --control cupswrapperHL2140-2.0.2-1.i386.deb
vim DEBIAN/control #(remove the "Dependency: libc ..." line)
cp -a DEBIAN/ common/
dpkg -b common/ cupswrapperHL2140-2.0.2-1.i386.deb
sudo dpkg --force-all -i cupswrapperHL2140-2.0.2-1.i386.deb


  1. matt says:

    I executed these commands in 11.10 amd64 and they worked perfectly (so far). THANK YOU!!!!!!!!!!!!!!

  2. cmcanulty says:

    please help. I followed all the steps until the vim remove line and now I have no idea how to use vim. i read the tutorial but don’t understand it at all. Is there a way to use gedit for that step?please explain exactly how to do that. I have an important document to print for work. My printer worked fine until I upgraded to 12.04.thank you

  3. cmcanulty says:

    scratch that I got it to work but I hate vim it is very hard to use thank you!

    • specky says:

      Yes it has a really steep learning curve, but it is really handy being able to do these things over an SSH link…FYI, you can use any text editor, such as gedit, to make the changes. Glad I could help.

  4. cmcanulty says:

    I just had the brother 2140 stop working again jobs sit forever in queue. I did all your steps but now nothing. I am running ubuntu 64bit 12.04 classic. Thanks

Leave a Reply to cmcanulty


Contact Nixz Kerr