]> git.ipfire.org Git - thirdparty/cups.git/blob - man/lpc.man
Merge pull request #5112 from paulmenzel/remove-libgcrypt-detection
[thirdparty/cups.git] / man / lpc.man
1 .\"
2 .\" lpc man page for CUPS.
3 .\"
4 .\" Copyright 2007-2014 by Apple Inc.
5 .\" Copyright 1997-2006 by Easy Software Products.
6 .\"
7 .\" These coded instructions, statements, and computer programs are the
8 .\" property of Apple Inc. and are protected by Federal copyright
9 .\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
10 .\" which should have been included with this file. If this file is
11 .\" file is missing or damaged, see the license at "http://www.cups.org/".
12 .\"
13 .TH lpc 8 "CUPS" "11 June 2014" "Apple Inc."
14 .SH NAME
15 lpc \- line printer control program
16 .SH SYNOPSIS
17 .B lpc
18 [
19 .I command
20 [
21 .I parameter(s)
22 ] ]
23 .SH DESCRIPTION
24 \fBlpc\fR provides limited control over printer and class queues provided by CUPS. It can also be used to query the state of queues.
25 .LP
26 If no command is specified on the command-line, \fBlpc\fR displays a prompt and accepts commands from the standard input.
27 .SS COMMANDS
28 The \fBlpc\fR program accepts a subset of commands accepted by the Berkeley \fBlpc\fR program of the same name:
29 .TP 5
30 .B exit
31 Exits the command interpreter.
32 .TP 5
33 \fBhelp \fR[\fIcommand\fR]
34 .TP 5
35 \fB? \fR[\fIcommand\fR]
36 Displays a short help message.
37 .TP 5
38 .B quit
39 Exits the command interpreter.
40 .TP 5
41 \fBstatus \fR[\fIqueue\fR]
42 Displays the status of one or more printer or class queues.
43 .SH NOTES
44 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.
45 To configure printer or class queues you must use the
46 .BR lpadmin (8)
47 command or another CUPS-compatible client with that functionality.
48 .SH SEE ALSO
49 .BR cancel (1),
50 .BR cupsaccept (8),
51 .BR cupsenable (8),
52 .BR lp (1),
53 .BR lpadmin (8),
54 .BR lpr (1),
55 .BR lprm (1),
56 .BR lpstat (1),
57 CUPS Online Help (http://localhost:631/help)
58 .SH COPYRIGHT
59 Copyright \[co] 2007-2017 by Apple Inc.