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 des‐
tination 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 vari‐
able contains an invalid setting, the commands behave as if all inter‐
nationalization 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.
FILESSEE ALSOcancel(1), enable(1), lp(1), lpstat(1), accept(1M), lpadmin(1M),
lpana(1M), rcancel(1M), rlp(1M), rlpdaemon(1M), rlpstat(1M).
lpsched(1M)