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 12<h2 class="title"><a name="SYNOPSIS">Synopsis</a></h2> 13<b>lpinfo</b> 14[ 15<b>-E</b> 16] [ 17<b>-U</b> 18<i>username</i> 19] [ 20<b>-h </b><i>server</i>[<b>:</b><i>port</i>] 21] [ 22<b>-l</b> 23] [ 24<b>--device-id</b> 25<i>device-id-string</i> 26] [ 27<b>--exclude-schemes</b> 28<i>scheme-list</i> 29] [ 30<b>--include-schemes</b> 31<i>scheme-list</i> 32] [ 33<b>--language</b> 34<i>locale</i> 35] [ 36<b>--make-and-model</b> 37<i>name</i> 38] [ 39<b>--product</b> 40<i>name</i> 41] 42<b>-m</b> 43<br> 44<b>lpinfo</b> 45[ 46<b>-E</b> 47] [ 48<b>-U</b> 49<i>username</i> 50] [ 51<b>-h </b><i>server</i>[<b>:</b><i>port</i>] 52] [ 53<b>-l</b> 54] [ 55<b>--exclude-schemes</b> 56<i>scheme-list</i> 57] [ 58<b>--include-schemes</b> 59<i>scheme-list</i> 60] [ 61<b>--timeout</b> 62<i>seconds</i> 63] 64<b>-v</b> 65<h2 class="title"><a name="DESCRIPTION">Description</a></h2> 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. 68<h2 class="title"><a name="OPTIONS">Options</a></h2> 69<b>lpinfo</b> accepts the following options: 70<dl class="man"> 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. 95</dl> 96<h2 class="title"><a name="CONFORMING_TO">Conforming To</a></h2> 97The <i>lpinfo</i> command is unique to CUPS. 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> 116<h2 class="title"><a name="SEE_ALSO">See Also</a></h2> 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>) 119<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2> 120Copyright © 2007-2014 by Apple Inc. 121 122</body> 123</html> 124