Tutorial

CUPS di Raspberry

Install

sudo apt-get install cups -y

Edit

sudo nano /etc/cups/cupsd.conf
# listen on all interfaces
#Listen localhost:631# Restrict access to the server...
<Location />
  Order allow,deny
  Allow @Local
</Location>


# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
  Allow @Local
</Location>


# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
  Allow @Local
</Location>

Tahap akhir

sudo usermod -a -G lpadmin pi
sudo cupsctl --remote-any
sudo /etc/init.d/cups restart

Related Article

Pradja DJ

M untuk Mini dan W untuk Wumbo

Leave a Reply

Your email address will not be published.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Back to top button
Advertisment ad adsense adlogger