Created
April 28, 2013 01:31
-
-
Save kstevens715/5475443 to your computer and use it in GitHub Desktop.
Script to install an MFC-J835DW printer on a 64-bit instal of Ubuntu 13.04. Should be compatible with earlier versions as well.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Step 5b. (for Network Connection) Configure your printer on the cups web interface | |
# 5b-1. Open a web browser and go to "http://localhost:631/printers". | |
# 5b-2. Click "Modify Printer" and set following parameters. | |
# | |
# - "LPD/LPR Host or Printer" or "AppSocket/HP JetDirect" for Device | |
# - lpd://192.168.1.8/binary_p1 for Device URI | |
# - Brother for Make/Manufacturer Selection | |
# - Your printer's name for Model/Driver Selection | |
sudo apt-get install apparmor-utils ia32-libs curl | |
sudo aa-complain cupsd | |
sudo ln -s /etc/init.d/cups /etc/init.d/lpd | |
sudo mkdir /var/spool/lpd | |
curl -O http://www.brother.com/pub/bsc/linux/dlf/mfcj835dwlpr-3.0.0-1.i386.deb | |
curl -O http://www.brother.com/pub/bsc/linux/dlf/mfcj835dwcupswrapper-3.0.0-1.i386.deb | |
sudo dpkg -i --force-all mfcj835dwlpr-3.0.0-1.i386.deb | |
sudo dpkg -i --force-all mfcj835dwcupswrapper-3.0.0-1.i386.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl -L https://gist.github.com/kstevens715/5475443/raw/f88e16daae617dbeb73cd2780acbd487c06a0d7e/mfcj835dw.sh | bash