From: Michael R Sweet Backends are a special type of
-filter(7)
+filter(7)
which is used to send print data to and discover different devices on the system.
Description
In addition to the environment variables listed in -cups(1) +cups(1) and -filter(7), +filter(7), CUPS backends can expect the following environment variable:
@@ -203,24 +203,24 @@ Backends can also be installed with restricted permissions (0500 or 0700) that tUnless you are a developer and know what you are doing, please do not run backends directly. Instead, use the -lp(1) +lp(1) or -lpr(1) +lpr(1) programs to send print jobs or -lpinfo(8) +lpinfo(8) to query for available printers using the backend. The one exception is the SNMP backend - see -cups-snmp(8) +cups-snmp(8) for more information.
CUPS printer drivers and backends are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using applications such as -ippeveprinter(1). +ippeveprinter(1).
Administrators wishing to prevent unauthorized cancellation of jobs via the -u option should require authentication for Cancel-Jobs operations in -cupsd.conf(5). +cupsd.conf(5).
cupsd.conf(5),
+ cupsd.conf(5),
The classes.conf file defines the local printer classes that are available. It is normally located in the /etc/cups directory and is maintained by the -cupsd(8) +cupsd(8) program. This file is not intended to be edited or managed manually. @@ -21,17 +21,17 @@ This file is not intended to be edited or managed manually.
The name, location, and format of this file are an implementation detail that will change in future releases of CUPS.
cupsd(8),
+ cupsd(8),
On Linux and other systems using GNU TLS, the /etc/cups/ssl/site.crl file, if present, provides a list of revoked X.509 certificates and is used when validating certificates.
cups(1),
+ cups(1),
cups(1),
+ cups(1),
The cups-files.conf file configures the files and directories used by the CUPS scheduler, -cupsd(8). +cupsd(8). It is normally located in the /etc/cups directory.
@@ -22,7 +22,7 @@ Comment lines start with the # character.The following directives are understood by -cupsd(8): +cupsd(8):
AccessLog
@@ -246,21 +246,21 @@ command, while on macOS the
command is used instead.
classes.conf(5),
+ classes.conf(5),
cups(1),
+ cups(1),
The Community and DebugLevel directives are used by all backends. The remainder apply only to the SNMP backend - -cups-snmp(8). +cups-snmp(8).
CUPS backends are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using applications such as -ippeveprinter(1). +ippeveprinter(1).
cups-snmp(8),
+ cups-snmp(8),
In the second form, the SNMP backend is run indirectly using the -lpinfo(8) +lpinfo(8) command. The output provides all printers detected via SNMP on the configured @@ -54,13 +54,13 @@ version of CUPS.
The CUPS SNMP backend uses the information from the Host, Printer, and Port Monitor MIBs along with some vendor private MIBs and intelligent port probes to determine the correct device URI and make and model for each printer.
backend(7),
+ backend(7),
Once you have added the printer, you can print to it from any application. You can also choose Print Test Page from the maintenance menu to print a simple test page and verify that everything is working properly.
You can also use the -lpadmin(8) +lpadmin(8) and -lpinfo(8) +lpinfo(8) commands to add printers to CUPS. @@ -129,33 +129,33 @@ conforms to the Internet Printing Protocol version 2.1 and implements the Berkel
CUPS printer drivers, backends, and PPD files are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using applications such as -ippeveprinter(1). +ippeveprinter(1).
cancel(1),
+ cancel(1),
Finally, the CUPS versions may ask the user for an access password depending on the printing system configuration.
cancel(1),
+ cancel(1),
CUPS Online Help (http://localhost:631/help)
diff --git a/doc/help/man-cupsctl.html b/doc/help/man-cupsctl.html
index 4552469a54..ddd659e559 100644
--- a/doc/help/man-cupsctl.html
+++ b/doc/help/man-cupsctl.html
@@ -1,7 +1,7 @@
You cannot set the Listen or Port directives using cupsctl.
cupsd.conf(5),
+ cupsd.conf(5),
CUPS Online Help (http://localhost:631/help)
diff --git a/doc/help/man-cupsd-helper.html b/doc/help/man-cupsd-helper.html
index fc1be2bb6d..c1270769d9 100644
--- a/doc/help/man-cupsd-helper.html
+++ b/doc/help/man-cupsd-helper.html
@@ -1,7 +1,7 @@
The cupsd-helper programs perform long-running operations on behalf of the scheduler, -cupsd(8). +cupsd(8). The cups-deviced helper program runs each CUPS -backend(7) +backend(7) with no arguments in order to discover the available printers.
@@ -77,27 +77,27 @@ program or placed in compressed archives to further reduce their size.Driver information files must conform to the format defined in -ppdcfile(5). +ppdcfile(5).
CUPS printer drivers, backends, and PPD files are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using applications such as -ippeveprinter(1). +ippeveprinter(1).
backend(7),
+ backend(7),
cupsd-logs - cupsd log files (access_log, error_log, and page_log)
cupsd(8)
+ cupsd(8)
The error_log file lists messages from the scheduler - errors, warnings, etc. The LogLevel directive in the -cupsd.conf(5) +cupsd.conf(5) file controls which messages are logged:
@@ -195,7 +195,7 @@ By default, each line contains the following information:The PageLogFormat directive in the -cupsd.conf(5) +cupsd.conf(5) file can be used to change this information.
@@ -222,11 +222,11 @@ The format of this field is identical to the data-time field in the access_lThe sides field contains a copy of the sides attribute provided with the IPP Create-Job or Print-Job requests or "-" if none was provided.
cupsd(8),
+ cupsd(8),
The cupsd.conf file configures the CUPS scheduler, -cupsd(8). +cupsd(8). It is normally located in the /etc/cups @@ -25,7 +25,7 @@ Comment lines start with the # character.
The following top-level directives are understood by -cupsd(8): +cupsd(8):
AccessLogLevel config
@@ -156,7 +156,7 @@ The default is 0.
HostNameLookups Double
Specifies whether to do reverse lookups on connecting clients.
The "Double" setting causes
-cupsd(8)
+cupsd(8)
to verify that the hostname resolved from the address matches one of the addresses returned for that hostname.
Double lookups also prevent clients with unregistered addresses from connecting to your server.
@@ -167,7 +167,7 @@ Only set this option to "On" or "Double" if absolutely requi
Specifies the length of time to wait before shutting down due to inactivity.
The default is "60" seconds.
Note: Only applicable when
-cupsd(8)
+cupsd(8)
is run on-demand (e.g., with -l).
The following HTTP methods are supported by -cupsd(8): +cupsd(8):
GET
@@ -453,7 +453,7 @@ Used by a client to upload configuration files.
The following IPP operations are supported by -cupsd(8): +cupsd(8):
CUPS-Accept-Jobs
@@ -590,7 +590,7 @@ Validates options for a new job.
The following paths are commonly used when configuring -cupsd(8): +cupsd(8):
/
@@ -712,7 +712,7 @@ Specifies that an authenticated user must be a member of one of the named groups
Require user {user-name|@group-name} ...
Specifies that an authenticated user must match one of the named users or be a member of one of the named groups.
The group name "@SYSTEM" corresponds to the list of groups defined by the SystemGroup directive in the
-cups-files.conf(5)
+cups-files.conf(5)
file.
The group name "@OWNER" corresponds to the owner of the resource, for example the person that submitted a print job.
@@ -741,7 +741,7 @@ The "default" access list is "@OWNER @SYSTEM".
"@ACL" maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values.
"@OWNER" maps to the job's owner.
"@SYSTEM" maps to the groups listed for the SystemGroup directive in the
-cups-files.conf(5)
+cups-files.conf(5)
file.
File, directory, and user configuration directives that used to be allowed in the cupsd.conf file are now stored in the -cups-files.conf(5) +cups-files.conf(5) file instead in order to prevent certain types of privilege escalation attacks.
@@ -868,19 +868,19 @@ often belongs to a different set of subnets from its clients. </Location>classes.conf(5),
+ classes.conf(5),
backend(7),
+ backend(7),
cupsaccept(8),
+ cupsaccept(8),
All of the standard -cups(1) +cups(1) environment variables affect the operation of cupsfilter. @@ -123,7 +123,7 @@ environment variables affect the operation of
CUPS printer drivers, filters, and backends are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using applications such as -ippeveprinter(1). +ippeveprinter(1).
Unlike when printing, filters run using the @@ -137,9 +137,9 @@ command use the current user and security session. This may result in different cupsfilter -m application/pdf -d myprinter -j 42 >preview.pdf
cups(1),
+ cups(1),
PPD files are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using applications such as -ippeveprinter(1). +ippeveprinter(1).
lpadmin(8),
+ lpadmin(8),
CUPS printer drivers and backends are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using applications such as -ippeveprinter(1). +ippeveprinter(1).
CUPS filters are not meant to be run directly by the user. Aside from the legacy System V interface issues (argv[0] is the printer name), CUPS filters also expect specific environment variables and file descriptors, and typically run in a user session that (on macOS) has additional restrictions that affect how it runs. Unless you are a developer and know what you are doing, please do not run filters directly. Instead, use the -cupsfilter(8) +cupsfilter(8) program to use the appropriate filters to do the conversions you need.
backend(7),
+ backend(7),
CUPS Online Help (http://localhost:631/help)
diff --git a/doc/help/man-ippevepcl.html b/doc/help/man-ippevepcl.html
index 79df63733c..a0f16afe22 100644
--- a/doc/help/man-ippevepcl.html
+++ b/doc/help/man-ippevepcl.html
@@ -1,7 +1,7 @@
-a filename.conf
Load printer attributes from "filename.conf".
Attribute files can be created using the
-ipptool(1)
+ipptool(1)
command with the
--ippserver
@@ -157,11 +157,11 @@ If "command" is not an absolute path ("/path/to/command"),
ippeveprinter
looks for the command in the "command" subdirectory of the CUPS binary directory, typically /usr/lib/cups/command or /usr/libexec/cups/command.
The
-cups-config(1)
+cups-config(1)
command can be used to discover the correct binary directory ("cups-config --serverbin").
In addition, the CUPS_SERVERBIN environment variable can be used to override the default location of this directory - see the
-cups(1)
+cups(1)
man page for more details.
ippevepcl(7),
+ ippevepcl(7),
ipptool(1)
+ ipptool(1)
ipptoolfile(5),
+ ipptoolfile(5),
The -ipptool(1) +ipptool(1) program accepts free-form plain text files that describe one or more IPP requests. Comments start with the "#" character and continue to the end of the line. @@ -738,7 +738,7 @@ if any. Inserts the current user's login name.
ipptool(1),
+ ipptool(1),
CUPS provides many ways to set the default destination. The LPDEST and PRINTER environment variables are consulted first. If neither are set, the current default set using the -lpoptions(1) +lpoptions(1) command is used, followed by the default set using the -lpadmin(8) +lpadmin(8) command.
@@ -162,7 +162,7 @@ The page numbers refer to the output pages and not the document's original pagesAside from the printer-specific options reported by the -lpoptions(1) +lpoptions(1) command, the following generic options are available:
@@ -200,6 +200,15 @@ Prints on both sides of the paper for portrait output.-o sides=two-sided-short-edge
Prints on both sides of the paper for landscape output.
+
The following environment variables override the default destination: +
+LPDEST
+Specifies the default print queue (System V standard).
+
PRINTER
+Specifies the default print queue (Berkeley standard).
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". @@ -226,19 +235,19 @@ Also, printer and class names are not case-sensitive. lp -d bar -o number-up=2 filename
cancel(1),
+ cancel(1),
lpadmin - configure cups printers and classes +
lpadmin - configure cups printers and classes on cups scheduler
lpadmin @@ -57,15 +57,15 @@ It can also be used to set the server default printer or class.
When specified before the -d, -p, or -x options, the -E option forces encryption when connecting to the server.
-The first form of the command (-d) sets the default printer or class to destination. +
The first form of the command (-d) sets the scheduler's default printer or class to destination. Subsequent print jobs submitted via the -lp(1) +lp(1) or -lpr(1) +lpr(1) commands will use this destination unless the user specifies otherwise with the -lpoptions(1) +lpoptions(1) command.
@@ -84,7 +84,7 @@ If class does not exist it is created automatically.-m model
Sets a standard PPD file for the printer from the model directory or using one of the driver interfaces.
Use the -m option with the
-lpinfo(8)
+lpinfo(8)
command to get a list of supported models.
The model "raw" clears any existing PPD file and the model "everywhere" queries the printer referred to by the specified IPP device-uri.
@@ -120,7 +120,7 @@ Sets the default banner page(s) to use for print jobs.
-o name=value
Sets a PPD option for the printer.
PPD options can be listed using the -l option with the
-lpoptions(1)
+lpoptions(1)
command.
-v "device-uri"
Sets the device-uri attribute of the printer queue.
Use the -v option with the
-lpinfo(8)
+lpinfo(8)
command to get a list of supported device URIs and schemes.
-E
When specified before the -d, -p, or -x options, forces the use of TLS encryption on the connection to the scheduler.
Otherwise, enables the destination and accepts jobs; this is the same as running the
-cupsaccept(8)
+cupsaccept(8)
and
-cupsenable(8)
+cupsenable(8)
programs on the destination.
CUPS printer drivers and backends are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using applications such as -ippeveprinter(1). +ippeveprinter(1).
The CUPS version of lpadmin does not support all of the System V or Solaris printing system configuration options. @@ -236,13 +236,13 @@ These files should not be edited directly and are an implementation detail of CU
cupsaccept(8),
+ cupsaccept(8),
Since lpc is geared towards the Berkeley printing system, it is impossible to use lpc to configure printer or class queues provided by CUPS. To configure printer or class queues you must use the -lpadmin(8) +lpadmin(8) command or another CUPS-compatible client with that functionality.
cancel(1),
+ cancel(1),
CUPS printer drivers and backends are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using applications such as -ippeveprinter(1). +ippeveprinter(1).
lpadmin(8),
+ lpadmin(8),
cancel(1),
+ cancel(1),
CUPS Online Help (http://localhost:631/help)
diff --git a/doc/help/man-lpoptions.html b/doc/help/man-lpoptions.html
index c3c985d545..99cc46817a 100644
--- a/doc/help/man-lpoptions.html
+++ b/doc/help/man-lpoptions.html
@@ -1,13 +1,13 @@
lpoptions - display or set printer options and defaults +
lpoptions - display or set per-user printer options and defaults
lpoptions @@ -53,16 +53,16 @@
lpoptions displays or sets printer options and defaults. If no printer is specified using the -p option, the default printer is used as described in -lp(1). +lp(1).
If no -l, -o, or -r options are specified, the current options are reported on the standard output.
Options set with the lpoptions command are used by the -lp(1) +lp(1) and -lpr(1) +lpr(1) commands when submitting jobs.
@@ -94,7 +94,7 @@ Specifies a new option for the named destination. Sets the destination and instance, if specified, for any options that follow. If the named instance does not exist then it is created. Destinations can only be created using the -lpadmin(8) +lpadmin(8) program. @@ -105,9 +105,18 @@ Removes the specified option from the named destination. Removes the options for the named destination and instance, if specified. If the named instance does not exist then this does nothing. Destinations can only be removed using the -lpadmin(8) +lpadmin(8) command. + +The following environment variables override the default destination: +
+LPDEST
+Specifies the default print queue (System V standard).
+
PRINTER
+Specifies the default print queue (Berkeley standard).
~/.cups/lpoptions - user defaults and instances created by non-root users. @@ -118,15 +127,15 @@ command.
The lpoptions command is unique to CUPS.
cancel(1),
+ cancel(1),
cancel(1),
+ cancel(1),
CUPS provides many ways to set the default destination. The LPDEST and PRINTER environment variables are consulted first. If neither are set, the current default set using the -lpoptions(1) +lpoptions(1) command is used, followed by the default set using the -lpadmin(8) +lpadmin(8) command.
@@ -117,7 +117,7 @@ Specifies that the named print files should be deleted after submitting them.Aside from the printer-specific options reported by the -lpoptions(1) +lpoptions(1) command, the following generic options are available:
@@ -158,6 +158,15 @@ Prints on both sides of the paper for landscape output.The -c, -d, -f, -g, -i, -n, -t, -v, and -w options are not supported by CUPS and produce a warning message if used. +
+The following environment variables override the default destination: +
+LPDEST
+Specifies the default print queue (System V standard).
+
PRINTER
+Specifies the default print queue (Berkeley standard).
Print two copies of a document to the default printer: @@ -178,19 +187,19 @@ Prints on both sides of the paper for landscape output. lpr -P foo -o number-up=2 filename
cancel(1),
+ cancel(1),
cancel(1),
+ cancel(1),
-W which-jobs
-Specifies which jobs to show, "all", "successful", "completed" or "not-completed" (the default).
+Specifies which jobs to show, "all, "successful", "completed" or "not-completed" (the default).
This option must appear before the -o option and/or any printer names, otherwise the default ("not-completed") value will be used in the request to the scheduler.
-a [printer(s)]
@@ -95,7 +95,10 @@ Shows the printer classes and the printers that belong to them.
If no classes are specified then all classes are listed.
-d
-Shows the current default destination.
+Shows the current default destination, either the
+lpoptions(1)
+
+default (if set) or the scheduler default (otherwise).
-e
Shows all available destinations on the local network.
@@ -133,6 +136,15 @@ If no users are specified, lists the jobs queued by the current user.
-v [printer(s)]
Shows the printers and what device they are attached to.
If no printers are specified then all printers are listed.
+
The following environment variables override the default destination: +
+LPDEST
+Specifies the default print queue (System V standard).
+
PRINTER
+Specifies the default print queue (Berkeley standard).
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", and "#". @@ -143,15 +155,15 @@ Also, printer and class names are not case-sensitive.
The Solaris -f, -P, and -S options are silently ignored.
cancel(1),
+ cancel(1),
cupsd(8),
+ cupsd(8),
CUPS filters are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using applications such as -ippeveprinter(1). +ippeveprinter(1).
cups-files.conf(5),
+ cups-files.conf(5),
cups-files.conf(5),
+ cups-files.conf(5),
cupsd(8),
+ cupsd(8),
PPD files are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using applications such as -ippeveprinter(1). +ippeveprinter(1).
ppdhtml(1),
+ ppdhtml(1),
The CUPS PPD compiler reads meta files that contain descriptions of one or more PPD files to be generated by -ppdc(1). +ppdc(1). This man page provides a quick reference to the supported keywords and should be used in conjunction with the online help for CUPS.
@@ -150,19 +150,19 @@ This man page provides a quick reference to the supported keywords and should bePPD files are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using applications such as -ippeveprinter(1). +ippeveprinter(1).
ppdc(1),
+ ppdc(1),
PPD files are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using applications such as -ippeveprinter(1). +ippeveprinter(1).
ppdc(1),
+ ppdc(1),
PPD files are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using applications such as -ippeveprinter(1). +ippeveprinter(1).
ppdc(1),
+ ppdc(1),
PPD files are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using applications such as -ippeveprinter(1). +ippeveprinter(1).
ppdmerge does not check whether the merged PPD files are for the same device. Merging of different device PPDs will yield unpredictable results.
ppdc(1),
+ ppdc(1),
PPD files are deprecated and will no longer be supported in a future feature release of CUPS. Printers that do not support IPP can be supported using applications such as -ippeveprinter(1). +ippeveprinter(1).
ppdc(1),
+ ppdc(1),
The printers.conf file defines the local printers that are available. It is normally located in the /etc/cups directory and is maintained by the -cupsd(8) +cupsd(8) program. This file is not intended to be edited or managed manually.
@@ -19,19 +19,19 @@ program. This file is not intended to be edited or managed manually.The name, location, and format of this file are an implementation detail that will change in future releases of CUPS.
classes.conf(5),
+ classes.conf(5),
The subscriptions.conf file defines the local event notification subscriptions that are active. It is normally located in the /etc/cups directory and is maintained by the -cupsd(8) +cupsd(8) program. This file is not intended to be edited or managed manually. @@ -21,19 +21,19 @@ This file is not intended to be edited or managed manually.
The name, location, and format of this file are an implementation detail that will change in future releases of CUPS.
classes.conf(5),
+ classes.conf(5),