Annotation of 43BSDReno/share/doc/smm/06.lpd/6.t, revision 1.1.1.1

1.1       root        1: .\" Copyright (c) 1983 The Regents of the University of California.
                      2: .\" All rights reserved.
                      3: .\"
                      4: .\" Redistribution and use in source and binary forms are permitted
                      5: .\" provided that the above copyright notice and this paragraph are
                      6: .\" duplicated in all such forms and that any documentation,
                      7: .\" advertising materials, and other materials related to such
                      8: .\" distribution and use acknowledge that the software was developed
                      9: .\" by the University of California, Berkeley.  The name of the
                     10: .\" University may not be used to endorse or promote products derived
                     11: .\" from this software without specific prior written permission.
                     12: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
                     13: .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
                     14: .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     15: .\"
                     16: .\"    @(#)6.t 6.5 (Berkeley) 3/7/89
                     17: .\"
                     18: .NH 1
                     19: Line printer Administration
                     20: .PP
                     21: The
                     22: .I lpc
                     23: program provides local control over line printer activity.
                     24: The major commands and their intended use will be described.
                     25: The command format and remaining commands are described in
                     26: .IR lpc (8).
                     27: .LP
                     28: \fBabort\fP and \fBstart\fP
                     29: .IP
                     30: .I Abort
                     31: terminates an active spooling daemon on the local host immediately and
                     32: then disables printing (preventing new daemons from being started by
                     33: .IR lpr ).
                     34: This is normally used to forcibly restart a hung line printer daemon
                     35: (i.e., \fIlpq\fP reports that there is a daemon present but nothing is
                     36: happening).  It does not remove any jobs from the queue
                     37: (use the \fIlprm\fP command instead).
                     38: .I Start
                     39: enables printing and requests \fIlpd\fP to start printing jobs.
                     40: .LP
                     41: \fBenable\fP and \fBdisable\fP
                     42: .IP
                     43: \fIEnable\fP and \fIdisable\fP allow spooling in the local queue to be
                     44: turned on/off.
                     45: This will allow/prevent
                     46: .I lpr
                     47: from putting new jobs in the spool queue.  It is frequently convenient
                     48: to turn spooling off while testing new line printer filters since the
                     49: .I root
                     50: user can still use
                     51: .I lpr
                     52: to put jobs in the queue but no one else can.
                     53: The other main use is to prevent users from putting jobs in the queue
                     54: when the printer is expected to be unavailable for a long time.
                     55: .LP
                     56: \fBrestart\fP
                     57: .IP
                     58: .I Restart
                     59: allows ordinary users to restart printer daemons when
                     60: .I lpq
                     61: reports that there is no daemon present.
                     62: .LP
                     63: \fBstop\fP
                     64: .IP
                     65: .I Stop
                     66: halts a spooling daemon after the current job completes;
                     67: this also disables printing.  This is a clean way to shutdown a
                     68: printer to do maintenance, etc.  Note that users can still enter jobs in a
                     69: spool queue while a printer is
                     70: .IR stopped .
                     71: .LP
                     72: \fBtopq\fP
                     73: .IP
                     74: .I Topq
                     75: places jobs at the top of a printer queue.  This can be used
                     76: to reorder high priority jobs since
                     77: .I lpr
                     78: only provides first-come-first-serve ordering of jobs.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.