|
|
@@ -0,0 +1,142 @@
|
|
|
+##
|
|
|
+## @l_prefix@/etc/cups/cupsd.conf
|
|
|
+##
|
|
|
+
|
|
|
+#
|
|
|
+# Server identity
|
|
|
+#
|
|
|
+
|
|
|
+#ServerName myhost.domain.com
|
|
|
+#ServerAdmin root@your.domain.com
|
|
|
+
|
|
|
+#
|
|
|
+# Server options
|
|
|
+#
|
|
|
+
|
|
|
+# User/group setting when running external commands like filters
|
|
|
+#User @l_musr@
|
|
|
+#Group @l_mgrp@
|
|
|
+
|
|
|
+# Name of the user assigned to unauthenticated accesses from remote systems.
|
|
|
+#RemoteRoot remroot
|
|
|
+
|
|
|
+LogLevel info
|
|
|
+#AccessLog @l_prefix@/var/cups/log/access_log
|
|
|
+#ErrorLog @l_prefix@/var/cups/log/error_log
|
|
|
+#PageLog @l_prefix@/var/cups/log/page_log
|
|
|
+
|
|
|
+#DataDir @l_prefix@/share/cups
|
|
|
+#DocumentRoot @l_prefix@/share/doc/cups
|
|
|
+#FontPath @l_prefix@/share/cups/fonts
|
|
|
+#RequestRoot @l_prefix@/var/cups/spool
|
|
|
+#ServerBin @l_prefix@/libexec/cups
|
|
|
+#ServerRoot @l_prefix@/etc/cups
|
|
|
+#TempDir @l_prefix@/var/cups/spool/tmp
|
|
|
+
|
|
|
+# Automatic printcap generation - specify suitable file, e.g. /etc/printcap
|
|
|
+# or disable file generation by leaving blank.
|
|
|
+Printcap
|
|
|
+
|
|
|
+# Format of the printcap file, currently either BSD or Solaris.
|
|
|
+PrintcapFormat BSD
|
|
|
+
|
|
|
+#DefaultCharset utf-8
|
|
|
+#DefaultLanguage en
|
|
|
+
|
|
|
+#MaxCopies 100
|
|
|
+#MaxJobs 500
|
|
|
+
|
|
|
+#RIPCache 8m
|
|
|
+
|
|
|
+#PreserveJobHistory Yes
|
|
|
+#PreserveJobFiles No
|
|
|
+#AutoPurgeJobs No
|
|
|
+
|
|
|
+#
|
|
|
+# Network options
|
|
|
+#
|
|
|
+
|
|
|
+Listen 127.0.0.1:631
|
|
|
+
|
|
|
+#HostNameLookups On
|
|
|
+
|
|
|
+#MaxClients 100
|
|
|
+#MaxClientsPerHost 0
|
|
|
+#MaxRequestSize 0
|
|
|
+
|
|
|
+#KeepAlive On
|
|
|
+#KeepAliveTimeout 60
|
|
|
+#Timeout 300
|
|
|
+
|
|
|
+#
|
|
|
+# Browsing options
|
|
|
+#
|
|
|
+
|
|
|
+Browsing On
|
|
|
+BrowseProtocols cups
|
|
|
+BrowseShortNames Yes
|
|
|
+
|
|
|
+BrowseAddress @LOCAL
|
|
|
+BrowsePort 631
|
|
|
+
|
|
|
+BrowseInterval 30
|
|
|
+BrowseTimeout 300
|
|
|
+
|
|
|
+BrowseOrder allow,deny
|
|
|
+BrowseAllow All
|
|
|
+BrowseDeny None
|
|
|
+
|
|
|
+ImplicitClasses On
|
|
|
+ImplicitAnyCLasses Off
|
|
|
+HideImplicitMembers On
|
|
|
+
|
|
|
+#
|
|
|
+# Security Options
|
|
|
+#
|
|
|
+
|
|
|
+#ServerCertificate @l_prefix@/etc/cups/ssl/server.crt
|
|
|
+#ServerKey @l_prefix@/etc/cups/ssl/server.key
|
|
|
+
|
|
|
+SystemGroup @l_sgrp@
|
|
|
+
|
|
|
+<Location />
|
|
|
+ AuthType None
|
|
|
+ Order Deny,Allow
|
|
|
+ Deny From All
|
|
|
+ Allow From 127.0.0.1
|
|
|
+</Location>
|
|
|
+
|
|
|
+<Location /admin>
|
|
|
+ AuthType Basic
|
|
|
+ AuthClass System
|
|
|
+ Encryption IfRequested
|
|
|
+ Order Deny,Allow
|
|
|
+ Deny From All
|
|
|
+ Allow From 127.0.0.1
|
|
|
+</Location>
|
|
|
+
|
|
|
+#<Location /classes>
|
|
|
+# You may wish to limit access to printers and classes, either with Allow
|
|
|
+# and Deny lines, or by requiring a username and password.
|
|
|
+#</Location>
|
|
|
+
|
|
|
+#<Location /classes/name>
|
|
|
+# You may wish to limit access to printers and classes, either with Allow
|
|
|
+# and Deny lines, or by requiring a username and password.
|
|
|
+#</Location>
|
|
|
+
|
|
|
+#<Location /jobs>
|
|
|
+# You may wish to limit access to job operations, either with Allow
|
|
|
+# and Deny lines, or by requiring a username and password.
|
|
|
+#</Location>
|
|
|
+
|
|
|
+#<Location /printers>
|
|
|
+# You may wish to limit access to printers and classes, either with Allow
|
|
|
+# and Deny lines, or by requiring a username and password.
|
|
|
+#</Location>
|
|
|
+
|
|
|
+#<Location /printers/name>
|
|
|
+# You may wish to limit access to printers and classes, either with Allow
|
|
|
+# and Deny lines, or by requiring a username and password.
|
|
|
+#</Location>
|
|
|
+
|