Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lpfence(1m) [hpux man page]

lpsched(1M)															       lpsched(1M)

NAME
lpsched, lpshut, lpmove, lpfence - start the LP request scheduler; stop the LP request scheduler; move requests between LP destinations; define the minimum priority for printing SYNOPSIS
requests dest dest1 dest2 printer fence DESCRIPTION
Schedules requests taken by for printing on printers. is typically invoked in This creates a process which runs in the background until is executed. The activity of the process is recorded in recognizes the following options: Write a verbose record of the process on Write logging data on Shuts down the printer scheduler. All printers that are printing at the time is invoked stop printing. Requests that were printing at the time the scheduler was shut down are reprinted in their entirety after is started again. All LP commands perform their functions even when is not running. Moves requests that were queued by between LP destinations. The first form of the command moves the named requests to the LP destination, dest. requests are request IDs as returned by The requests that are currently printing will not be moved. The second form of the command moves all requests for destination dest1, including requests that are currently printing, to destination dest2. As a side effect, dest1 rejects all subsequent requests. Note that never checks the acceptance status (see accept(1M)) for the new destination when moving requests. Defines the minimum required priority for the spooled file to be printed. fence must be in between 0 (lowest fence) and 7 (highest fence). Each printer has its own fence, which is initialized to 0 when it is configured by the command. EXTERNAL INFLUENCES
Environment Variables determines the format and contents of date and time strings. determines the language in which messages are displayed. If is not specified in the environment or is set to the empty string, the value of is used as a default for each unspecified or empty vari- able. If is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of If any internationalization variable contains an invalid setting, the commands behave as if all internationalization variables are set to "C". See environ(5). EXAMPLES
Move requests and from destination queues and to the destination queue if the requests are not currently printing. Move all requests from the destination queue laserjet1 to the destination queue laserjet2. This will also cause laserjet1 to reject all subsequent print requests to it. All currently printing requests from laserjet1 will be reprinted on laserjet2. Suppose is a member of classes and Running this command will cause only print requests of priority 5 and above from queues and to be printed on printer Print requests of priority 4 and below will not be picked by the scheduler for printing on WARNINGS
and perform their operation on the local system only. FILES
SEE ALSO
cancel(1), enable(1), lp(1), lpstat(1), accept(1M), lpadmin(1M), lpana(1M), rcancel(1M), rlp(1M), rlpdaemon(1M), rlpstat(1M). lpsched(1M)

Check Out this Related 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)
Man Page