Skip to content

Instantly share code, notes, and snippets.

@e3krisztian
Created May 16, 2016 13:05
Show Gist options
  • Select an option

  • Save e3krisztian/5c42e696251bd2a7530337ea4e62e3d5 to your computer and use it in GitHub Desktop.

Select an option

Save e3krisztian/5c42e696251bd2a7530337ea4e62e3d5 to your computer and use it in GitHub Desktop.
#!/bin/bash
# This worked kind of, now brother suggests using another driver - HL-1118
# https://www.reddit.com/r/linuxquestions/comments/2pupp3/linux_print_driver_for_brother_hl1110/
# http://support.brother.com/g/s/id/linux/en/download_prn.html#HL-1110
# exit on error
set -e
wget http://www.brother.com/pub/bsc/linux/dlf/hl1110cupswrapper-3.0.1-1.i386.rpm
wget http://www.brother.com/pub/bsc/linux/dlf/hl1110lpr-3.0.1-1.i386.rpm
md5sum -c <<EOF
408d8e586432cdc1c3d5e04283c5bef1 hl1110cupswrapper-3.0.1-1.i386.rpm
0ccaf3d18e75a27b5902682410dfc145 hl1110lpr-3.0.1-1.i386.rpm
EOF
fakeroot alien hl1110cupswrapper-3.0.1-1.i386.rpm
fakeroot alien hl1110lpr-3.0.1-1.i386.rpm
sudo dpkg -i hl1110lpr_3.0.1-2_i386.deb
sudo dpkg -i hl1110cupswrapper_3.0.1-2_i386.deb
sudo ln -s /opt/brother/Printers/HL1110/cupswrapper/brother-HL1110-cups-en.ppd /usr/share/ppd/custom/
sudo ln -s /opt/brother/Printers/HL1110/cupswrapper/brother_lpdwrapper_HL1110 /usr/lib/cups/filter/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment