NAME
lprc - line printer control program
SYNOPSIS
lprc [command [argument ...]]
DESCRIPTION
Lprc is used by the system administrator to control the operation of the line printer system. For each line printer configured in /etc/printcap, lprc may be used to:
? [command ...]
help [command ...]
Print a short description of each command specified in the argument list, or, if no arguments are given, a list of the recognized commands.
abort { all | printer }
Terminate an active spooling daemon on the local host immediately and then disable printing (preventing new daemons from being started by lpr) for the specified printers.
clean { all | printer }
Remove any temporary files, data files, and control files that cannot be printed (i.e., do not form a complete printer job) from the specified printer queue(s) on the local machine.
disable { all | printer }
Turn the specified printer queues off. This prevents new printer jobs from being entered into the queue by lpr.
down { all | printer } message ...
Turn the specified printer queue off, disable printing and put message in the printer status file. The message doesn't need to be quoted, the remaining arguments are treated like echo(1). This is normally used to take a printer down and let others know why lprq(1) will indicate the printer is down and print the status message).
enable { all | printer }
Enable spooling on the local queue for the listed printers. This will allow lpr(1) to put new jobs in the spool queue.
exit
start { all | printer }
Enable printing and start a spooling daemon for the listed printers.
status { all | printer }
Display the status of daemons and queues on the local machine.
stop { all | printer }
Stop a spooling daemon after the current job completes and disable printing.
topq printer [ jobnum ... ] [ user ... ] Place the jobs in the order listed at the top of the printer queue.
up { all | printer }
Enable everything and start a new printer daemon. Undoes the effects of down.
DIAGNOSTICS
?Ambiguous command
abreviation matches more than one command
?Invalid command
no match was found
?Privileged command
command can be executed by root only
HISTORY
The lpc command appeared in 4.2BSD.
4.2 Berkeley Distribution March 16, 1991 2