Skip to content

Instantly share code, notes, and snippets.

@kstevens715
Created April 28, 2013 01:31
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kstevens715/5475443 to your computer and use it in GitHub Desktop.
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.
#!/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