]> git.ipfire.org Git - thirdparty/cups.git/blob - man/lpc.man
Update .gitignore to ignore compressed man pages.
[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 .\" Licensed under Apache License v2.0. See the file "LICENSE" for more information.
8 .\"
9 .TH lpc 8 "CUPS" "11 June 2014" "Apple Inc."
10 .SH NAME
11 lpc \- line printer control program
12 .SH SYNOPSIS
13 .B lpc
14 [
15 .I command
16 [
17 .I parameter(s)
18 ] ]
19 .SH DESCRIPTION
20 \fBlpc\fR provides limited control over printer and class queues provided by CUPS. It can also be used to query the state of queues.
21 .LP
22 If no command is specified on the command-line, \fBlpc\fR displays a prompt and accepts commands from the standard input.
23 .SS COMMANDS
24 The \fBlpc\fR program accepts a subset of commands accepted by the Berkeley \fBlpc\fR program of the same name:
25 .TP 5
26 .B exit
27 Exits the command interpreter.
28 .TP 5
29 \fBhelp \fR[\fIcommand\fR]
30 .TP 5
31 \fB? \fR[\fIcommand\fR]
32 Displays a short help message.
33 .TP 5
34 .B quit
35 Exits the command interpreter.
36 .TP 5
37 \fBstatus \fR[\fIqueue\fR]
38 Displays the status of one or more printer or class queues.
39 .SH NOTES
40 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.
41 To configure printer or class queues you must use the
42 .BR lpadmin (8)
43 command or another CUPS-compatible client with that functionality.
44 .SH SEE ALSO
45 .BR cancel (1),
46 .BR cupsaccept (8),
47 .BR cupsenable (8),
48 .BR lp (1),
49 .BR lpadmin (8),
50 .BR lpr (1),
51 .BR lprm (1),
52 .BR lpstat (1),
53 CUPS Online Help (http://localhost:631/help)
54 .SH COPYRIGHT
55 Copyright \[co] 2007-2018 by Apple Inc.