2 .\" lpoptions man page for CUPS.
4 .\" Copyright 2007-2014 by Apple Inc.
5 .\" Copyright 1997-2006 by Easy Software Products.
7 .\" Licensed under Apache License v2.0. See the file "LICENSE" for more information.
9 .TH lpoptions 1 "CUPS" "12 June 2014" "Apple Inc."
11 lpoptions \- display or set printer options and defaults
20 \fB\-h \fIserver\fR[\fB:\fIport\fR]
22 \fB\-d \fIdestination\fR[\fB/\fIinstance\fR]
34 \fB\-h \fIserver\fR[\fB:\fIport\fR]
36 \fB\-p \fIdestination\fR[\fB/\fIinstance\fR]
38 \fB\-o \fIoption\fR[\fB=\fIvalue\fR] ...
47 \fB\-h \fIserver\fR[\fB:\fIport\fR]
49 \fB\-p \fIdestination\fR[\fB/\fIinstance\fR]
61 \fB\-h \fIserver\fR[\fB:\fIport\fR]
63 \fB\-x \fIdestination\fR[\fB/\fIinstance\fR]
65 \fBlpoptions\fR displays or sets printer options and defaults.
66 If no printer is specified using the \fI\-p\fR option, the default printer is used as described in
69 If no \fI\-l\fR, \fI\-o\fR, or \fI\-r\fR options are specified, the current options are reported on the standard output.
71 Options set with the \fBlpoptions\fR command are used by the
75 commands when submitting jobs.
77 When run by the root user, \fBlpoptions\fR gets and sets default options and instances for all users in the \fI/etc/cups/lpoptions\fR file.
78 Otherwise, the per-user defaults are managed in the \fI~/.cups/lpoptions\fR file.
80 \fBlpoptions\fR supports the following options:
83 Enables encryption when communicating with the CUPS server.
86 Uses an alternate username.
88 \fB\-d \fIdestination\fR[\fB/\fIinstance\fR]
89 Sets the user default printer to \fIdestination\fR.
90 If \fIinstance\fR is supplied then that particular instance is used.
91 This option overrides the system default printer for the current user.
93 \fB\-h \fIserver\fR[\fB:\fIport\fR]
94 Uses an alternate server.
97 Lists the printer specific options and their current settings.
99 \fB\-o \fIoption\fR[\fB=\fIvalue\fR]
100 Specifies a new option for the named destination.
102 \fB\-p \fIdestination\fR[\fB/\fIinstance\fR]
103 Sets the destination and instance, if specified, for any options that follow.
104 If the named instance does not exist then it is created.
105 Destinations can only be created using the
110 Removes the specified option from the named destination.
112 \fB\-x \fIdestination\fR[\fB/\fIinstance\fR]
113 Removes the options for the named destination and instance, if specified.
114 If the named instance does not exist then this does nothing.
115 Destinations can only be removed using the
119 \fI~/.cups/lpoptions\fR - user defaults and instances created by non-root users.
121 \fI/etc/cups/lpoptions\fR - system-wide defaults and instances created by the root user.
123 The \fBlpoptions\fR command is unique to CUPS.
130 CUPS Online Help (http://localhost:631/help)
132 Copyright \[co] 2007-2018 by Apple Inc.