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] [ -l ]
11       lpoptions [ -E ] [ -U username ] [ -h server[:port]  ]  [  -p  destina‐
12       tion[/instance] ] -o option[=value] ...
13       lpoptions  [  -E  ]  [ -U username ] [ -h server[:port] ] [ -p destina‐
14       tion[/instance] ] -r option
15       lpoptions [ -E ] [ -U username ]  [  -h  server[:port]  ]  -x  destina‐
16       tion[/instance]
17

DESCRIPTION

19       lpoptions displays or sets printer options and defaults.  If no printer
20       is specified using the -p  option,  the  default  printer  is  used  as
21       described in lp(1).
22
23       If  no  -l,  -o,  or  -r options are specified, the current options are
24       reported on the standard output.
25
26       Options set with the lpoptions command are used by the lp(1) and lpr(1)
27       commands when submitting jobs.
28
29       When  run by the root user, lpoptions gets and sets default options and
30       instances for all users in the  /etc/cups/lpoptions  file.   Otherwise,
31       the per-user defaults are managed in the ~/.cups/lpoptions file.
32

OPTIONS

34       lpoptions supports the following options:
35
36       -E   Enables encryption when communicating with the CUPS server.
37
38       -U username
39            Uses an alternate username.
40
41       -d destination[/instance]
42            Sets the user default printer to destination.  If instance is sup‐
43            plied then that particular instance is used.   This  option  over‐
44            rides the system default printer for the current user.
45
46       -h server[:port]
47            Uses an alternate server.
48
49       -l   Lists the printer specific options and their current settings.
50
51       -o option[=value]
52            Specifies a new option for the named destination.
53
54       -p destination[/instance]
55            Sets  the  destination and instance, if specified, for any options
56            that follow.  If the named instance does not exist then it is cre‐
57            ated.   Destinations can only be created using the lpadmin(8) pro‐
58            gram.
59
60       -r option
61            Removes the specified option from the named destination.
62
63       -x destination[/instance]
64            Removes the options for the named  destination  and  instance,  if
65            specified.   If  the  named instance does not exist then this does
66            nothing.  Destinations can only be removed  using  the  lpadmin(8)
67            command.
68

FILES

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

CONFORMING TO

76       The lpoptions command is unique to CUPS.
77

SEE ALSO

79       cancel(1),   lp(1),  lpadmin(8),  lpr(1),  lprm(1),  CUPS  Online  Help
80       (http://localhost:631/help)
81
83       Copyright © 2007-2017 by Apple Inc.
84
85
86
8712 June 2014                         CUPS                         lpoptions(1)
Impressum