📄 cupsd.conf.old
字号:
## "$Id: cupsd.conf.in,v 1.16 2004/08/18 17:53:47 mike Exp $"## Sample configuration file for the Common UNIX Printing System (CUPS)# scheduler.## Copyright 1997-2004 by Easy Software Products, all rights reserved.## These coded instructions, statements, and computer programs are the# property of Easy Software Products and are protected by Federal# copyright law. Distribution and use rights are outlined in the file# "LICENSE.txt" which should have been included with this file. If this# file is missing or damaged please contact Easy Software Products# at:## Attn: CUPS Licensing Information# Easy Software Products# 44141 Airport View Drive, Suite 204# Hollywood, Maryland 20636 USA## Voice: (301) 373-9600# EMail: cups-info@cups.org# WWW: http://www.cups.org########################################################################## ## This is the CUPS configuration file. If you are familiar with ## Apache or any of the other popular web servers, we've followed the ## same format. Any configuration variable used here has the same ## semantics as the corresponding variable in Apache. If we need ## different functionality then a different name is used to avoid ## confusion... ## ######################################################################################### Server Identity########## ServerName: the hostname of your server, as advertised to the world.# By default CUPS will use the hostname of the system.## To set the default server used by clients, see the client.conf file.##ServerName myhost.domain.com## ServerAdmin: the email address to send all complaints/problems to.# By default CUPS will use "root@hostname".##ServerAdmin root@your.domain.com################ Server Options########## AccessLog: the access log file; if this does not start with a leading /# then it is assumed to be relative to ServerRoot. By default set to# "/var/log/cups/access_log"## You can also use the special name "syslog" to send the output to the# syslog file or daemon.##AccessLog /var/log/cups/access_log## Classification: the classification level of the server. If set, this# classification is displayed on all pages, and raw printing is disabled.# The default is the empty string.##Classification classified#Classification confidential#Classification secret#Classification topsecret#Classification unclassified## ClassifyOverride: whether to allow users to override the classification# on printouts. If enabled, users can limit banner pages to before or# after the job, and can change the classification of a job, but cannot# completely eliminate the classification or banners.## The default is off.##ClassifyOverride off## DataDir: the root directory for the CUPS data files.# By default "/usr/share/cups".##DataDir /usr/share/cups## DefaultCharset: the default character set to use. If not specified,# defaults to "utf-8". Note that this can also be overridden in# HTML documents...##DefaultCharset utf-8## DefaultLanguage: the default language if not specified by the browser.# If not specified, the current locale is used.##DefaultLanguage en## DocumentRoot: the root directory for HTTP documents that are served.# By default "/usr/share/doc/cups-1.1.22".##DocumentRoot /usr/share/doc/cups-1.1.22## ErrorLog: the error log file; if this does not start with a leading /# then it is assumed to be relative to ServerRoot. By default set to# "/var/log/cups/error_log"## You can also use the special name "syslog" to send the output to the# syslog file or daemon.##ErrorLog /var/log/cups/error_log# LogFilePerm: determines the file mode to set log files to.#LogFilePerm 0600## FileDevice: determines whether the scheduler will allow new printers# to be added using device URIs of the form "file:/foo/bar". The default# is not to allow file devices due to the potential security vulnerability# and due to the fact that file devices do not support raw printing.##FileDevice No## FontPath: the path to locate all font files (currently only for pstoraster)# By default "/usr/share/cups/fonts".##FontPath /usr/share/cups/fonts## LogLevel: controls the number of messages logged to the ErrorLog# file and can be one of the following:## debug2 Log everything.# debug Log almost everything.# info Log all requests and state changes.# warn Log errors and warnings.# error Log only errors.# none Log nothing.#MaxLogSize 2000000000LogLevel info## MaxLogSize: controls the maximum size of each log file before they are# rotated. Defaults to 1048576 (1MB). Set to 0 to disable log rotating.##MaxLogSize 0## PageLog: the page log file; if this does not start with a leading /# then it is assumed to be relative to ServerRoot. By default set to# "/var/log/cups/page_log"## You can also use the special name "syslog" to send the output to the# syslog file or daemon.##PageLog /var/log/cups/page_log## PreserveJobHistory: whether or not to preserve the job history after a# job is completed, cancelled, or stopped. Default is Yes.##PreserveJobHistory Yes## PreserveJobFiles: whether or not to preserve the job files after a# job is completed, cancelled, or stopped. Default is No.##PreserveJobFiles No## AutoPurgeJobs: automatically purge jobs when not needed for quotas.# Default is No.##AutoPurgeJobs No## MaxCopies: maximum number of copies that a user can request. Default is# 100.##MaxCopies 100## MaxJobs: maximum number of jobs to keep in memory (active and completed.)# Default is 500; the value 0 is used for no limit.##MaxJobs 500## MaxJobsPerPrinter: maximum number of active jobs per printer. The default# is 0 for no limit.##MaxJobsPerPrinter 0## MaxJobsPerUser: maximum number of active jobs per user. The default# is 0 for no limit.##MaxJobsPerUser 0## MaxPrinterHistory: controls the maximum number of history collections# in the printer-state-history attribute. Set to 0 to disable history# data.##MaxPrinterHistory 10## Printcap: the name of the printcap file. Default is /etc/printcap.# Leave blank to disable printcap file generation.#Printcap /etc/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## RequestRoot: the directory where request files are stored.# By default "/var/spool/cups".##RequestRoot /var/spool/cups## RemoteRoot: the name of the user assigned to unauthenticated accesses# from remote systems. By default "remroot".##RemoteRoot remroot## ServerBin: the root directory for the scheduler executables.# By default "/usr/lib/cups".##ServerBin /usr/lib/cups## ServerRoot: the root directory for the scheduler.# By default "/etc/cups".##ServerRoot /etc/cups## ServerTokens: specifies what information in provided in the Server# header of HTTP responses. The default is Minor.## ServerTokens None# ServerTokens ProductOnly CUPS# ServerTokens Major CUPS/1# ServerTokens Minor CUPS/1.1# ServerTokens Minimal CUPS/1.1.22rc1# ServerTokens OS CUPS/1.1.22rc1 (uname)# ServerTokens Full CUPS/1.1.22rc1 (uname) IPP/1.1##ServerTokens Minor################ Fax Support########## FaxRetryLimit: the number of times a fax job is retried.# The default is 5 times.##FaxRetryLimit 5## FaxRetryInterval: the number of seconds between fax job retries.# The default is 300 seconds/5 minutes.##FaxRetryInterval 300################ Encryption Support########## ServerCertificate: the file to read containing the server's certificate.# Defaults to "/etc/cups/ssl/server.crt".##ServerCertificate /etc/cups/ssl/server.crt## ServerKey: the file to read containing the server's key.# Defaults to "/etc/cups/ssl/server.key".##ServerKey /etc/cups/ssl/server.key################ Filter Options########## User/Group: the user and group the server runs under. Normally this# must be lp and sys, however you can configure things for another# user or group as needed.## Note: the server must be run initially as root to support the# default IPP port of 631. It changes users whenever an external# program is run, or if the RunAsUser directive is specified...##User lp#Group sys## RIPCache: the amount of memory that each RIP should use to cache# bitmaps. The value can be any real number followed by "k" for# kilobytes, "m" for megabytes, "g" for gigabytes, or "t" for tiles# (1 tile = 256x256 pixels.) Defaults to "8m" (8 megabytes).##RIPCache 8m## TempDir: the directory to put temporary files in. This directory must be# writable by the user defined above! Defaults to "/var/spool/cups/tmp" or# the value of the TMPDIR environment variable.##TempDir /var/spool/cups/tmp## FilterLimit: sets the maximum cost of all job filters that can be run# at the same time. A limit of 0 means no limit. A typical job may need# a filter limit of at least 200; limits less than the minimum required# by a job force a single job to be printed at any time.## The default limit is 0 (unlimited).##FilterLimit 0################ Network Options########## Ports/addresses that we listen to. The default port 631 is reserved# for the Internet Printing Protocol (IPP) and is what we use here.## You can have multiple Port/Listen lines to listen to more than one# port or address, or to restrict access:## Port 80# Port 631# Listen hostname# Listen hostname:80# Listen hostname:631# Listen 1.2.3.4# Listen 1.2.3.4:631# # NOTE: Unfortunately, most web browsers don't support TLS or HTTP Upgrades# for encryption. If you want to support web-based encryption you'll# probably need to listen on port 443 (the "https" port...)## NOTE 2: In order for the command-line and web interfaces to work, you# must have at least one Port or Listen line that allows access from the# local loopback address (localhost).##Port 80#Port 443## HostNameLookups: whether or not to do lookups on IP addresses to get a# fully-qualified hostname. This defaults to Off for performance reasons...#
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -