--[/etc/cups/cupsd.conf]----------------------
#
#
# Sample configuration file for the Common UNIX Printing System (CUPS)
# scheduler. See "man cupsd.conf" for a complete description of this
# file.
#
# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel info #debug #warning
# Administrator user group...
SystemGroup lpadmin
# Only listen for connections from the local machine.
Listen localhost:631
Listen 172.16.0.104:631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL
BrowseAllow 172.16.0.0/24
# Default authentication type, when authentication is required...
DefaultAuthType Basic
DefaultEncryption Never # Required
# Restrict access to the server...
Order allow,deny
Allow localhost
Allow 172.16.0.0/24
# Restrict access to the admin pages...
Encryption Required
Require user @SYSTEM
Order allow,deny
Allow localhost
Allow 172.16.0.0/24
# Restrict access to configuration files...
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow localhost
Allow 172.16.0.0/24
# Set the default printer/job policies...
# Job-related operations must be done by the owner or an adminstrator...
Require user @OWNER @SYSTEM
Require group printers
Order deny,allow
Allow 172.16.0.0/24
# All administration operations require an adminstrator to authenticate...
AuthType Basic
Require user @SYSTEM
Order deny,allow
Allow 172.16.0.0/24
# Only the owner or an administrator can cancel or authenticate a job...
Require user @OWNER @SYSTEM
Order deny,allow
Allow 172.16.0.0/24
Order deny,allow
Allow 172.16.0.0/24
#
#
#
# Printcap: the name of the printcap file. Default is /etc/printcap.
# Leave blank to disable printcap file generation.
#
Printcap /var/run/cups/printcap
#
# PrintcapFormat: the format of the printcap file, currently either
# BSD or Solaris. The default is "BSD".
#
#PrintcapFormat BSD
#PrintcapFormat Solaris
#
# PrintcapGUI: the name of the GUI options panel program to associate
# with print queues under IRIX. The default is "/usr/bin/glpoptions"
# from ESP Print Pro.
#
# This option is only used under IRIX; the options panel program
# must accept the "-d printer" and "-o options" options and write
# the selected printer options back to stdout on completion.
#
#PrintcapGUI /usr/bin/glpoptions
------------------------------------------------------------------------------