lpsched(ADM) 06 January 1993 lpsched(ADM) Name 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; this can be done only by root or lp. lpsched takes the following options: -d Debug mode; this flag tells lpsched to log all messages between lp and lpsched, all requests submitted, and all commands executed by lpsched. The log files written to are messages, requests, and exec in the /usr/spool/lp/logs directory. -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; this flag 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. 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 LP print service. This can be changed by setting the SPOOL- DIR 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 au- tomatically 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(ADM), disable(C), enable(C), lp(C), lpadmin(ADM), lpmove(ADM), lpstat(C)