手册页部分 1M: 系统管理命令

退出打印视图

更新时间: 2014 年 7 月
 
 

lpc (1m)

名称

lpc - line printer control program

用法概要

lpc [ command [ parameter(s) ] ]

描述




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 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) command or another  CUPS-
     compatible client with that functionality.

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


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






3 November 2008         Last change: CUPS                       1






Apple Inc.                                                 lpc(8)



     +---------------+------------------+
     |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://java.net/projects/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         Last change: CUPS                       2