]> git.ipfire.org Git - thirdparty/cups.git/blame - man/lpoptions.man
Load cups into easysw/current.
[thirdparty/cups.git] / man / lpoptions.man
CommitLineData
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
26lpoptions \- 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
66arguments. Other options include:
67.TP 5
68\-E
69.br
70Enables encryption when communicating with the CUPS server.
71.TP 5
72\-d \fIdest[/instance]\fR
73.br
74Sets the default printer to \fIdest\fR. If \fIinstance\fR is supplied then
75that particular instance is used. This option overrides the system default
76printer for the current user.
77.TP 5
78\-h \fIserver\fR
79.br
80Specifies the CUPS server to communicate with.
81.TP 5
82\-l
83.br
84Lists the printer specific options and their current settings.
85.TP 5
86\-o \fIoption=value\fR
87.br
88Specifies a new option for the named destination.
89.TP 5
90\-p \fIdest[/instance]\fR
91.br
92Sets the destination and instance, if specified, for any options that follow.
93If the named instance does not exist then it is created.
94.TP 5
95\-r \fIoption\fR
96.br
97Removes the specified option for the named destination.
98.TP 5
99\-x \fIdest[/instance]\fR
100.br
101Removes the options for the named destination and instance, if specified.
102If the named instance does not exist then this does nothing.
103.LP
104If no options are specified using the \fI-o\fR option then the current
105options for the named printer are reported on the standard output.
106.LP
107Options set with the \fBlpoptions\fR command are used by the \fBlp(1)\fR
108and \fBlpr(1)\fR commands when submitting jobs.
109.SH ROOT ACCOUNT OPTIONS
110When run by the root user, \fBlpoptions\fR gets and sets default
111options and instances for \fIall users\fR in the
112/etc/cups/lpoptions file.
113.SH COMPATIBILITY
114The \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
119user.
120.SH SEE ALSO
121cancel(1), lp(1),
122CUPS Software Users Manual,
123http://localhost:631/documentation.html
124.SH COPYRIGHT
125Copyright 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.\"