Skip to content

Instantly share code, notes, and snippets.

@MrityunjaiKumar
Last active November 4, 2016 19:39
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 MrityunjaiKumar/95febffd6c59877cb943de66ffd348dc to your computer and use it in GitHub Desktop.
Save MrityunjaiKumar/95febffd6c59877cb943de66ffd348dc to your computer and use it in GitHub Desktop.
sudo apt-get install cups
sudo usermod -a -G lpadmin pi
http://www.openprinting.org/printer/samsung/samsung-ML-4500
http://www.openprinting.org/ppd-o-matic.php?driver=gdi&printer=samsung-ML-4500&show=0
< Location / >
# Restrict access to the server...
Order allow,deny
*Allow @local
< /Location >
< Location /admin >
# Restrict access to the admin pages...
Order allow,deny
*Allow @local
< /Location >
< Location /admin/conf >
AuthType Default
Require user @SYSTEM
# Restrict access to the configuration files...
Order allow,deny
*Allow @local
< /Location >
sudo /etc/init.d/cups restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment