backend(1) Easy Software Products backend(1)NAME
backend - cups backend transmission interfaces
SYNOPSIS
backend job user title num-copies options [ filename ]
DESCRIPTION
The CUPS backend interface provides a standard method for sending document files to different physical interfaces.
Backends must be capable of reading from a filename on the command-line or from the standard input, copying the standard input to a tempo-
rary file if required by the physical interface.
The command name (argv[0]) is set to the device URI of the destination printer.
ENVIRONMENT VARIABLES
The following environment variables are defined by the CUPS server when executing the backend:
CHARSET
The default text character set (typically us-ascii or iso-8859-1).
CLASS
When a job is submitted to a printer class, contains the name of the destination printer class. Otherwise this environment variable
will not be set.
CONTENT_TYPE
The MIME type associated with the file (e.g. application/postscript).
CUPS_DATADIR
The directory where data files can be found.
CUPS_SERVERROOT
The root directory of the server.
DEVICE_URI
The device-uri associated with the printer; this is provided for shell scripts which may not be able to get the passed argv[0] string.
LANG
The default language locale (typically C or en).
PATH
The standard execution path for external programs that may be run by the backend.
PPD
The full pathname of the PostScript Printer Description (PPD) file for this printer.
PRINTER
The name of the printer.
RIP_CACHE
The recommended amount of memory to use for Raster Image Processors (RIPs).
SOFTWARE
The name and version number of the server (typically CUPS/1.1).
TZ
The timezone of the server.
USER
The user executing the backend (typically lp).
SEE ALSO cupsd(8), filter(1) CUPS Interface Design Description, CUPS Software Administrators Manual, CUPS Software Programmers Manual, http://local-
host:631/documentation.html
COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved.
22 June 2000 Common UNIX Printing System backend(1)
Check Out this Related Man Page
lpadmin(8) Easy Software Products lpadmin(8)NAME
lpadmin - configure cups printers and classes
SYNOPSIS
lpadmin [ -E ] [ -h server ] -d destination
lpadmin [ -E ] [ -h server ] -p printer option(s)
lpadmin [ -E ] [ -h server ] -x destination
DESCRIPTION
lpadmin configures printer and class queues provided by CUPS. 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 sets the default printer or class to destination. Subsequent print jobs submitted via the lp(1) or lpr(1)
commands will use this destination unless the user specifies otherwise with the lpoptions(1) command.
The second form of the command configures the named printer. The additional options are described below.
The third form of the command deletes the printer or class destination. Any jobs that are pending for the destination will be removed and
any job that is currently printed will be aborted.
CONFIGURATION OPTIONS
The following options are recognized when configuring a printer queue:
-c class
Adds the named printer to class. If class does not exist it is created automatically.
-i interface
Sets a System V style interface script for the printer. This option cannot be specified with the -P option (PPD file) and is intended
for providing support for legacy printer drivers.
-m model
Sets a standard System V interface script or PPD file from the model directory.
-o name=value
Sets a PPD or server option for the printer. PPD options can be listed using the -l option with the lpoptions(1) command.
-o job-k-limit=value
Sets the kilobyte limit for per-user quotas. The value is an integer number of kilobytes; one kilobyte is 1024 bytes.
-o job-page-limit=value
Sets the page limit for per-user quotas. The value is the integer number of pages that can be printed; double-sided pages are counted
as two pages.
-o job-quota-period=value
Sets the accounting period for per-user quotas. The value is an integer number of seconds; 86,400 seconds are in one day.
-r class
Removes the named printer from class. If the resulting class becomes empty it is removed.
-u allow:user,user
-u deny:user,user -u allow:all -u deny:none
Sets user-level access control on a printer. The latter two forms turn user-level access control off.
-v device-uri
Sets the device-uri attribute of the printer queue. If device-uri is a filename it is automatically converted to the form
file:/file/name.
-D info
Provides a textual description of the printer.
-E
Enables the printer and accepts jobs; this is the same as running the accept(8) and enable(8) programs on the printer.
-L location
Provides a textual location of the printer.
-P ppd-file
Specifies a PostScript Printer Description file to use with the printer. If specified, this option overrides the -i option (interface
script).
COMPATIBILITY
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE and TAB. Also, printer and
class names are not case-sensitive. Finally, the CUPS version of lpadmin may ask the user for an access password depending on the printing
system configuration. This differs from the System V version which requires the root user to execute this command.
LIMITATIONS
The CUPS version of lpadmin does not support all of the System V or Solaris printing system configuration options.
SEE ALSO accept(8), cancel(1), disable(8), enable(8), lp(1), lpstat(1), reject(8), CUPS Software Administrators Manual, http://localhost:631/docu-
mentation.html
COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved.
21 October 2002 Common UNIX Printing System lpadmin(8)