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