X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fcups.git;a=blobdiff_plain;f=doc%2Fhelp%2Fman-notifier.html;fp=doc%2Fhelp%2Fman-notifier.html;h=01727e0752a5121dfbb9da74b2b4365790486e02;hp=548677e944ad8549dc1516cd0e1ed0450e44c512;hb=2909c66c504b0e527d6b032486ecfa8faffd3d07;hpb=bfbd0197bd1eab9793e0e16e150ed60f82a4cd07 diff --git a/doc/help/man-notifier.html b/doc/help/man-notifier.html index 548677e94..01727e075 100644 --- a/doc/help/man-notifier.html +++ b/doc/help/man-notifier.html @@ -27,118 +27,103 @@ the first message or stay running until an error is seen. Messages sent to stderr are generally logged to the current ErrorLog. Each line begins with a standard prefix: -

ALERT: message -
-
+

+
ALERT: message +

Sets the printer-state-message attribute and adds the specified message to the current ErrorLog using the "alert" log level. -

CRIT: message -
-
+

CRIT: message +

Sets the printer-state-message attribute and adds the specified message to the current ErrorLog using the "critical" log level. -

DEBUG: message -
-
+

DEBUG: message +

Sets the printer-state-message attribute and adds the specified message to the current ErrorLog using the "debug" log level. -

DEBUG2: message -
-
+

DEBUG2: message +

Sets the printer-state-message attribute and adds the specified message to the current ErrorLog using the "debug2" log level. -

EMERG: message -
-
+

EMERG: message +

Sets the printer-state-message attribute and adds the specified message to the current ErrorLog using the "emergency" log level. -

ERROR: message -
-
+

ERROR: message +

Sets the printer-state-message attribute and adds the specified message to the current ErrorLog using the "error" log level. -

INFO: message -
-
+

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 -
-
+

NOTICE: message +

Sets the printer-state-message attribute and adds the specified message to the current ErrorLog using the "notice" log level. -

WARNING: message -
-
+

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 -
-
+

+
CHARSET +

The default text character set, typically utf-8. -

CUPS_CACHEDIR -
-
+

CUPS_CACHEDIR +

The directory for semi-persistent cache files can be found. -

CUPS_DATADIR -
-
+

CUPS_DATADIR +

The directory where data files can be found. -

CUPS_FILETYPE -
-
+

CUPS_FILETYPE +

The type of file being printed: "job-sheet" for a banner page and "document" for a regular print file. -

CUPS_SERVERROOT -
-
+

CUPS_SERVERROOT +

The root directory of the server. -

LANG -
-
+

LANG +

The default language locale (typically C or en). -

PATH -
-
+

PATH +

The standard execution path for external programs that may be run by the filter. -

SOFTWARE -
-
+

SOFTWARE +

The name and version number of the server (typically CUPS/1.2). -

TZ -
-
+

TZ +

The timezone of the server. -

USER -
-
+

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),