#
#
# 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 warning
# Administrator user group...
SystemGroup lpadmin
# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Restrict access to the server...
#
# Order allow,deny
# Allow localhost
# Allow @LOCAL
#
# Restrict access to the admin pages...
Order allow,deny
Allow localhost
# Restrict access to configuration files...
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow localhost
# Set the default printer/job policies...
# Job-related operations must be done by the owner or an adminstrator...
Require user @OWNER @SYSTEM
Order deny,allow
# All administration operations require an adminstrator to authenticate...
AuthType Basic
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
Order deny,allow
#
#
#
# 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
ServerName 192.168.0.1
ServerAdmin une_de_mes_adresses@free.fr
AccessLog /var/log/cups/access_log
DataDir /usr/share/cups
DefaultCharset notused
DefaultLanguage fr
DocumentRoot /usr/share/cups/doc-root
ErrorLog /var/log/cups/error_log
LogLevel info
Printcap /var/run/cups/printcap
RequestRoot /var/spool/cups
ServerBin /usr/lib/cups
ServerRoot /etc/cups
RunAsUser Yes
Port 631
Browsing on
BrowseAddress @LOCAL
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.0.*
AuthType Basic
AuthClass User
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1