]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | .\" |
2 | .\" "$Id: lpoptions.man 4493 2005-02-18 02:09:53Z mike $" | |
3 | .\" | |
4 | .\" lpoptions man page for the Common UNIX Printing System (CUPS). | |
5 | .\" | |
6 | .\" Copyright 1997-2005 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" "21 October 2002" "Easy Software Products" | |
25 | .SH NAME | |
26 | lpoptions \- display or set printer options and defaults | |
27 | .SH SYNOPSIS | |
28 | .B lpoptions | |
29 | [ -h | |
30 | .I server | |
31 | ] -d | |
32 | .I dest[/instance] | |
33 | [ -o | |
34 | .I option=value | |
35 | ] ... [ -o | |
36 | .I option=value | |
37 | ] | |
38 | .br | |
39 | .B lpoptions | |
40 | [ -h | |
41 | .I server | |
42 | ] [ -E ] [ -p | |
43 | .I dest[/instance] | |
44 | ] -l | |
45 | .br | |
46 | .B lpoptions | |
47 | [ -h | |
48 | .I server | |
49 | ] [ -E ] [ -o | |
50 | .I option=value | |
51 | ] ... [ -o | |
52 | .I option=value | |
53 | ] [ -p | |
54 | .I dest[/instance] | |
55 | ] -r | |
56 | .I option | |
57 | .br | |
58 | .B lpoptions | |
59 | [ -h | |
60 | .I server | |
61 | ] [ -E ] -x | |
62 | .I dest[/instance] | |
63 | .SH DESCRIPTION | |
64 | \fBlpoptions\fR displays or sets printer options and defaults. | |
65 | \fBlpoptions\fR shows the default printer options when run with no | |
66 | arguments. Other options include: | |
67 | .TP 5 | |
68 | \-E | |
69 | .br | |
70 | Enables encryption when communicating with the CUPS server. | |
71 | .TP 5 | |
72 | \-d \fIdest[/instance]\fR | |
73 | .br | |
74 | Sets the default printer to \fIdest\fR. If \fIinstance\fR is supplied then | |
75 | that particular instance is used. This option overrides the system default | |
76 | printer for the current user. | |
77 | .TP 5 | |
78 | \-h \fIserver\fR | |
79 | .br | |
80 | Specifies the CUPS server to communicate with. | |
81 | .TP 5 | |
82 | \-l | |
83 | .br | |
84 | Lists the printer specific options and their current settings. | |
85 | .TP 5 | |
86 | \-o \fIoption=value\fR | |
87 | .br | |
88 | Specifies a new option for the named destination. | |
89 | .TP 5 | |
90 | \-p \fIdest[/instance]\fR | |
91 | .br | |
92 | Sets the destination and instance, if specified, for any options that follow. | |
93 | If the named instance does not exist then it is created. | |
94 | .TP 5 | |
95 | \-r \fIoption\fR | |
96 | .br | |
97 | Removes the specified option for the named destination. | |
98 | .TP 5 | |
99 | \-x \fIdest[/instance]\fR | |
100 | .br | |
101 | Removes the options for the named destination and instance, if specified. | |
102 | If the named instance does not exist then this does nothing. | |
103 | .LP | |
104 | If no options are specified using the \fI-o\fR option then the current | |
105 | options for the named printer are reported on the standard output. | |
106 | .LP | |
107 | Options set with the \fBlpoptions\fR command are used by the \fBlp(1)\fR | |
108 | and \fBlpr(1)\fR commands when submitting jobs. | |
109 | .SH ROOT ACCOUNT OPTIONS | |
110 | When run by the root user, \fBlpoptions\fR gets and sets default | |
111 | options and instances for \fIall users\fR in the | |
112 | /etc/cups/lpoptions file. | |
113 | .SH COMPATIBILITY | |
114 | The \fBlpoptions\fR command is unique to CUPS. | |
115 | .SH FILES | |
116 | ~/.lpoptions - user defaults and instances created by non-root users. | |
117 | .br | |
118 | /etc/cups/lpoptions - system-wide defaults and instances created by the root | |
119 | user. | |
120 | .SH SEE ALSO | |
121 | cancel(1), lp(1), | |
122 | CUPS Software Users Manual, | |
123 | http://localhost:631/documentation.html | |
124 | .SH COPYRIGHT | |
125 | Copyright 1993-2005 by Easy Software Products, All Rights Reserved. | |
126 | .\" | |
127 | .\" End of "$Id: lpoptions.man 4493 2005-02-18 02:09:53Z mike $". | |
128 | .\" |