LogLevel info
PageLogFormat %p %u %j %P %C %{job-originating-host-name} %{job-name} %{media} %{sides}
ServerName ${fqdn}
ServerAdmin ${cups_server_admin}
$([ -n "${cnames:-}" ] && printf "ServerAlias %s.${domain}\n" $cnames)
# Specifies the maximum size of the log files before they are rotated. The value "0" disables log rotation.
MaxLogSize 1m
# Default error policy for printers
ErrorPolicy retry-job
Listen 80
Listen 631
Listen /var/run/cups/cups.sock
SSLPort 443
# Show shared printers on the local network.
Browsing Off
BrowseLocalProtocols none
# Default authentication type, when authentication is required...
DefaultAuthType Basic
DefaultShared yes
DefaultEncryption Required
# Web interface setting...
WebInterface Yes
# Restrict access to the server...
Order allow,deny
Allow from All
# Restrict access to the admin pages...
AuthType Default
Allow from All
Require user @SYSTEM
Order allow,deny
# Set the default printer/job policies...
# Job/subscription privacy...
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
# Job-related operations must be done by the owner or an administrator...
Order deny,allow
Require user @OWNER @SYSTEM
Order deny,allow
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
# All administration operations require an administrator to authenticate...
AuthType Default
Require user @SYSTEM
Order deny,allow
# All printer operations require a printer operator to authenticate...
AuthType Default
Require user @SYSTEM
Order deny,allow
# Only the owner or an administrator can cancel or authenticate a job...
Require user @OWNER @SYSTEM
Order deny,allow
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
Order deny,allow