]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/help/man-lpoptions.html
Initial work on man page modernization (STR #4372)
[thirdparty/cups.git] / doc / help / man-lpoptions.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>lpoptions(1)</title>
7</head>
8<body>
9<h1 class="title">lpoptions(1)</h1>
10<h2 class="title"><a name="NAME">Name</a></h2>
11lpoptions - display or set printer options and defaults
12<h2 class="title"><a name="SYNOPSIS">Synopsis</a></h2>
c277f98c
MS
13<b>lpoptions</b>
14[ -E ] [ -U
15<i>username</i>
16] [ -h
17<i>server[:port]</i>
18] -d
19<i>destination[/instance]</i>
20[ -o
21<i>option[=value]</i>
22] ... [ -o
23<i>option[=value]</i>
24]
25<br>
26<b>lpoptions</b>
27[ -E ] [ -U
28<i>username</i>
29] [ -h
30<i>server[:port]</i>
31] [ -p
32<i>destination[/instance]</i>
33] -l
34<br>
35<b>lpoptions</b>
36[ -E ] [ -U
37<i>username</i>
38] [ -h
39<i>server[:port]</i>
40] [ -o
41<i>option[=value]</i>
42] ... [ -o
43<i>option[=value]</i>
44] [ -p
45<i>destination[/instance]</i>
46] -r
47<i>option</i>
48<br>
49<b>lpoptions</b>
50[ -E ] [ -U
51<i>username</i>
52] [ -h
53<i>server[:port]</i>
54] -x
55<i>destination[/instance]</i>
56<h2 class="title"><a name="DESCRIPTION">Description</a></h2>
94436c5a
MS
57<i>lpoptions</i> displays or sets printer options and defaults.
58<i>lpoptions</i> shows the default printer options when run with no
59arguments. Other options include:
c277f98c
MS
60<p style="margin-left: 5.0em; text-indent: -5.0em">-E
61<br>
62<br>
63Enables encryption when communicating with the CUPS server.
64<p style="margin-left: 5.0em; text-indent: -5.0em">-U username
65<br>
66<br>
67Uses an alternate username.
68<p style="margin-left: 5.0em; text-indent: -5.0em">-d destination[/instance]
69<br>
70<br>
71Sets the user default printer to <i>destination</i>. If <i>instance</i>
94436c5a
MS
72is supplied then that particular instance is used. This option
73overrides the system default printer for the current user.
c277f98c
MS
74<p style="margin-left: 5.0em; text-indent: -5.0em">-h server[:port]
75<br>
76<br>
77Uses an alternate server.
78<p style="margin-left: 5.0em; text-indent: -5.0em">-l
79<br>
80<br>
81Lists the printer specific options and their current settings.
82<p style="margin-left: 5.0em; text-indent: -5.0em">-o option[=value]
83<br>
84<br>
85Specifies a new option for the named destination.
86<p style="margin-left: 5.0em; text-indent: -5.0em">-p destination[/instance]
87<br>
88<br>
89Sets the destination and instance, if specified, for any options
94436c5a
MS
90that follow. If the named instance does not exist then it is
91created.
c277f98c
MS
92<p style="margin-left: 5.0em; text-indent: -5.0em">-r option
93<br>
94<br>
95Removes the specified option for the named destination.
96<p style="margin-left: 5.0em; text-indent: -5.0em">-x destination[/instance]
97<br>
98<br>
99Removes the options for the named destination and instance, if
94436c5a
MS
100specified. If the named instance does not exist then this does
101nothing.
94436c5a
MS
102<p>If no options are specified using the <i>-o</i> option, then the
103current options for the named printer are reported on the
104standard output.
105<p>Options set with the <i>lpoptions</i> command are used by the
c277f98c 106<i>lp(1)</i> and <i>lpr(1)</i> commands when submitting jobs.
94436c5a
MS
107<h2 class="title"><a name="ROOT_ACCOUNT_OPTIONS">Root Account Options</a></h2>
108When run by the root user, <i>lpoptions</i> gets and sets default
109options and instances for <i>all users</i> in the
ffa2ca90 110/etc/cups/lpoptions file.
94436c5a
MS
111<h2 class="title"><a name="COMPATIBILITY">Compatibility</a></h2>
112The <i>lpoptions</i> command is unique to CUPS.
113<h2 class="title"><a name="FILES">Files</a></h2>
114~/.cups/lpoptions - user defaults and instances created by non-root
115users.
116<br>
ffa2ca90 117/etc/cups/lpoptions - system-wide defaults and instances
94436c5a
MS
118created by the root user.
119<h2 class="title"><a name="SEE_ALSO">See Also</a></h2>
c277f98c 120<i>cancel(1)</i>, <i>lp(1)</i>, <i>lpadmin(8)</i>, <i>lpr(1)</i>,
94436c5a 121<br>
c277f98c 122<a href="http://localhost:631/help">http://localhost:631/help</a>
94436c5a
MS
123<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
124Copyright 2007-2013 by Apple Inc.
125
126</body>
127</html>