Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

backend(1) [redhat man page]

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

notifier(7)							    Apple Inc.							       notifier(7)

NAME
notifier - cups notification interface SYNOPSIS
notifier recipient [ user-data ] DESCRIPTION
The CUPS notifier interface provides a standard method for adding support for new event notification methods to CUPS. Each notifier deliv- ers one or more IPP events from the standard input to the specified recipient. Notifiers must read IPP messages from the standard input using the ippNew and ippReadFile functions and exit on error. Notifiers are encouraged to exit after a suitable period of inactivity, however they may exit after reading the first message or stay running until an error is seen. LOG MESSAGES
Messages sent to stderr are generally logged to the current ErrorLog. Each line begins with a standard prefix: ALERT: message Sets the printer-state-message attribute and adds the specified message to the current ErrorLog using the "alert" log level. CRIT: message Sets the printer-state-message attribute and adds the specified message to the current ErrorLog using the "critical" log level. DEBUG: message Sets the printer-state-message attribute and adds the specified message to the current ErrorLog using the "debug" log level. DEBUG2: message Sets the printer-state-message attribute and adds the specified message to the current ErrorLog using the "debug2" log level. EMERG: message Sets the printer-state-message attribute and adds the specified message to the current ErrorLog using the "emergency" log level. ERROR: message Sets the printer-state-message attribute and adds the specified message to the current ErrorLog using the "error" log level. INFO: message Sets the printer-state-message attribute. If the current LogLevel is set to "debug2", also adds the specified message to the current ErrorLog using the "info" log level. NOTICE: message Sets the printer-state-message attribute and adds the specified message to the current ErrorLog using the "notice" log level. WARNING: message Sets the printer-state-message attribute and adds the specified message to the current ErrorLog using the "warning" log level. ENVIRONMENT VARIABLES
The following environment variables are defined by the CUPS server when executing the notifier: CHARSET The default text character set, typically utf-8. CUPS_CACHEDIR The directory for semi-persistent cache files can be found. CUPS_DATADIR The directory where data files can be found. CUPS_FILETYPE The type of file being printed: "job-sheet" for a banner page and "document" for a regular print file. CUPS_SERVERROOT The root directory of the server. LANG The default language locale (typically C or en). PATH The standard execution path for external programs that may be run by the filter. SOFTWARE The name and version number of the server (typically CUPS/1.2). TZ The timezone of the server. USER The user executing the filter, typically "lp"; consult the cupsd.conf(5) file for the current setting. SEE ALSO
backend(7), cupsd(8), filter(7), http://localhost:631/help COPYRIGHT
Copyright 2007-2009 by Apple Inc. 12 May 2009 CUPS notifier(7)
Man Page