Annotation of cci/usr/src/man/man8/lpc.8, revision 1.1

1.1     ! root        1: .TH LPC 8 "4 July 1983"
        !             2: .UC 4
        !             3: .ad
        !             4: .SH NAME
        !             5: lpc \- line printer control program
        !             6: .SH SYNOPSIS
        !             7: .B /etc/lpc
        !             8: [ command [ argument ... ] ]
        !             9: .SH DESCRIPTION
        !            10: .I Lpc
        !            11: is used by the system administrator to control the
        !            12: operation of the line printer system.  
        !            13: For each line printer configured in /etc/printcap,
        !            14: .I lpc
        !            15: may be used to:
        !            16: .IP \(bu
        !            17: disable or enable a printer,
        !            18: .IP \(bu
        !            19: disable or enable a printer's spooling queue,
        !            20: .IP \(bu
        !            21: rearrange the order of jobs in a spooling queue,
        !            22: .IP \(bu
        !            23: find the status of printers, and their associated
        !            24: spooling queues and printer dameons.
        !            25: .PP
        !            26: Without any arguments,
        !            27: .I lpc
        !            28: will prompt for commands from the standard input.
        !            29: If arguments are supplied,
        !            30: .IR lpc
        !            31: interprets the first argument as a command and the remaining
        !            32: arguments as parameters to the command.  The standard input
        !            33: may be redirected causing
        !            34: .I lpc
        !            35: to read commands from file.
        !            36: Commands may be abreviated;
        !            37: the following is the list of recognized commands.
        !            38: .TP
        !            39: ? [ command ... ]
        !            40: .TP
        !            41: help [ command ... ]
        !            42: .br
        !            43: Print a short description of each command specified in the argument list,
        !            44: or, if no arguments are given, a list of the recognized commands.
        !            45: .TP
        !            46: abort { all | printer ... }
        !            47: .br
        !            48: Terminate an active spooling daemon on the local host immediately and
        !            49: then disable printing (preventing new daemons from being started by
        !            50: .IR lpr )
        !            51: for the specified printers.
        !            52: .TP
        !            53: clean { all | printer ... }
        !            54: .br
        !            55: Remove all files beginning with ``cf'', ``tf'', or ``df''
        !            56: from the specified printer queue(s) on the local machine.
        !            57: .TP
        !            58: enable { all | printer ... }
        !            59: .br
        !            60: Enable spooling on the local queue for the listed printers. 
        !            61: This will allow
        !            62: .I lpr
        !            63: to put new jobs in the spool queue.
        !            64: .TP
        !            65: exit
        !            66: .TP
        !            67: quit
        !            68: .br
        !            69: Exit from lpc.
        !            70: .TP
        !            71: disable { all | printer ... }
        !            72: .br
        !            73: Turn the specified printer queues off.  This prevents new
        !            74: printer jobs from being entered into the queue by
        !            75: .IR lpr .
        !            76: .TP
        !            77: restart { all | printer ... }
        !            78: .br
        !            79: Attempt to start a new printer daemon. 
        !            80: This is useful when some abnormal condition causes the daemon to
        !            81: die unexpectedly leaving jobs in the queue.
        !            82: .I Lpq
        !            83: will report that there is no daemon present when this condition occurs. 
        !            84: .TP
        !            85: start { all | printer ... }
        !            86: .br
        !            87: Enable printing and start a spooling daemon for the listed printers.
        !            88: .TP
        !            89: status [ all ] [ printer ... ]
        !            90: Display the status of daemons and queues on the local machine.
        !            91: .TP
        !            92: stop { all | printer ... }
        !            93: .br
        !            94: Stop a spooling daemon after the current job completes and disable
        !            95: printing.
        !            96: .TP
        !            97: topq printer [ jobnum ... ] [ user ... ]
        !            98: .br
        !            99: Place the jobs in the order listed at the top of the printer queue.
        !           100: .SH FILES
        !           101: .nf
        !           102: .ta \w'/etc/printcap           'u
        !           103: /etc/printcap  printer description file
        !           104: /usr/spool/*   spool directories
        !           105: /usr/spool/*/lock      lock file for queue control
        !           106: .fi
        !           107: .SH "SEE ALSO"
        !           108: lpd(8),
        !           109: lpr(1),
        !           110: lpq(1),
        !           111: lprm(1),
        !           112: printcap(5)
        !           113: .SH DIAGNOSTICS
        !           114: .nf
        !           115: .ta \w'?Ambiguous command      'u
        !           116: ?Ambiguous command     abreviation matches more than one command
        !           117: ?Invalid command       no match was found
        !           118: ?Privileged command    command can be executed by root only
        !           119: .fi

unix.superglobalmegacorp.com

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