mirror of https://gitee.com/openkylin/cups.git
59 lines
1.7 KiB
Groff
59 lines
1.7 KiB
Groff
|
.\"
|
|||
|
.\" lpc man page for CUPS.
|
|||
|
.\"
|
|||
|
.\" Copyright © 2007-2019 by Apple Inc.
|
|||
|
.\" Copyright © 1997-2006 by Easy Software Products.
|
|||
|
.\"
|
|||
|
.\" Licensed under Apache License v2.0. See the file "LICENSE" for more
|
|||
|
.\" information.
|
|||
|
.\"
|
|||
|
.TH lpc 8 "CUPS" "26 April 2019" "Apple Inc."
|
|||
|
.SH NAME
|
|||
|
lpc \- line printer control program (deprecated)
|
|||
|
.SH SYNOPSIS
|
|||
|
.B lpc
|
|||
|
[
|
|||
|
.I command
|
|||
|
[
|
|||
|
.I parameter(s)
|
|||
|
] ]
|
|||
|
.SH DESCRIPTION
|
|||
|
\fBlpc\fR provides limited control over printer and class queues provided by CUPS. It can also be used to query the state of queues.
|
|||
|
.LP
|
|||
|
If no command is specified on the command-line, \fBlpc\fR displays a prompt and accepts commands from the standard input.
|
|||
|
.SS COMMANDS
|
|||
|
The \fBlpc\fR program accepts a subset of commands accepted by the Berkeley \fBlpc\fR program of the same name:
|
|||
|
.TP 5
|
|||
|
.B exit
|
|||
|
Exits the command interpreter.
|
|||
|
.TP 5
|
|||
|
\fBhelp \fR[\fIcommand\fR]
|
|||
|
.TP 5
|
|||
|
\fB? \fR[\fIcommand\fR]
|
|||
|
Displays a short help message.
|
|||
|
.TP 5
|
|||
|
.B quit
|
|||
|
Exits the command interpreter.
|
|||
|
.TP 5
|
|||
|
\fBstatus \fR[\fIqueue\fR]
|
|||
|
Displays the status of one or more printer or class queues.
|
|||
|
.SH NOTES
|
|||
|
This program is deprecated and will be removed in a future feature release of CUPS.
|
|||
|
.LP
|
|||
|
Since \fBlpc\fR is geared towards the Berkeley printing system, it is impossible to use \fBlpc\fR to configure printer or class queues provided by CUPS.
|
|||
|
To configure printer or class queues you must use the
|
|||
|
.BR lpadmin (8)
|
|||
|
command or another CUPS-compatible client with that functionality.
|
|||
|
.SH SEE ALSO
|
|||
|
.BR cancel (1),
|
|||
|
.BR cupsaccept (8),
|
|||
|
.BR cupsenable (8),
|
|||
|
.BR lp (1),
|
|||
|
.BR lpadmin (8),
|
|||
|
.BR lpr (1),
|
|||
|
.BR lprm (1),
|
|||
|
.BR lpstat (1),
|
|||
|
CUPS Online Help (http://localhost:631/help)
|
|||
|
.SH COPYRIGHT
|
|||
|
Copyright \[co] 2007-2019 by Apple Inc.
|