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