summaryrefslogtreecommitdiff
path: root/doc/help/man-lpinfo.html
blob: 1089ec59b431e64e63a726533e927bb5de8f903e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE HTML>
<html>
<!-- SECTION: Man Pages -->
<head>
	<link rel="stylesheet" type="text/css" href="../cups-printable.css">
	<title>lpinfo(8)</title>
</head>
<body>
<h1 class="title">lpinfo(8)</h1>
<h2 class="title"><a name="NAME">Name</a></h2>
lpinfo - show available devices or drivers (deprecated)
<h2 class="title"><a name="SYNOPSIS">Synopsis</a></h2>
<b>lpinfo</b>
[
<b>-E</b>
] [
<b>-h </b><i>server</i>[<b>:</b><i>port</i>]
] [
<b>-l</b>
] [
<b>--device-id</b>
<i>device-id-string</i>
] [
<b>--exclude-schemes</b>
<i>scheme-list</i>
] [
<b>--include-schemes</b>
<i>scheme-list</i>
] [
<b>--language</b>
<i>locale</i>
] [
<b>--make-and-model</b>
<i>name</i>
] [
<b>--product</b>
<i>name</i>
]
<b>-m</b>
<br>
<b>lpinfo</b>
[
<b>-E</b>
] [
<b>-h </b><i>server</i>[<b>:</b><i>port</i>]
] [
<b>-l</b>
] [
<b>--exclude-schemes</b>
<i>scheme-list</i>
] [
<b>--include-schemes</b>
<i>scheme-list</i>
] [
<b>--timeout</b>
<i>seconds</i>
]
<b>-v</b>
<h2 class="title"><a name="DESCRIPTION">Description</a></h2>
<b>lpinfo</b> lists the available devices or drivers known to the CUPS server.
The first form (<i>-m</i>) lists the available drivers, while the second form (<i>-v</i>) lists the available devices.
<h2 class="title"><a name="OPTIONS">Options</a></h2>
<b>lpinfo</b> accepts the following options:
<dl class="man">
<dt><b>-E</b>
<dd style="margin-left: 5.0em">Forces encryption when connecting to the server.
<dt><b>-h </b><i>server</i>[<b>:</b><i>port</i>]
<dd style="margin-left: 5.0em">Selects an alternate server.
<dt><b>-l</b>
<dd style="margin-left: 5.0em">Shows a "long" listing of devices or drivers.
<dt><b>--device-id </b><i>device-id-string</i>
<dd style="margin-left: 5.0em">Specifies the IEEE-1284 device ID to match when listing drivers with the <i>-m</i> option.
<dt><b>--exclude-schemes </b><i>scheme-list</i>
<dd style="margin-left: 5.0em">Specifies a comma-delimited list of device or PPD schemes that should be excluded from the results.
Static PPD files use the "file" scheme.
<dt><b>--include-schemes </b><i>scheme-list</i>
<dd style="margin-left: 5.0em">Specifies a comma-delimited list of device or PPD schemes that should be included in the results.
Static PPD files use the "file" scheme.
<dt><b>--language </b><i>locale</i>
<dd style="margin-left: 5.0em">Specifies the language to match when listing drivers with the <i>-m</i> option.
<dt><b>--make-and-model </b><i>name</i>
<dd style="margin-left: 5.0em">Specifies the make and model to match when listing drivers with the <i>-m</i> option.
<dt><b>--product </b><i>name</i>
<dd style="margin-left: 5.0em">Specifies the product to match when listing drivers with the <i>-m</i> option.
<dt><b>--timeout </b><i>seconds</i>
<dd style="margin-left: 5.0em">Specifies the timeout when listing devices with the <i>-v</i> option.
</dl>
<h2 class="title"><a name="CONFORMING_TO">Conforming To</a></h2>
The <i>lpinfo</i> command is unique to CUPS.
<h2 class="title"><a name="EXAMPLES">Examples</a></h2>
List all devices:
<pre class="man">

    lpinfo -v

</pre>
List all drivers:
<pre class="man">

    lpinfo -m

</pre>
List drivers matching "HP LaserJet":
<pre class="man">

    lpinfo --make-and-model "HP LaserJet" -m
</pre>
<h2 class="title"><a name="NOTES">Notes</a></h2>
CUPS printer drivers and backends are deprecated and will no longer be supported in a future feature release of CUPS.
Printers that do not support IPP can be supported using applications such as
<b>ippeveprinter</b>(1).
<h2 class="title"><a name="SEE_ALSO">See Also</a></h2>
<b>lpadmin</b>(8),
CUPS Online Help (<a href="http://localhost:631/help">http://localhost:631/help</a>)
<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
Copyright &copy; 2007-2019 by Apple Inc.

</body>
</html>