LPSCHED(1M) —
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 dest1 dest2
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 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 lp. The second form moves all requests for destination dest1 to destination dest2; lp will then reject any new requests for dest1.
Note that when moving requests, lpmove never checks the acceptance status [see accept(1M)] of the new destination. Also, the request ID of the moved request is 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.
NOTE
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
enable(1), lp(1), lpstat(1), accept(1M), lpadmin(1M).
\*U — Version 1.0