LinuxCommandLibrary

lpc

controls line printers

TLDR

Show printer status

$ lpc status
copy
Show all printers
$ lpc status all
copy
Enable printer
$ lpc enable [printer]
copy
Disable printer
$ lpc disable [printer]
copy
Start printer
$ lpc start [printer]
copy
Stop printer
$ lpc stop [printer]
copy

SYNOPSIS

lpc [command] [printer]

DESCRIPTION

lpc controls line printers. It shows status and controls printer queues.
The tool is the line printer control program from BSD, now implemented by CUPS.

PARAMETERS

COMMAND

Control command.
PRINTER
Printer name or "all".
status
Show printer status.
enable
Enable queuing.
disable
Disable queuing.
start
Start printing.
stop
Stop printing.
--help
Display help information.

CAVEATS

Limited functionality in CUPS. Administrative access needed. Legacy BSD interface.

HISTORY

lpc originated in BSD Unix for printer control, now provided by CUPS with limited functionality.

SEE ALSO

lp(1), lpadmin(8), lpq(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community