lpsched, lpshut --
start/stop the print service
/usr/lib/lpsched [-d] [-f int] [-n int] [-r int] [-s]
lpsched starts the LP print service.
lpsched takes the following options:
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.
Debug mode; log all messages between lp and lpsched
to /usr/spool/lp/logs/messages, log all requests submitted to
/usr/spool/lp/logs/requests, and log all commands executed
by lpsched to /usr/spool/lp/logs/exec.
Increase the number of slow filters that can run
concurrently by int (see
Increase the number of notifications that can run
concurrently by int (see the -m
and -w options of
Increase the margin of reserved file descriptors
used by the scheduler by int.
Do not trap most signals; disables interrupt, hangup,
quit, terminate, child, and alarm signals.
Only root can start or stop the print service;
user lp cannot.
Starting and stopping of the print service are logged in the file
By default, the directory /usr/spool/lp is used
to hold all the files used by the print service.
This can be changed by setting the SPOOLDIR
environment variable to another directory before
If you do this, you should populate the directory with the same
files and directories found under /usr/spool/lp;
the print service will not automatically create them.
Also, the SPOOLDIR variable must then be set before
any of the other print service commands are run.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003