]> git.ipfire.org Git - thirdparty/cups.git/blame - man/lpoptions.man.in
Update copyrights in man pages.
[thirdparty/cups.git] / man / lpoptions.man.in
CommitLineData
ef416fc2 1.\"
e4e5666b 2.\" "$Id$"
ef416fc2 3.\"
6e12033b 4.\" lpoptions man page for CUPS.
ef416fc2 5.\"
6e12033b
MS
6.\" Copyright 2007-2014 by Apple Inc.
7.\" Copyright 1997-2006 by Easy Software Products.
ef416fc2 8.\"
6e12033b
MS
9.\" These coded instructions, statements, and computer programs are the
10.\" property of Apple Inc. and are protected by Federal copyright
11.\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
12.\" which should have been included with this file. If this file is
13.\" file is missing or damaged, see the license at "http://www.cups.org/".
ef416fc2 14.\"
6e12033b 15.TH lpoptions 1 "CUPS" "12 June 2014" "Apple Inc."
ef416fc2 16.SH NAME
17lpoptions \- display or set printer options and defaults
18.SH SYNOPSIS
19.B lpoptions
6e12033b
MS
20[
21.B \-E
22] [
23.B \-U
bd7854cb 24.I username
6e12033b
MS
25] [
26\fB\-h \fIserver\fR[\fB:\fIport\fR]
27]
28\fB\-d \fIdestination\fR[\fB/\fIinstance\fR]
29[
30.B \-l
ef416fc2 31]
32.br
33.B lpoptions
6e12033b
MS
34[
35.B \-E
36] [
37.B \-U
bd7854cb 38.I username
6e12033b
MS
39] [
40\fB\-h \fIserver\fR[\fB:\fIport\fR]
41] [
42\fB\-p \fIdestination\fR[\fB/\fIinstance\fR]
43]
44\fB\-o \fIoption\fR[\fB=\fIvalue\fR] ...
ef416fc2 45.br
46.B lpoptions
6e12033b
MS
47[
48.B \-E
49] [
50.B \-U
bd7854cb 51.I username
6e12033b
MS
52] [
53\fB\-h \fIserver\fR[\fB:\fIport\fR]
54] [
55\fB\-p \fIdestination\fR[\fB/\fIinstance\fR]
56]
57.B \-r
ef416fc2 58.I option
59.br
60.B lpoptions
6e12033b
MS
61[
62.B \-E
63] [
64.B \-U
bd7854cb 65.I username
6e12033b
MS
66] [
67\fB\-h \fIserver\fR[\fB:\fIport\fR]
68]
69\fB\-x \fIdestination\fR[\fB/\fIinstance\fR]
ef416fc2 70.SH DESCRIPTION
6e12033b
MS
71\fBlpoptions\fR displays or sets printer options and defaults.
72If no printer is specified using the \fI\-p\fR option, the default printer is used as described in
73.BR lp (1).
74.LP
75If no \fI\-l\fR, \fI\-o\fR, or \fI\-r\fR options are specified, the current options are reported on the standard output.
76.LP
77Options set with the \fBlpoptions\fR command are used by the
78.BR lp (1)
79and
80.BR lpr (1)
81commands when submitting jobs.
82.LP
83When 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.
84Otherwise, the per-user defaults are managed in the \fI~/.cups/lpoptions\fR file.
85.SH OPTIONS
86\fBlpoptions\fR supports the following options:
ef416fc2 87.TP 5
6e12033b 88.B \-E
ef416fc2 89Enables encryption when communicating with the CUPS server.
90.TP 5
6e12033b 91\fB\-U \fIusername\fR
bd7854cb 92Uses an alternate username.
93.TP 5
6e12033b
MS
94\fB\-d \fIdestination\fR[\fB/\fIinstance\fR]
95Sets the user default printer to \fIdestination\fR.
96If \fIinstance\fR is supplied then that particular instance is used.
97This option overrides the system default printer for the current user.
ef416fc2 98.TP 5
6e12033b 99\fB\-h \fIserver\fR[\fB:\fIport\fR]
bd7854cb 100Uses an alternate server.
ef416fc2 101.TP 5
6e12033b 102.B \-l
ef416fc2 103Lists the printer specific options and their current settings.
104.TP 5
6e12033b 105\fB\-o \fIoption\fR[\fB=\fIvalue\fR]
ef416fc2 106Specifies a new option for the named destination.
107.TP 5
6e12033b
MS
108\fB\-p \fIdestination\fR[\fB/\fIinstance\fR]
109Sets the destination and instance, if specified, for any options that follow.
110If the named instance does not exist then it is created.
111Destinations can only be created using the
112.BR lpadmin (8)
113program.
ef416fc2 114.TP 5
6e12033b
MS
115\fB\-r \fIoption\fR
116Removes the specified option from the named destination.
ef416fc2 117.TP 5
6e12033b
MS
118\fB\-x \fIdestination\fR[\fB/\fIinstance\fR]
119Removes the options for the named destination and instance, if specified.
120If the named instance does not exist then this does nothing.
121Destinations can only be removed using the
122.BR lpadmin (8)
123command.
ef416fc2 124.SH FILES
6e12033b 125\fI~/.cups/lpoptions\fR - user defaults and instances created by non-root users.
ef416fc2 126.br
6e12033b
MS
127\fI/etc/cups/lpoptions\fR - system-wide defaults and instances created by the root user.
128.SH CONFORMING TO
129The \fBlpoptions\fR command is unique to CUPS.
ef416fc2 130.SH SEE ALSO
6e12033b
MS
131.BR cancel (1),
132.BR lp (1),
133.BR lpadmin (8),
134.BR lpr (1),
135.BR lprm (1),
136CUPS Online Help (http://localhost:631/help)
ef416fc2 137.SH COPYRIGHT
fbfee7a8 138Copyright \[co] 2007-2015 by Apple Inc.
ef416fc2 139.\"
e4e5666b 140.\" End of "$Id$".
ef416fc2 141.\"