]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | .\" |
6e12033b | 2 | .\" lpinfo man page for CUPS. |
ef416fc2 | 3 | .\" |
6e12033b MS |
4 | .\" Copyright 2007-2014 by Apple Inc. |
5 | .\" Copyright 1997-2006 by Easy Software Products. | |
ef416fc2 | 6 | .\" |
6e12033b MS |
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/". | |
ef416fc2 | 12 | .\" |
6e12033b | 13 | .TH lpinfo 8 "CUPS" "12 June 2014" "Apple Inc." |
ef416fc2 | 14 | .SH NAME |
15 | lpinfo \- show available devices or drivers | |
16 | .SH SYNOPSIS | |
17 | .B lpinfo | |
6e12033b MS |
18 | [ |
19 | .B \-E | |
20 | ] [ | |
21 | .B \-U | |
bd7854cb | 22 | .I username |
6e12033b MS |
23 | ] [ |
24 | \fB\-h \fIserver\fR[\fB:\fIport\fR] | |
25 | ] [ | |
26 | .B \-l | |
27 | ] [ | |
28 | .B \-\-device\-id | |
58dc1933 | 29 | .I device-id-string |
6e12033b MS |
30 | ] [ |
31 | .B \-\-exclude\-schemes | |
ed6e7faf | 32 | .I scheme-list |
6e12033b MS |
33 | ] [ |
34 | .B \-\-include\-schemes | |
ed6e7faf | 35 | .I scheme-list |
6e12033b MS |
36 | ] [ |
37 | .B \-\-language | |
58dc1933 | 38 | .I locale |
6e12033b MS |
39 | ] [ |
40 | .B \-\-make\-and\-model | |
58dc1933 | 41 | .I name |
6e12033b MS |
42 | ] [ |
43 | .B \-\-product | |
58dc1933 | 44 | .I name |
6e12033b MS |
45 | ] |
46 | .B \-m | |
bd7854cb | 47 | .br |
48 | .B lpinfo | |
6e12033b MS |
49 | [ |
50 | .B \-E | |
51 | ] [ | |
52 | .B \-U | |
bd7854cb | 53 | .I username |
6e12033b MS |
54 | ] [ |
55 | \fB\-h \fIserver\fR[\fB:\fIport\fR] | |
56 | ] [ | |
57 | .B \-l | |
58 | ] [ | |
59 | .B \-\-exclude\-schemes | |
ed6e7faf | 60 | .I scheme-list |
6e12033b MS |
61 | ] [ |
62 | .B \-\-include\-schemes | |
ed6e7faf | 63 | .I scheme-list |
6e12033b MS |
64 | ] [ |
65 | .B \-\-timeout | |
58dc1933 | 66 | .I seconds |
6e12033b MS |
67 | ] |
68 | .B \-v | |
ef416fc2 | 69 | .SH DESCRIPTION |
6e12033b MS |
70 | \fBlpinfo\fR lists the available devices or drivers known to the CUPS server. |
71 | The first form (\fI-m\fR) lists the available drivers, while the second form (\fI-v\fR) lists the available devices. | |
bd7854cb | 72 | .SH OPTIONS |
6e12033b | 73 | \fBlpinfo\fR accepts the following options: |
ef416fc2 | 74 | .TP 5 |
6e12033b | 75 | .B \-E |
ef416fc2 | 76 | Forces encryption when connecting to the server. |
77 | .TP 5 | |
6e12033b | 78 | \fB\-U \fIusername\fR |
bd7854cb | 79 | Sets the username to use when connecting to the server. |
ef416fc2 | 80 | .TP 5 |
6e12033b | 81 | \fB\-h \fIserver\fR[\fB:\fIport\fR] |
bd7854cb | 82 | Selects an alternate server. |
ef416fc2 | 83 | .TP 5 |
6e12033b | 84 | .B \-l |
bd7854cb | 85 | Shows a "long" listing of devices or drivers. |
58dc1933 | 86 | .TP 5 |
6e12033b MS |
87 | \fB\-\-device\-id \fIdevice-id-string\fR |
88 | Specifies the IEEE-1284 device ID to match when listing drivers with the \fI\-m\fR option. | |
58dc1933 | 89 | .TP 5 |
6e12033b MS |
90 | \fB\-\-exclude\-schemes \fIscheme-list\fR |
91 | Specifies a comma-delimited list of device or PPD schemes that should be excluded from the results. | |
92 | Static PPD files use the "file" scheme. | |
ed6e7faf | 93 | .TP 5 |
6e12033b MS |
94 | \fB\-\-include\-schemes \fIscheme-list\fR |
95 | Specifies a comma-delimited list of device or PPD schemes that should be included in the results. | |
96 | Static PPD files use the "file" scheme. | |
ed6e7faf | 97 | .TP 5 |
6e12033b MS |
98 | \fB\-\-language \fIlocale\fR |
99 | Specifies the language to match when listing drivers with the \fI\-m\fR option. | |
58dc1933 | 100 | .TP 5 |
6e12033b MS |
101 | \fB\-\-make\-and\-model \fIname\fR |
102 | Specifies the make and model to match when listing drivers with the \fI\-m\fR option. | |
58dc1933 | 103 | .TP 5 |
6e12033b MS |
104 | \fB\-\-product \fIname\fR |
105 | Specifies the product to match when listing drivers with the \fI\-m\fR option. | |
58dc1933 | 106 | .TP 5 |
6e12033b MS |
107 | \fB\-\-timeout \fIseconds\fR |
108 | Specifies the timeout when listing devices with the \fI\-v\fR option. | |
109 | .SH CONFORMING TO | |
bd7854cb | 110 | The \fIlpinfo\fR command is unique to CUPS. |
6e12033b MS |
111 | .SH EXAMPLES |
112 | List all devices: | |
113 | .nf | |
114 | ||
115 | lpinfo \-v | |
116 | ||
117 | .fi | |
118 | List all drivers: | |
119 | .nf | |
120 | ||
121 | lpinfo \-m | |
122 | ||
123 | .fi | |
124 | List drivers matching "HP LaserJet": | |
125 | .nf | |
126 | ||
127 | lpinfo \-\-make\-and\-model "HP LaserJet" \-m | |
128 | .fi | |
ef416fc2 | 129 | .SH SEE ALSO |
6e12033b MS |
130 | .BR lpadmin (8), |
131 | CUPS Online Help (http://localhost:631/help) | |
ef416fc2 | 132 | .SH COPYRIGHT |
fbfee7a8 | 133 | Copyright \[co] 2007-2015 by Apple Inc. |