.\"
-.\" "$Id: lpinfo.man 4493 2005-02-18 02:09:53Z mike $"
+.\" lpinfo man page for CUPS.
.\"
-.\" lpinfo man page for the Common UNIX Printing System (CUPS).
+.\" Copyright 2007-2014 by Apple Inc.
+.\" Copyright 1997-2006 by Easy Software Products.
.\"
-.\" Copyright 1997-2005 by Easy Software Products.
+.\" These coded instructions, statements, and computer programs are the
+.\" property of Apple Inc. and are protected by Federal copyright
+.\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
+.\" which should have been included with this file. If this file is
+.\" file is missing or damaged, see the license at "http://www.cups.org/".
.\"
-.\" These coded instructions, statements, and computer programs are the
-.\" property of Easy Software Products and are protected by Federal
-.\" copyright law. Distribution and use rights are outlined in the file
-.\" "LICENSE.txt" which should have been included with this file. If this
-.\" file is missing or damaged please contact Easy Software Products
-.\" at:
-.\"
-.\" Attn: CUPS Licensing Information
-.\" Easy Software Products
-.\" 44141 Airport View Drive, Suite 204
-.\" Hollywood, Maryland 20636 USA
-.\"
-.\" Voice: (301) 373-9600
-.\" EMail: cups-info@cups.org
-.\" WWW: http://www.cups.org
-.\"
-.TH lpinfo 8 "Common UNIX Printing System" "23 January 2001" "Easy Software Products"
+.TH lpinfo 8 "CUPS" "12 June 2014" "Apple Inc."
.SH NAME
lpinfo \- show available devices or drivers
.SH SYNOPSIS
.B lpinfo
-[ -E ] [ -l ] [ -m ] [ -v ]
+[
+.B \-E
+] [
+\fB\-h \fIserver\fR[\fB:\fIport\fR]
+] [
+.B \-l
+] [
+.B \-\-device\-id
+.I device-id-string
+] [
+.B \-\-exclude\-schemes
+.I scheme-list
+] [
+.B \-\-include\-schemes
+.I scheme-list
+] [
+.B \-\-language
+.I locale
+] [
+.B \-\-make\-and\-model
+.I name
+] [
+.B \-\-product
+.I name
+]
+.B \-m
+.br
+.B lpinfo
+[
+.B \-E
+] [
+\fB\-h \fIserver\fR[\fB:\fIport\fR]
+] [
+.B \-l
+] [
+.B \-\-exclude\-schemes
+.I scheme-list
+] [
+.B \-\-include\-schemes
+.I scheme-list
+] [
+.B \-\-timeout
+.I seconds
+]
+.B \-v
.SH DESCRIPTION
-\fBlpinfo\fR lists the available devices or drivers known to the CUPS
-server. One of the \fI-m\fR or \fI-v\fR options must be specified to
-get any output:
+\fBlpinfo\fR lists the available devices or drivers known to the CUPS server.
+The first form (\fI-m\fR) lists the available drivers, while the second form (\fI-v\fR) lists the available devices.
+.SH OPTIONS
+\fBlpinfo\fR accepts the following options:
.TP 5
-\-E
-.br
+.B \-E
Forces encryption when connecting to the server.
.TP 5
-\-l
-.br
+\fB\-h \fIserver\fR[\fB:\fIport\fR]
+Selects an alternate server.
+.TP 5
+.B \-l
Shows a "long" listing of devices or drivers.
.TP 5
-\-m
-.br
-Shows the available printer drivers on the system.
+\fB\-\-device\-id \fIdevice-id-string\fR
+Specifies the IEEE-1284 device ID to match when listing drivers with the \fI\-m\fR option.
.TP 5
-\-v
-.br
-Shows the available printer devices on the system.
-.SH COMPATIBILITY
-The \fBlpinfo\fR command is unique to CUPS.
+\fB\-\-exclude\-schemes \fIscheme-list\fR
+Specifies a comma-delimited list of device or PPD schemes that should be excluded from the results.
+Static PPD files use the "file" scheme.
+.TP 5
+\fB\-\-include\-schemes \fIscheme-list\fR
+Specifies a comma-delimited list of device or PPD schemes that should be included in the results.
+Static PPD files use the "file" scheme.
+.TP 5
+\fB\-\-language \fIlocale\fR
+Specifies the language to match when listing drivers with the \fI\-m\fR option.
+.TP 5
+\fB\-\-make\-and\-model \fIname\fR
+Specifies the make and model to match when listing drivers with the \fI\-m\fR option.
+.TP 5
+\fB\-\-product \fIname\fR
+Specifies the product to match when listing drivers with the \fI\-m\fR option.
+.TP 5
+\fB\-\-timeout \fIseconds\fR
+Specifies the timeout when listing devices with the \fI\-v\fR option.
+.SH CONFORMING TO
+The \fIlpinfo\fR command is unique to CUPS.
+.SH EXAMPLES
+List all devices:
+.nf
+
+ lpinfo \-v
+
+.fi
+List all drivers:
+.nf
+
+ lpinfo \-m
+
+.fi
+List drivers matching "HP LaserJet":
+.nf
+
+ lpinfo \-\-make\-and\-model "HP LaserJet" \-m
+.fi
.SH SEE ALSO
-lpadmin(8),
-CUPS Software Administrators Manual,
-http://localhost:631/documentation.html
+.BR lpadmin (8),
+CUPS Online Help (http://localhost:631/help)
.SH COPYRIGHT
-Copyright 1993-2005 by Easy Software Products, All Rights Reserved.
-.\"
-.\" End of "$Id: lpinfo.man 4493 2005-02-18 02:09:53Z mike $".
-.\"
+Copyright \[co] 2007-2017 by Apple Inc.