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

NAME

6       lpoptions - display or set printer options and defaults
7

SYNOPSIS

9       lpoptions [ -E ] [ -h server[:port] ] -d destination[/instance] [ -l ]
10       lpoptions  [ -E ] [ -h server[:port] ] [ -p destination[/instance] ] -o
11       option[=value] ...
12       lpoptions [ -E ] [ -h server[:port] ] [ -p destination[/instance] ]  -r
13       option
14       lpoptions [ -E ] [ -h server[:port] ] -x destination[/instance]
15

DESCRIPTION

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

OPTIONS

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

FILES

65       ~/.cups/lpoptions  -  user  defaults  and instances created by non-root
66       users.
67       /etc/cups/lpoptions - system-wide defaults and instances created by the
68       root user.
69

CONFORMING TO

71       The lpoptions command is unique to CUPS.
72

SEE ALSO

74       cancel(1),   lp(1),  lpadmin(8),  lpr(1),  lprm(1),  CUPS  Online  Help
75       (http://localhost:631/help)
76
78       Copyright © 2007-2018 by Apple Inc.
79
80
81
8210 April 2018                        CUPS                         lpoptions(1)
Impressum