lpc(8)lpc(8)Namelpc - line printer control program
/etc/lpc [ command [ argument... ] ]
The program is used by the system administrator to control the opera‐
tion of the line printer system. For each line printer with an entry
in the file, may be used to start/stop several different functions.
Without any arguments, prompts for commands from the standard input.
If arguments are supplied, interprets the first argument as a command
and the remaining arguments as parameters to the command. The standard
input may be redirected causing to read commands from file. The com‐
mands and their parameters are shown below. Commands may be abbrevi‐
? [ command... ]
help [ command... ]
Prints a short description of each command specified in the
argument list, or, if no arguments are given, a list of the rec‐
abort [ all ] [ printer... ]
Terminates an active spooling daemon on the local host immedi‐
ately and then disables printing (preventing new daemons from
being started by for the specified printers.
clean [ all ] [ printer... ]
Removes all files beginning with ``cf'', ``tf'', or ``df'' from
the specified printer queue(s) on the local machine.
enable [ all ] [ printer... ]
Enables spooling on the local queue for the listed printers.
This will allow to put new jobs in the spool queue.
disablefR [ all ] [ printer... ]
Turns off the specified printer queues. This prevents new
printer jobs from being entered into the queue by
restart [ all ] [ printer... ]
Attempts to start a new printer daemon. This is useful when
some abnormal condition causes the daemon to die unexpectedly
leaving jobs in the queue. The command will report that there
is no daemon present when this condition occurs.
start [ all ] [ printer... ]
Enables printing and starts a spooling daemon for the listed
printers. This command also creates an file in the printer's
spool directory. The file can be used by filters as an initial‐
status [ all ] [ printer... ]
Displays the status of daemons and queues on the local machine.
stop [ all ] [ printer... ]
Stops a spooling daemon after the current job completes and dis‐
topq printer [ jobnum... ] [ user... ]
Places the jobs in the order listed at the top of the printer
Abbreviation matches more than on command.
No match was found.
The command can only be executed by root.
Printer description file
Lock file for queue control
See Alsolpq(1), lpr(1), lprm(1), printcap(5), lpd(8)lpc(8)