man-pages/man8/lpinfo.8.html
2021-03-31 01:06:50 +01:00

192 lines
4.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of lpinfo</TITLE>
</HEAD><BODY>
<H1>lpinfo</H1>
Section: Apple Inc. (8)<BR>Updated: CUPS<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
lpinfo - show available devices or drivers (deprecated)
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</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>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</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.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<B>lpinfo</B> accepts the following options:
<DL COMPACT>
<DT id="1"><B>-E</B>
<DD>
Forces encryption when connecting to the server.
<DT id="2"><B>-h </B><I>server</I>[<B>:</B><I>port</I>]<DD>
Selects an alternate server.
<DT id="3"><B>-l</B>
<DD>
Shows a &quot;long&quot; listing of devices or drivers.
<DT id="4"><B>--device-id </B><I>device-id-string</I><DD>
Specifies the IEEE-1284 device ID to match when listing drivers with the <I>-m</I> option.
<DT id="5"><B>--exclude-schemes </B><I>scheme-list</I><DD>
Specifies a comma-delimited list of device or PPD schemes that should be excluded from the results.
Static PPD files use the &quot;file&quot; scheme.
<DT id="6"><B>--include-schemes </B><I>scheme-list</I><DD>
Specifies a comma-delimited list of device or PPD schemes that should be included in the results.
Static PPD files use the &quot;file&quot; scheme.
<DT id="7"><B>--language </B><I>locale</I><DD>
Specifies the language to match when listing drivers with the <I>-m</I> option.
<DT id="8"><B>--make-and-model </B><I>name</I><DD>
Specifies the make and model to match when listing drivers with the <I>-m</I> option.
<DT id="9"><B>--product </B><I>name</I><DD>
Specifies the product to match when listing drivers with the <I>-m</I> option.
<DT id="10"><B>--timeout </B><I>seconds</I><DD>
Specifies the timeout when listing devices with the <I>-v</I> option.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>CONFORMING TO</H2>
The <I>lpinfo</I> command is unique to CUPS.
<A NAME="lbAG">&nbsp;</A>
<H2>EXAMPLES</H2>
List all devices:
<PRE>
lpinfo -v
</PRE>
List all drivers:
<PRE>
lpinfo -m
</PRE>
List drivers matching &quot;HP LaserJet&quot;:
<PRE>
lpinfo --make-and-model &quot;HP LaserJet&quot; -m
</PRE>
<A NAME="lbAH">&nbsp;</A>
<H2>NOTES</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><A HREF="/cgi-bin/man/man2html?1+ippeveprinter">ippeveprinter</A></B>(1).
<A NAME="lbAI">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?8+lpadmin">lpadmin</A></B>(8),
CUPS Online Help (<A HREF="http://localhost:631/help)">http://localhost:631/help)</A>
<A NAME="lbAJ">&nbsp;</A>
<H2>COPYRIGHT</H2>
Copyright &#169; 2007-2019 by Apple Inc.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="11"><A HREF="#lbAB">NAME</A><DD>
<DT id="12"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="13"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="14"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="15"><A HREF="#lbAF">CONFORMING TO</A><DD>
<DT id="16"><A HREF="#lbAG">EXAMPLES</A><DD>
<DT id="17"><A HREF="#lbAH">NOTES</A><DD>
<DT id="18"><A HREF="#lbAI">SEE ALSO</A><DD>
<DT id="19"><A HREF="#lbAJ">COPYRIGHT</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:13 GMT, March 31, 2021
</BODY>
</HTML>