1lpusers(1M) System Administration Commands lpusers(1M)
2
3
4
6 lpusers - set printing queue priorities
7
9 lpusers -d priority-level
10
11
12 lpusers -q priority-level -u login-ID-list
13
14
15 lpusers -u login-ID-list
16
17
18 lpusers -q priority-level
19
20
21 lpusers -l
22
23
25 The lpusers command sets limits to the queue priority level that can
26 be assigned to jobs submitted by users of the LP print service.
27
28
29 The first form of the command (with -d) sets the system-wide priority
30 default to priority-level, where priority-level is a value of 0 to 39,
31 with 0 being the highest priority. If a user does not specify a prior‐
32 ity level with a print request (see lp(1)), the default priority level
33 is used. Initially, the default priority level is 20.
34
35
36 The second form of the command (with -q and -u) sets the default high‐
37 est priority-level (0-39) that the users in login-ID-list can request
38 when submitting a print request. The login-ID-list argument may include
39 any or all of the following constructs:
40
41 login-ID A user on any system
42
43
44 system_name!login-ID A user on the system system_name
45
46
47 system_name!all All users on system system_name
48
49
50 all!login-ID A user on all systems
51
52
53 all All users on all systems
54
55
56
57 Users that have been given a limit cannot submit a print request with a
58 higher priority level than the one assigned, nor can they change a
59 request that has already been submitted to have a higher priority. Any
60 print requests submitted with priority levels higher than allowed will
61 be given the highest priority allowed.
62
63
64 The third form of the command (with -u) removes any explicit priority
65 level for the specified users.
66
67
68 The fourth form of the command (with -q) sets the default highest pri‐
69 ority level for all users not explicitly covered by the use of the sec‐
70 ond form of this command.
71
72
73 The last form of the command (with -l) lists the default priority
74 level and the priority limits assigned to users.
75
77 The following options are supported:
78
79 -d priority-level
80
81 Set the system-wide priority default to priority-level.
82
83
84 -l
85
86 List the default priority level and the priority limits assigned to
87 users.
88
89
90 -q priority-level
91
92 Set the default highest priority level for all users not explicitly
93 covered.
94
95
96 -q priority-level -u login-ID-list
97
98 Set the default highest priority-level that the users in login-ID-
99 list can request when submitting a print request.
100
101
102 -u login-ID-list
103
104 Remove any explicit priority level for the specified users.
105
106
108 The following exit values are returned:
109
110 0 Successful completion.
111
112
113 non-zero An error occurred.
114
115
117 See attributes(5) for descriptions of the following attributes:
118
119
120
121
122 ┌─────────────────────────────┬─────────────────────────────┐
123 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
124 ├─────────────────────────────┼─────────────────────────────┤
125 │Availability │SUNWpsu │
126 └─────────────────────────────┴─────────────────────────────┘
127
129 lp(1), attributes(5)
130
131
132
133SunOS 5.11 19 Aug 1996 lpusers(1M)