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
Schedules requests taken by
for printing on printers.
is typically invoked in
This creates a process which runs in the background until
The activity of the process is recorded in
recognizes the following options:
Write a verbose record of the
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
to the LP destination,
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
including requests that are currently printing,
As a side effect,
rejects all subsequent requests.
never checks the acceptance status
for the new destination when moving requests.
Defines the minimum required
for the spooled file to be printed.
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
determines the format and contents of date and time strings.
determines the language in which messages are displayed.
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 variable.
is not specified or is
set to the empty string, a default of "C" (see
is used instead of
If any internationalization variable contains an invalid setting,
behave as if all internationalization variables are set to "C".
lpmove laserjet1-1 classlaserjet-30 laserjet3
from destination queues
to the destination queue
if the requests are not currently printing.
lpmove laserjet1 laserjet2
Move all requests from the destination queue
to the destination queue
This will also cause
to reject all subsequent print requests to it.
All currently printing
will be reprinted on
lpfence laserjet1 5
is a member of classes
Running this command
will cause only print requests of priority 5 and above from
to be printed on printer
Print requests of priority 4 and below will not be
picked by the scheduler for printing on
perform their operation on the local system only.