1lpoptions(1)                      Apple Inc.                      lpoptions(1)
2
3
4

NAME

6       lpoptions - display or set printer options and defaults
7

SYNOPSIS

9       lpoptions  [  -E  ]  [  -U  username ] [ -h server[:port] ] -d destina‐
10       tion[/instance] [ -o option[=value] ] ... [ -o option[=value] ]
11       lpoptions [ -E ] [ -U username ] [ -h server[:port]  ]  [  -p  destina‐
12       tion[/instance] ] -l
13       lpoptions  [  -E  ]  [  -U  username  ]  [  -h  server[:port]  ]  [  -o
14       option[=value] ] ... [ -o option[=value] ] [ -p  destination[/instance]
15       ] -r option
16       lpoptions  [  -E  ]  [  -U  username ] [ -h server[:port] ] -x destina‐
17       tion[/instance]
18

DESCRIPTION

20       lpoptions displays or sets printer  options  and  defaults.   lpoptions
21       shows  the  default  printer  options when run with no arguments. Other
22       options include:
23
24       -E
25            Enables encryption when communicating with the CUPS server.
26
27       -U username
28            Uses an alternate username.
29
30       -d destination[/instance]
31            Sets the user default printer to destination. If instance is  sup‐
32            plied then that particular instance is used. This option overrides
33            the system default printer for the current user.
34
35       -h server[:port]
36            Uses an alternate server.
37
38       -l
39            Lists the printer specific options and their current settings.
40
41       -o option[=value]
42            Specifies a new option for the named destination.
43
44       -p destination[/instance]
45            Sets the destination and instance, if specified, for  any  options
46            that  follow. If the named instance does not exist then it is cre‐
47            ated.
48
49       -r option
50            Removes the specified option for the named destination.
51
52       -x destination[/instance]
53            Removes the options for the named  destination  and  instance,  if
54            specified.  If  the  named  instance does not exist then this does
55            nothing.
56
57       If no options are specified using  the  -o  option,  then  the  current
58       options for the named printer are reported on the standard output.
59
60       Options set with the lpoptions command are used by the lp(1) and lpr(1)
61       commands when submitting jobs.
62

ROOT ACCOUNT OPTIONS

64       When run by the root user, lpoptions gets and sets default options  and
65       instances for all users in the /etc/cups/lpoptions file.
66

COMPATIBILITY

68       The lpoptions command is unique to CUPS.
69

FILES

71       ~/.cups/lpoptions  -  user  defaults  and instances created by non-root
72       users.
73       /etc/cups/lpoptions - system-wide defaults and instances created by the
74       root user.
75

SEE ALSO

77       cancel(1), lp(1), lpadmin(8), lpr(1),
78       http://localhost:631/help
79
81       Copyright 2007-2013 by Apple Inc.
82
83
84
8529 August 2008                       CUPS                         lpoptions(1)
Impressum