Skip to content

Instantly share code, notes, and snippets.

@Eldius
Created September 18, 2016 01:31
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 Eldius/8d83866f8e9fdfc8f44ee3f793f9034a to your computer and use it in GitHub Desktop.
Save Eldius/8d83866f8e9fdfc8f44ee3f793f9034a to your computer and use it in GitHub Desktop.
config_printer.sh
#!/bin/bash
# source <(curl -s https://www.dropbox.com/s/s7vt4je9c4w4v0n/config_printer.sh?dl=0)
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y wget curl joe cups hplip
sudo cupsctl --remote-any
sudo cupsctl --remote-admin
sudo usermod -a -G lpadmin pi
sudo /etc/init.d/cups restart
echo execute "sudo hp-setup -i -a"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment