On Unix-like operating systems, the lpc command controls line printers.

Description

lpc provides limited control over printer and class queues provided by the common printing system CUPS. It can also be used to query the state of print queues.

  • Description
  • Syntax
  • Examples
  • Related commands
  • Linux commands help

If no command is specified on the command-line, lpc displays a prompt and accept commands from the standard input.

Syntax

lpc [ command [ parameter(s) ] ]

Commands

To configure printer or class queues, you must use the lpadmin command or another CUPS-compatible client with that functionality.

Examples

lpc status

Display the status of the current print queue.

lpr — Submit print requests.lpg — List the status of available printers.lprm — Remove requests from the print queue.