O'Reilly logo

Linux® Desk Reference, Second Edition by Scott Hawkins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Commands

lpc

[command [argument …]]

This command is used by root to manage the line printer system. If called with no arguments, lpc will supply an interactive prompt, otherwise it will interpret command line arguments as interactive commands. Note that it is effective only on printers specified in /etc/printcap.

Example: To invoke lpc from the command line and then use it to disable the print queue associated with lp1, use

lpc

lpc> disable lp1

? [command ...], help [command ...] This command outputs a short description of the specified command, or, if none is specified, a list of available commands.
abort { all | printer }T This command terminates ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required