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]
</i>
32 <i>destination[/instance]
</i>
45 <i>destination[/instance]
</i>
55 <i>destination[/instance]
</i>
56 <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:
60 <p style=
"margin-left: 5.0em; text-indent: -5.0em">-E
63 Enables encryption when communicating with the CUPS server.
64 <p style=
"margin-left: 5.0em; text-indent: -5.0em">-U username
67 Uses an alternate username.
68 <p style=
"margin-left: 5.0em; text-indent: -5.0em">-d destination[/instance]
71 Sets the user default printer to
<i>destination
</i>. If
<i>instance
</i>
72 is supplied then that particular instance is used. This option
73 overrides the system default printer for the current user.
74 <p style=
"margin-left: 5.0em; text-indent: -5.0em">-h server[:port]
77 Uses an alternate server.
78 <p style=
"margin-left: 5.0em; text-indent: -5.0em">-l
81 Lists the printer specific options and their current settings.
82 <p style=
"margin-left: 5.0em; text-indent: -5.0em">-o option[=value]
85 Specifies a new option for the named destination.
86 <p style=
"margin-left: 5.0em; text-indent: -5.0em">-p destination[/instance]
89 Sets the destination and instance, if specified, for any options
90 that follow. If the named instance does not exist then it is
92 <p style=
"margin-left: 5.0em; text-indent: -5.0em">-r option
95 Removes the specified option for the named destination.
96 <p style=
"margin-left: 5.0em; text-indent: -5.0em">-x destination[/instance]
99 Removes the options for the named destination and instance, if
100 specified. If the named instance does not exist then this does
102 <p>If no options are specified using the
<i>-o
</i> option, then the
103 current options for the named printer are reported on the
105 <p>Options set with the
<i>lpoptions
</i> command are used by the
106 <i>lp(
1)
</i> and
<i>lpr(
1)
</i> commands when submitting jobs.
107 <h2 class=
"title"><a name=
"ROOT_ACCOUNT_OPTIONS">Root Account Options
</a></h2>
108 When run by the root user,
<i>lpoptions
</i> gets and sets default
109 options and instances for
<i>all users
</i> in the
110 /etc/cups/lpoptions file.
111 <h2 class=
"title"><a name=
"COMPATIBILITY">Compatibility
</a></h2>
112 The
<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
117 /etc/cups/lpoptions - system-wide defaults and instances
118 created by the root user.
119 <h2 class=
"title"><a name=
"SEE_ALSO">See Also
</a></h2>
120 <i>cancel(
1)
</i>,
<i>lp(
1)
</i>,
<i>lpadmin(
8)
</i>,
<i>lpr(
1)
</i>,
122 <a href=
"http://localhost:631/help">http://localhost:
631/help
</a>
123 <h2 class=
"title"><a name=
"COPYRIGHT">Copyright
</a></h2>
124 Copyright
2007-
2013 by Apple Inc.