lpshut
The lpshut program shuts down the lpsched program, the scheduler for the LP spool system. The runstring is:
CI> lpshut
All printing activity at the time of shutdown is halted. No further printing occurs until the scheduler is restarted by running lpsched. Each print request that is actively printing at the time of shutdown is reprinted in its entirety when lpsched is restarted.
You must be a superuser to run this program.
The accept, reject, and lpshut programs are identical executables. Only one of these program files needs to be a type 6 executable; the other two may be, for example, symbolic links to the type 6 file or prototype ID segments for the type 6 file.
Return Status
The following status is returned:
$RETURN1 = the number of errors encountered; zero if none.
Error Messages
lpshut: scheduler not running
The lpsched scheduler was already shut down.
scheduler stopped
This message indicates that lpsched was successfully shut down. It does not indicate an error condition.
230 LP Spool System