lpsched(ADM)
lpsched, lpshut --
start/stop the print service
Syntax
/usr/lib/lpsched [-d] [-f int] [-n int] [-r int] [-s]
/usr/lib/lpshut
Description
lpsched starts the LP print service.
lpsched takes the following options:
-d-
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.
-f int-
Increase the number of slow filters that can run
concurrently by int (see
lpfilter(ADM)).
-n int-
Increase the number of notifications that can run
concurrently by int (see the -m
and -w options of
lp(C)).
-r int-
Increase the margin of reserved file descriptors
used by the scheduler by int.
-s -
Do not trap most signals; disables interrupt, hangup,
quit, terminate, child, and alarm signals.
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.
Only root can start or stop the print service;
user lp cannot.
Starting and stopping of the print service are logged in the file
/usr/spool/lp/logs/lpsched.
Limitations
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
running lpsched.
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.
Files
/usr/spool/lp/
See also
accept(ADM),
disable(C),
enable(C),
lp(C),
lpadmin(ADM),
lpmove(ADM),
lpstat(C),
reject(ADM)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003