gsize 9 delim $$
NAME
lpsched, lpshut, lpmove - start/stop the LP print service
and move requests
SYNOPSIS
/usr/lib/lpsched
/usr/lib/lpshut
/usr/lib/lpmove requests dest
/usr/lib/lpmove $dest sub 1$ $dest sub 2$
DESCRIPTION
lpsched starts the LP print service; this can be done only
by root or lp.
lpshut shuts down the print service. All printers that are
printing at the time lpshut is invoked will stop printing.
When lpsched is started again, requests that were printing
at the time a printer was shut down will be reprinted from
the beginning.
lpmove moves requests that were queued by lp(1) between LP
destinations. The first form of the lpmove command shown
above (under "Synopsis") moves the named requests to the LP
destination dest. Requests are request-ids as returned by
lp(1). The second form of the lpmove command moves all
requests for destination $dest sub 1$ to destination $dest
sub 2$; lp(1) will then reject any new requests for $dest
sub 1$.
Note that when moving requests, lpmove never checks the
acceptance status (see accept(1M)) of the new destination.
Also, the request-ids of the moved request are not changed,
so that users can still find their requests. The lpmove
command will not move requests that have options (content
type, form required, and so on) that cannot be handled by
the new destination.
If a request was originally queued for a class or the
special destination any, its destination will be changed to
new-destination. A request thus affected will be printable
only on new-destination and not on other members of the
class or other acceptable printers if the original
destination was any.
NOTE
Page 1 May 1989
LPSCHED(1M) (Line Printer Spooling Utilities) LPSCHED(1M)
By default, the directory /usr/spool/lp is used to hold all
the files used by the LP print service. This can be changed
by setting the SPOOLDIR environment variable to another
directory before running lpsched. If you do this, you
should populate the directory with the same files and
directories found under /usr/spool/lp; the LP print service
will not automatically create them. Also, the SPOOLDIR
variable must then be set before any of the other LP print
service commands are run.
FILES
/usr/spool/lp/*
SEE ALSO
accept(1M), lpadmin(1M).
enable(1), lp(1), lpstat(1) in the User's Reference Manual.
Page 2 May 1989