System administration command. LPRng line printer control program. If executed without a command, lpc accepts commands from standard input. Some of the commands accept a jobid parameter. A jobid can be one or more job numbers, user names, lpd key characters, or key character and glob patterns of the form X = pattern. It can also be the keyword all, which matches all jobs.
Alias for the -Pall command. Operate on all printer spool queues listed in the printcap all field.
Use authentication as specified in the AUTH environment variable.
Specify the print spool queue to operate on. A printer may also specify a host (e.g., printer@host). The default queue is the queue for whatever printer is listed in the PRINTER environment variable, or the first entry in the /etc/printcap file. If the keyword all is given instead of a printer name, lpc will operate on printers specified in the all field of the /etc/printcap file on the appropriate host. If no all field is specified, then lpc will use lpd on the appropriate host to find all available printers.
Send commands to the specified server instead of whatever server is listed in /etc/printcap or set using the -P option.
Execute commands as if they were made by user.
Print version number, then exit.
Get a list of commands or help on specific commands.
Report whether lpd server is active.