Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

lpc (8)

Name

lpc - line printer control program

Synopsis

lpc [ command [ parameter(s) ] ]

Description

lpc(8)                            Apple Inc.                            lpc(8)



NAME
       lpc - line printer control program

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  will  display  a
       prompt and accept 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.

LIMITATIONS
       Since lpc is geared towards the Berkeley printing system, it is  impos-
       sible to use lpc to configure printer or class queues provided by CUPS.
       To configure printer or class queues you must use the  lpadmin(8)  com-
       mand or another CUPS-compatible client with that functionality.

COMPATIBILITY
       The CUPS version of lpc does not implement all of the standard Berkeley
       or LPRng commands.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | print/cups       |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+
SEE ALSO
       cancel(1),  cupsaccept(8),  cupsenable(8),  lp(1),   lpr(1),   lprm(1),
       lpstat(1),
       http://localhost:631/help

COPYRIGHT
       Copyright 2007-2009 by Apple Inc.



NOTES
       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source                was                downloaded                from
       http://ftp.easysw.com/pub/cups/1.4.5/cups-1.4.5-source.tar.bz2

       Further information about this software can be found on the open source
       community website at http://www.cups.org/.



3 November 2008                      CUPS                               lpc(8)