1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
.\"
.\" "$Id$"
.\"
.\" lpoptions man page for the Common UNIX Printing System (CUPS).
.\"
.\" Copyright 1997-2006 by Easy Software Products.
.\"
.\" These coded instructions, statements, and computer programs are the
.\" property of Easy Software Products and are protected by Federal
.\" copyright law. Distribution and use rights are outlined in the file
.\" "LICENSE.txt" which should have been included with this file. If this
.\" file is missing or damaged please contact Easy Software Products
.\" at:
.\"
.\" Attn: CUPS Licensing Information
.\" Easy Software Products
.\" 44141 Airport View Drive, Suite 204
.\" Hollywood, Maryland 20636 USA
.\"
.\" Voice: (301) 373-9600
.\" EMail: cups-info@cups.org
.\" WWW: http://www.cups.org
.\"
.TH lpoptions 1 "Common UNIX Printing System" "20 March 2006" "Easy Software Products"
.SH NAME
lpoptions \- display or set printer options and defaults
.SH SYNOPSIS
.B lpoptions
[ -E ] [ -U
.I username
] [ -h
.I server[:port]
] -d
.I destination[/instance]
[ -o
.I option[=value]
] ... [ -o
.I option[=value]
]
.br
.B lpoptions
[ -E ] [ -U
.I username
] [ -h
.I server[:port]
] [ -p
.I destination[/instance]
] -l
.br
.B lpoptions
[ -E ] [ -U
.I username
] [ -h
.I server[:port]
] [ -o
.I option[=value]
] ... [ -o
.I option[=value]
] [ -p
.I destination[/instance]
] -r
.I option
.br
.B lpoptions
[ -E ] [ -U
.I username
] [ -h
.I server[:port]
] -x
.I destination[/instance]
.SH DESCRIPTION
\fIlpoptions\fR displays or sets printer options and defaults.
\fIlpoptions\fR shows the default printer options when run with no
arguments. Other options include:
.TP 5
-E
.br
Enables encryption when communicating with the CUPS server.
.TP 5
-U username
.br
Uses an alternate username.
.TP 5
-d destination[/instance]
.br
Sets the default printer to \fIdestination\fR. If \fIinstance\fR
is supplied then that particular instance is used. This option
overrides the system default printer for the current user.
.TP 5
-h server[:port]
.br
Uses an alternate server.
.TP 5
-l
.br
Lists the printer specific options and their current settings.
.TP 5
-o option[=value]
.br
Specifies a new option for the named destination.
.TP 5
-p destination[/instance]
.br
Sets the destination and instance, if specified, for any options
that follow. If the named instance does not exist then it is
created.
.TP 5
-r option
.br
Removes the specified option for the named destination.
.TP 5
-x destination[/instance]
.br
Removes the options for the named destination and instance, if
specified. If the named instance does not exist then this does
nothing.
.LP
If no options are specified using the \fI-o\fR option, then the
current options for the named printer are reported on the
standard output.
.LP
Options set with the \fIlpoptions\fR command are used by the
\fIlp(1)\fR and \fIlpr(1)\fR commands when submitting jobs.
.SH ROOT ACCOUNT OPTIONS
When run by the root user, \fIlpoptions\fR gets and sets default
options and instances for \fIall users\fR in the
@CUPS_SERVERROOT@/lpoptions file.
.SH COMPATIBILITY
The \fIlpoptions\fR command is unique to CUPS.
.SH FILES
~/.cups/lpoptions - user defaults and instances created by non-root
users.
.br
@CUPS_SERVERROOT@/lpoptions - system-wide defaults and instances
created by the root user.
.SH SEE ALSO
\fIcancel(1)\fR, \fIlp(1)\fR, \fIlpr(1)\fR,
.br
http://localhost:631/help
.SH COPYRIGHT
Copyright 1997-2006 by Easy Software Products, All Rights Reserved.
.\"
.\" End of "$Id$".
.\"
|