Last active
November 4, 2016 19:39
-
-
Save MrityunjaiKumar/95febffd6c59877cb943de66ffd348dc to your computer and use it in GitHub Desktop.
This file contains 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
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