]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/help/man-lpinfo.html
Add common options to lp/lpr man pages (Issue #4794)
[thirdparty/cups.git] / doc / help / man-lpinfo.html
CommitLineData
c277f98c 1<!DOCTYPE HTML>
94436c5a
MS
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
12<h2 class="title"><a name="SYNOPSIS">Synopsis</a></h2>
c277f98c 13<b>lpinfo</b>
6e12033b
MS
14[
15<b>-E</b>
16] [
17<b>-U</b>
c277f98c 18<i>username</i>
6e12033b
MS
19] [
20<b>-h </b><i>server</i>[<b>:</b><i>port</i>]
21] [
22<b>-l</b>
23] [
24<b>--device-id</b>
c277f98c 25<i>device-id-string</i>
6e12033b
MS
26] [
27<b>--exclude-schemes</b>
c277f98c 28<i>scheme-list</i>
6e12033b
MS
29] [
30<b>--include-schemes</b>
c277f98c 31<i>scheme-list</i>
6e12033b
MS
32] [
33<b>--language</b>
c277f98c 34<i>locale</i>
6e12033b
MS
35] [
36<b>--make-and-model</b>
c277f98c 37<i>name</i>
6e12033b
MS
38] [
39<b>--product</b>
c277f98c 40<i>name</i>
6e12033b
MS
41]
42<b>-m</b>
c277f98c
MS
43<br>
44<b>lpinfo</b>
6e12033b
MS
45[
46<b>-E</b>
47] [
48<b>-U</b>
c277f98c 49<i>username</i>
6e12033b
MS
50] [
51<b>-h </b><i>server</i>[<b>:</b><i>port</i>]
52] [
53<b>-l</b>
54] [
55<b>--exclude-schemes</b>
c277f98c 56<i>scheme-list</i>
6e12033b
MS
57] [
58<b>--include-schemes</b>
c277f98c 59<i>scheme-list</i>
6e12033b
MS
60] [
61<b>--timeout</b>
c277f98c 62<i>seconds</i>
6e12033b
MS
63]
64<b>-v</b>
94436c5a 65<h2 class="title"><a name="DESCRIPTION">Description</a></h2>
6e12033b
MS
66<b>lpinfo</b> lists the available devices or drivers known to the CUPS server.
67The first form (<i>-m</i>) lists the available drivers, while the second form (<i>-v</i>) lists the available devices.
94436c5a 68<h2 class="title"><a name="OPTIONS">Options</a></h2>
6e12033b 69<b>lpinfo</b> accepts the following options:
2909c66c 70<dl class="man">
6e12033b
MS
71<dt><b>-E</b>
72<dd style="margin-left: 5.0em">Forces encryption when connecting to the server.
73<dt><b>-U </b><i>username</i>
74<dd style="margin-left: 5.0em">Sets the username to use when connecting to the server.
75<dt><b>-h </b><i>server</i>[<b>:</b><i>port</i>]
76<dd style="margin-left: 5.0em">Selects an alternate server.
77<dt><b>-l</b>
78<dd style="margin-left: 5.0em">Shows a "long" listing of devices or drivers.
79<dt><b>--device-id </b><i>device-id-string</i>
80<dd style="margin-left: 5.0em">Specifies the IEEE-1284 device ID to match when listing drivers with the <i>-m</i> option.
81<dt><b>--exclude-schemes </b><i>scheme-list</i>
82<dd style="margin-left: 5.0em">Specifies a comma-delimited list of device or PPD schemes that should be excluded from the results.
83Static PPD files use the "file" scheme.
84<dt><b>--include-schemes </b><i>scheme-list</i>
85<dd style="margin-left: 5.0em">Specifies a comma-delimited list of device or PPD schemes that should be included in the results.
86Static PPD files use the "file" scheme.
87<dt><b>--language </b><i>locale</i>
88<dd style="margin-left: 5.0em">Specifies the language to match when listing drivers with the <i>-m</i> option.
89<dt><b>--make-and-model </b><i>name</i>
90<dd style="margin-left: 5.0em">Specifies the make and model to match when listing drivers with the <i>-m</i> option.
91<dt><b>--product </b><i>name</i>
92<dd style="margin-left: 5.0em">Specifies the product to match when listing drivers with the <i>-m</i> option.
93<dt><b>--timeout </b><i>seconds</i>
94<dd style="margin-left: 5.0em">Specifies the timeout when listing devices with the <i>-v</i> option.
2909c66c 95</dl>
6e12033b 96<h2 class="title"><a name="CONFORMING_TO">Conforming To</a></h2>
94436c5a 97The <i>lpinfo</i> command is unique to CUPS.
6e12033b
MS
98<h2 class="title"><a name="EXAMPLES">Examples</a></h2>
99List all devices:
100<pre class="man">
101
102 lpinfo -v
103
104</pre>
105List all drivers:
106<pre class="man">
107
108 lpinfo -m
109
110</pre>
111List drivers matching "HP LaserJet":
112<pre class="man">
113
114 lpinfo --make-and-model "HP LaserJet" -m
115</pre>
94436c5a 116<h2 class="title"><a name="SEE_ALSO">See Also</a></h2>
6e12033b
MS
117<a href="man-lpadmin.html?TOPIC=Man+Pages"><b>lpadmin</b>(8),</a>
118CUPS Online Help (<a href="http://localhost:631/help">http://localhost:631/help</a>)
94436c5a 119<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
fbfee7a8 120Copyright &copy; 2007-2015 by Apple Inc.
94436c5a
MS
121
122</body>
123</html>