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