---
name: "lpc"
section: "8"
platform: "macos"
package: "cups"
version: "522.4"
release: "macOS 26.5"
platforms: ["linux", "freebsd", "openbsd", "macos"]
url: "https://new.carta.tech/lpc/8"
---

# lpc(8)

line printer control program (deprecated)

## NAME

lpc - line printer control program (deprecated)

## SYNOPSIS

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

## 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

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

- **exit**

  Exits the command interpreter.

- **help** \[*command*\]

  - **?** \[*command*\]

  Displays a short help message.

- **quit**

  Exits the command interpreter.

- **status** \[*queue*\]

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

## 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)](/lpadmin/8.md) command or another CUPS-compatible client with that functionality.

## SEE ALSO

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

## COPYRIGHT

Copyright © 2007-2019 by Apple Inc.
