lpc(8) OpenPrinting lpc(8)

# [NAME](#NAME)

lpc - line printer control program (deprecated)

# [SYNOPSIS](#SYNOPSIS)

**lpc** \[ *command* \[ *parameter(s)* ] ]

# [DESCRIPTION](#DESCRIPTION)

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

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

## [COMMANDS](#COMMANDS)

The **lpc** program accepts a subset of commands accepted by the Berkeley **lpc** program of the same name:

[**exit**](#exit)

Exits the command interpreter.

[**help** \[*command*\]](#help)

**?** \[*command*]

Displays a short help message.

[**quit**](#quit)

Exits the command interpreter.

[**status** \[*queue*\]](#status)

Displays the status of one or more printer or class queues.

# [NOTES](#NOTES)

This program is deprecated and will be removed in a future feature release of CUPS.

Since **lpc** is geared towards the Berkeley printing system, it is impossible to use **lpc** to configure printer or class queues provided by CUPS. To configure printer or class queues you must use the [**lpadmin**(8)](/man/os/cups/lpadmin.8) command or another CUPS-compatible client with that functionality.

# [SEE ALSO](#SEE_ALSO)

[**cancel**(1)](/man/os/cups/cancel.1), [**cupsaccept**(8)](/man/os/cups/cupsaccept.8), [**cupsenable**(8)](/man/os/cups/cupsenable.8), [**lp**(1)](/man/os/cups/lp.1), [**lpadmin**(8)](/man/os/cups/lpadmin.8), [**lpr**(1)](/man/os/cups/lpr.1), [**lprm**(1)](/man/os/cups/lprm.1), [**lpstat**(1)](/man/os/cups/lpstat.1), CUPS Online Help (http://localhost:631/help)

# [COPYRIGHT](#COPYRIGHT)

Copyright © 2020-2024 by OpenPrinting.

CUPS 2021-02-28

---

Document: lpc(8) from cups 2.4.19-r4 (Chainguard OS)
Source: https://github.com/OpenPrinting/cups
