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