Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

enable(1) [hpux man page]

enable(1)						      General Commands Manual							 enable(1)

NAME
enable, disable - enable/disable LP printers SYNOPSIS
printers [reason]] printers DESCRIPTION
The command activates the named printers, enabling them to print requests taken by Use to find the status of printers (see lp(1) and lpstat(1)). deactivates the named printers, disabling them from printing requests taken by By default, any requests that are currently printing on the designated printers are reprinted in their entirety either on the same printer or on another member of the same class. Use to find the status of printers. Options recognizes the following options: Cancel any requests that are currently printing on any of the designated printers. Associate a reason with the deactivation of the printers. This reason applies to all printers mentioned up to the next option. If the option is not present or the option is given without a reason, a default reason is used. reason is reported by The maximum length of the reason message is 80 bytes. reason message of length greater than 80 bytes is truncated to 80 bytes. EXTERNAL INFLUENCES
Environment Variables determines the language in which messages are displayed. If is not specified or is null, it defaults to (see lang(5)). If any internationalization variable contains an invalid setting, all internationalization variables default to (see environ(5)). International Code Set Support Single- and multibyte character code sets are supported. EXAMPLES
Enable printer to accept requests: Deactivate printer and cancel any logged jobs: WARNINGS
If the restrict cancel feature (selected by the option -- see lpadmin(1M)) is enabled, and the user is neither administrator nor the owner of the currently printing request on the designated printer, ignores the option. and perform their operation on the local system only. FILES
SEE ALSO
lp(1), lpstat(1), accept(1M), lpadmin(1M), lpsched(1M), rcancel(1M), rlp(1M), rlpdaemon(1M), rlpstat(1M). enable(1)

Check Out this Related Man Page

accept(1M)																accept(1M)

NAME
accept, reject - allow/prevent LP destination queuing requests SYNOPSIS
destination ... destination ... destination ...] ... DESCRIPTION
The command permits the command (see lp(1)) to accept printing requests for each named LP printer or printer class destination queue. The command causes the command to reject subsequent printing requests for each named destination queue. Requests already queued will con- tinue to be processed for printing by the scheduler (see lpsched(1M)). Use the command (see lpstat(1)) to find the status of destination queues. For an overview of LP command interactions, see lp(1). Options The command can have the following option. Specifies a string that is used to explain why the command is not accepting requests for a destination. reason applies to all queues mentioned up to the next option. If reason or is omitted, the default reason is "". The maximum length of reason is 80 bytes. reason message of length greater than 80 bytes is truncated to 80 bytes. reason is reported by the command and by the command when users direct requests to a rejected destination. EXTERNAL INFLUENCES
Environment Variables The variable determines the language in which messages are displayed. If is not specified or is set to the empty string, it defaults to "C" (see lang(5)). If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)). International Code Set Support Single- and multibyte character code sets are supported. EXAMPLES
These examples assume you have a system with two printers named and and one class named that includes both printers. Example 1 To allow all destinations to accept print requests: Example 2 To reject requests to the class destination, requiring users to choose a printer: Example 3 To reject requests to the individual printer destinations, requiring all requests to go through the class destination: WARNINGS
and operate on the local system only. FILES
Directory of spooler configuration data Directory of spooler log files Directory of LP spooling files and directories SEE ALSO
enable(1), lp(1), lpstat(1), lpadmin(1M), lpsched(1M), rcancel(1M), rlp(1M), rlpdaemon(1M), rlpstat(1M). accept(1M)
Man Page