Skip to content

Instantly share code, notes, and snippets.

@triple-j
Last active March 12, 2016 03:39
Show Gist options
  • Save triple-j/5312f2e5ee090d6c699d to your computer and use it in GitHub Desktop.
Save triple-j/5312f2e5ee090d6c699d to your computer and use it in GitHub Desktop.
Setup RaspPI as a print server
#!/bin/sh
sudo apt-get install --yes cups cups-pdf hplip
sudo usermod -a -G lpadmin $USER
sudo usermod -a -G lp $USER
sudo cupsctl --remote-any
sudo /etc/init.d/cups restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment