1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3 <!-- SECTION: Man Pages -->
5 <link rel=
"stylesheet" type=
"text/css" href=
"../cups-printable.css">
6 <title>lpoptions(
1)
</title>
9 <h1 class=
"title">lpoptions(
1)
</h1>
10 <h2 class=
"title"><a name=
"NAME">Name
</a></h2>
11 lpoptions - display or set printer options and defaults
12 <h2 class=
"title"><a name=
"SYNOPSIS">Synopsis
</a></h2>
19 <i>destination[/instance]
32 <i>destination[/instance]
45 <i>destination[/instance]
55 <i>destination[/instance]
56 </i><h2 class=
"title"><a name=
"DESCRIPTION">Description
</a></h2>
57 <i>lpoptions
</i> displays or sets printer options and defaults.
58 <i>lpoptions
</i> shows the default printer options when run with no
59 arguments. Other options include:
64 <dd>Enables encryption when communicating with the CUPS server.
69 <dd>Uses an alternate username.
71 <dt>-d destination[/instance]
74 <dd>Sets the user default printer to
<i>destination
</i>. If
<i>instance
</i>
75 is supplied then that particular instance is used. This option
76 overrides the system default printer for the current user.
81 <dd>Uses an alternate server.
86 <dd>Lists the printer specific options and their current settings.
91 <dd>Specifies a new option for the named destination.
93 <dt>-p destination[/instance]
96 <dd>Sets the destination and instance, if specified, for any options
97 that follow. If the named instance does not exist then it is
103 <dd>Removes the specified option for the named destination.
105 <dt>-x destination[/instance]
108 <dd>Removes the options for the named destination and instance, if
109 specified. If the named instance does not exist then this does
113 <p>If no options are specified using the
<i>-o
</i> option, then the
114 current options for the named printer are reported on the
116 <p>Options set with the
<i>lpoptions
</i> command are used by the
117 <a href='man-lp.html?TOPIC=Man+Pages'
>lp(
1)
</a> and
<a href='man-lpr.html?TOPIC=Man+Pages'
>lpr(
1)
</a> commands when submitting jobs.
118 <h2 class=
"title"><a name=
"ROOT_ACCOUNT_OPTIONS">Root Account Options
</a></h2>
119 When run by the root user,
<i>lpoptions
</i> gets and sets default
120 options and instances for
<i>all users
</i> in the
121 /etc/cups/lpoptions file.
122 <h2 class=
"title"><a name=
"COMPATIBILITY">Compatibility
</a></h2>
123 The
<i>lpoptions
</i> command is unique to CUPS.
124 <h2 class=
"title"><a name=
"FILES">Files
</a></h2>
125 ~/.cups/lpoptions - user defaults and instances created by non-root
128 /etc/cups/lpoptions - system-wide defaults and instances
129 created by the root user.
130 <h2 class=
"title"><a name=
"SEE_ALSO">See Also
</a></h2>
131 <a href='man-cancel.html?TOPIC=Man+Pages'
>cancel(
1)
</a>,
<a href='man-lp.html?TOPIC=Man+Pages'
>lp(
1)
</a>,
<a href='man-lpadmin.html?TOPIC=Man+Pages'
>lpadmin(
8)
</a>,
<a href='man-lpr.html?TOPIC=Man+Pages'
>lpr(
1)
</a>,
133 <a href='http://localhost:
631/help'
>http://localhost:
631/help
</a>
134 <h2 class=
"title"><a name=
"COPYRIGHT">Copyright
</a></h2>
135 Copyright
2007-
2013 by Apple Inc.