Home OS X
OS X Syntax

lpc

Line printer control program

SYNTAX
      lpc [ command [ parameter(s) ] ]

COMMANDS
       exit
	    Exits the command interpreter.

       help [command]
	    Displays a short help message.

       quit
	    Exits the command interpreter.

       status [queue]
	    Displays the status of one or more printer or class queues.

       ? [command]
	    Display a short help message.    

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

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).

"Programming is dreadfully impermanent; it's more like performance art than literature" - Bruce Sterling

Related commands:

accept(8), cancel(1), disable(8), enable(8), lp(1), lpr(1), lprm(1), lpstat(1), reject(8),

Equivalent BASH command:

lpc - Line printer control program



Back to the Top

Simon Sheppard
SS64.com