]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - man/backend.7
Greatly simplify the man page handling.
[thirdparty/cups.git] / man / backend.7
similarity index 72%
rename from man/backend.man
rename to man/backend.7
index 184e3aaa69bd7d98919692701e826e1050ad37f2..5a7032650f7efbf318e5a83b0cf08c4359017b9f 100644 (file)
@@ -1,12 +1,13 @@
 .\"
 .\" Backend man page for CUPS.
 .\"
-.\" Copyright 2007-2014 by Apple Inc.
-.\" Copyright 1997-2006 by Easy Software Products.
+.\" Copyright © 2007-2019 by Apple Inc.
+.\" Copyright © 1997-2006 by Easy Software Products.
 .\"
-.\" Licensed under Apache License v2.0.  See the file "LICENSE" for more information.
+.\" Licensed under Apache License v2.0.  See the file "LICENSE" for more
+.\" information.
 .\"
-.TH backend 7 "CUPS" "4 April 2014" "Apple Inc."
+.TH backend 7 "CUPS" "26 April 2019" "Apple Inc."
 .SH NAME
 backend \- cups backend transmission interfaces
 .SH SYNOPSIS
@@ -52,7 +53,8 @@ which is used to send print data to and discover different devices on the system
 .LP
 Like filters, backends must be capable of reading from a filename on the command-line or from the standard input, copying the standard input to a temporary file as required by the physical interface.
 .LP
-The command name (\fIargv[0]\fR) is set to the device URI of the destination printer. Authentication information in
+The command name (\fIargv[0]\fR) is set to the device URI of the destination printer.
+Authentication information in
 .I argv[0]
 is removed, so backend developers are urged to use the
 .B DEVICE_URI
@@ -70,7 +72,8 @@ function. The
 .B CUPS_SC_FD
 constant defines the file descriptor that should be monitored for incoming requests.
 .SS DEVICE DISCOVERY
-When run with no arguments, the backend should list the devices and schemes it supports or is advertising to the standard output. The output consists of zero or more lines consisting of any of the following forms:
+When run with no arguments, the backend should list the devices and schemes it supports or is advertising to the standard output.
+The output consists of zero or more lines consisting of any of the following forms:
 .nf
 
     device-class scheme "Unknown" "device-info"
@@ -98,21 +101,26 @@ The device-uri refers to a networked device and conforms to the general form for
 network URIs.
 .TP 5
 .B serial
-The device-uri refers to a serial device with configurable baud rate and other options. If the device-uri contains a baud value, it represents the maximum baud rate supported by the device.
+The device-uri refers to a serial device with configurable baud rate and other options.
+If the device-uri contains a baud value, it represents the maximum baud rate supported by the device.
 .LP
 The
 .I scheme
-field provides the URI scheme that is supported by the backend. Backends should use this form only when the backend supports any URI using that scheme. The
+field provides the URI scheme that is supported by the backend.
+Backends should use this form only when the backend supports any URI using that scheme.
+The
 .I device-uri
 field specifies the full URI to use when communicating with the device.
 .LP
 The
 .I device-make-and-model
-field specifies the make and model of the device, e.g. "Example Foojet 2000". If the make and model is not known, you must report "Unknown".
+field specifies the make and model of the device, e.g. "Example Foojet 2000".
+If the make and model is not known, you must report "Unknown".
 .LP
 The
 .I device-info
-field specifies additional information about the device. Typically this includes the make and model along with the port number or network address, e.g. "Example Foojet 2000 USB #1".
+field specifies additional information about the device.
+Typically this includes the make and model along with the port number or network address, e.g. "Example Foojet 2000 USB #1".
 .LP
 The optional
 .I device-id
@@ -122,7 +130,8 @@ The optional
 .I device-location
 field specifies the physical location of the device, which is often used to pre-populate the printer-location attribute when adding a printer.
 .SS PERMISSIONS
-Backends without world read and execute permissions are run as the root user. Otherwise, the backend is run using an unprivileged user account, typically "lp".
+Backends without world read and execute permissions are run as the root user.
+Otherwise, the backend is run using an unprivileged user account, typically "lp".
 .SH EXIT STATUS
 The following exit codes are defined for backends:
 .TP 5
@@ -131,27 +140,34 @@ The print file was successfully transmitted to the device or remote server.
 .TP 5
 .B CUPS_BACKEND_FAILED
 .br
-The print file was not successfully transmitted to the device or remote server. The scheduler will respond to this by canceling the job, retrying the job, or stopping the queue depending on the state of the
+The print file was not successfully transmitted to the device or remote server.
+The scheduler will respond to this by canceling the job, retrying the job, or stopping the queue depending on the state of the
 .I printer-error-policy
 attribute.
 .TP 5
 .B CUPS_BACKEND_AUTH_REQUIRED
-The print file was not successfully transmitted because valid authentication information is required. The scheduler will respond to this by holding the job and adding the 'cups-held-for-authentication' keyword to the "job-reasons" Job Description attribute.
+The print file was not successfully transmitted because valid authentication information is required.
+The scheduler will respond to this by holding the job and adding the 'cups-held-for-authentication' keyword to the "job-reasons" Job Description attribute.
 .TP 5
 .B CUPS_BACKEND_HOLD
-The print file was not successfully transmitted because it cannot be printed at this time. The scheduler will respond to this by holding the job.
+The print file was not successfully transmitted because it cannot be printed at this time.
+The scheduler will respond to this by holding the job.
 .TP 5
 .B CUPS_BACKEND_STOP
-The print file was not successfully transmitted because it cannot be printed at this time. The scheduler will respond to this by stopping the queue.
+The print file was not successfully transmitted because it cannot be printed at this time.
+The scheduler will respond to this by stopping the queue.
 .TP 5
 .B CUPS_BACKEND_CANCEL
-The print file was not successfully transmitted because one or more attributes are not supported or the job was canceled at the printer. The scheduler will respond to this by canceling the job.
+The print file was not successfully transmitted because one or more attributes are not supported or the job was canceled at the printer.
+The scheduler will respond to this by canceling the job.
 .TP 5
 .B CUPS_BACKEND_RETRY
-The print file was not successfully transmitted because of a temporary issue. The scheduler will retry the job at a future time - other jobs may print before this one.
+The print file was not successfully transmitted because of a temporary issue.
+The scheduler will retry the job at a future time - other jobs may print before this one.
 .TP 5
 .B CUPS_BACKEND_RETRY_CURRENT
-The print file was not successfully transmitted because of a temporary issue. The scheduler will retry the job immediately without allowing intervening jobs.
+The print file was not successfully transmitted because of a temporary issue.
+The scheduler will retry the job immediately without allowing intervening jobs.
 .PP
 All other exit code values are reserved.
 .SH ENVIRONMENT
@@ -166,21 +182,29 @@ The device URI associated with the printer.
 .SH FILES
 .I /etc/cups/cups-files.conf
 .SH NOTES
-CUPS backends are not generally designed to be run directly by the user. Aside from the device URI issue (
+CUPS backends are not generally designed to be run directly by the user.
+Aside from the device URI issue (
 .I argv[0]
 and
 .B DEVICE_URI
-environment variable contain the device URI), CUPS backends 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. Backends can also be installed with restricted permissions (0500 or 0700) that tell the scheduler to run them as the "root" user instead of an unprivileged user (typically "lp") on the system.
+environment variable contain the device URI), CUPS backends 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.
+Backends can also be installed with restricted permissions (0500 or 0700) that tell the scheduler to run them as the "root" user instead of an unprivileged user (typically "lp") on the system.
 .LP
-Unless you are a developer and know what you are doing, please do not run backends directly. Instead, use the
+Unless you are a developer and know what you are doing, please do not run backends directly.
+Instead, use the
 .BR lp (1)
 or
 .BR lpr (1)
 programs to send print jobs or
 .BR lpinfo (8)
-to query for available printers using the backend. The one exception is the SNMP backend - see
+to query for available printers using the backend.
+The one exception is the SNMP backend - see
 .BR cups-snmp (8)
 for more information.
+.SH NOTES
+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
+.BR ippeveprinter (1).
 .SH SEE ALSO
 .IR cups (1),
 .IR cups-files.conf (5),
@@ -193,4 +217,4 @@ for more information.
 .br
 CUPS Online Help (http://localhost:631/help)
 .SH COPYRIGHT
-Copyright \[co] 2007-2018 by Apple Inc.
+Copyright \[co] 2007-2019 by Apple Inc.