]> git.ipfire.org Git - thirdparty/cups.git/blame - man/lpinfo.man
License change: Apache License, Version 2.0.
[thirdparty/cups.git] / man / lpinfo.man
CommitLineData
ef416fc2 1.\"
6e12033b 2.\" lpinfo man page for CUPS.
ef416fc2 3.\"
6e12033b
MS
4.\" Copyright 2007-2014 by Apple Inc.
5.\" Copyright 1997-2006 by Easy Software Products.
ef416fc2 6.\"
e3101897 7.\" Licensed under Apache License v2.0. See the file "LICENSE" for more information.
ef416fc2 8.\"
6e12033b 9.TH lpinfo 8 "CUPS" "12 June 2014" "Apple Inc."
ef416fc2 10.SH NAME
11lpinfo \- show available devices or drivers
12.SH SYNOPSIS
13.B lpinfo
6e12033b
MS
14[
15.B \-E
16] [
6e12033b
MS
17\fB\-h \fIserver\fR[\fB:\fIport\fR]
18] [
19.B \-l
20] [
21.B \-\-device\-id
58dc1933 22.I device-id-string
6e12033b
MS
23] [
24.B \-\-exclude\-schemes
ed6e7faf 25.I scheme-list
6e12033b
MS
26] [
27.B \-\-include\-schemes
ed6e7faf 28.I scheme-list
6e12033b
MS
29] [
30.B \-\-language
58dc1933 31.I locale
6e12033b
MS
32] [
33.B \-\-make\-and\-model
58dc1933 34.I name
6e12033b
MS
35] [
36.B \-\-product
58dc1933 37.I name
6e12033b
MS
38]
39.B \-m
bd7854cb 40.br
41.B lpinfo
6e12033b
MS
42[
43.B \-E
44] [
6e12033b
MS
45\fB\-h \fIserver\fR[\fB:\fIport\fR]
46] [
47.B \-l
48] [
49.B \-\-exclude\-schemes
ed6e7faf 50.I scheme-list
6e12033b
MS
51] [
52.B \-\-include\-schemes
ed6e7faf 53.I scheme-list
6e12033b
MS
54] [
55.B \-\-timeout
58dc1933 56.I seconds
6e12033b
MS
57]
58.B \-v
ef416fc2 59.SH DESCRIPTION
6e12033b
MS
60\fBlpinfo\fR lists the available devices or drivers known to the CUPS server.
61The first form (\fI-m\fR) lists the available drivers, while the second form (\fI-v\fR) lists the available devices.
bd7854cb 62.SH OPTIONS
6e12033b 63\fBlpinfo\fR accepts the following options:
ef416fc2 64.TP 5
6e12033b 65.B \-E
ef416fc2 66Forces encryption when connecting to the server.
67.TP 5
6e12033b 68\fB\-h \fIserver\fR[\fB:\fIport\fR]
bd7854cb 69Selects an alternate server.
ef416fc2 70.TP 5
6e12033b 71.B \-l
bd7854cb 72Shows a "long" listing of devices or drivers.
58dc1933 73.TP 5
6e12033b
MS
74\fB\-\-device\-id \fIdevice-id-string\fR
75Specifies the IEEE-1284 device ID to match when listing drivers with the \fI\-m\fR option.
58dc1933 76.TP 5
6e12033b
MS
77\fB\-\-exclude\-schemes \fIscheme-list\fR
78Specifies a comma-delimited list of device or PPD schemes that should be excluded from the results.
79Static PPD files use the "file" scheme.
ed6e7faf 80.TP 5
6e12033b
MS
81\fB\-\-include\-schemes \fIscheme-list\fR
82Specifies a comma-delimited list of device or PPD schemes that should be included in the results.
83Static PPD files use the "file" scheme.
ed6e7faf 84.TP 5
6e12033b
MS
85\fB\-\-language \fIlocale\fR
86Specifies the language to match when listing drivers with the \fI\-m\fR option.
58dc1933 87.TP 5
6e12033b
MS
88\fB\-\-make\-and\-model \fIname\fR
89Specifies the make and model to match when listing drivers with the \fI\-m\fR option.
58dc1933 90.TP 5
6e12033b
MS
91\fB\-\-product \fIname\fR
92Specifies the product to match when listing drivers with the \fI\-m\fR option.
58dc1933 93.TP 5
6e12033b
MS
94\fB\-\-timeout \fIseconds\fR
95Specifies the timeout when listing devices with the \fI\-v\fR option.
96.SH CONFORMING TO
bd7854cb 97The \fIlpinfo\fR command is unique to CUPS.
6e12033b
MS
98.SH EXAMPLES
99List all devices:
100.nf
101
102 lpinfo \-v
103
104.fi
105List all drivers:
106.nf
107
108 lpinfo \-m
109
110.fi
111List drivers matching "HP LaserJet":
112.nf
113
114 lpinfo \-\-make\-and\-model "HP LaserJet" \-m
115.fi
ef416fc2 116.SH SEE ALSO
6e12033b
MS
117.BR lpadmin (8),
118CUPS Online Help (http://localhost:631/help)
ef416fc2 119.SH COPYRIGHT
bd5a2f28 120Copyright \[co] 2007-2017 by Apple Inc.