Managing print jobs

Setting individual and default priority limits

The ``priority limit'' is the highest priority level a user can assign to a job submitted to the print service with lp(1). See ``Setting the priority level for a print job''.

To set the priority limit for a particular user, enter:

/usr/sbin/lpusers -q priority_level -u username

The priority_level is a number between 0 (highest) and 39 (lowest).

To set the priority limit for a group of users, list their names after the -u option, separated by commas or spaces (enclose the list in quotes if you use a space).

For example, to set the priority limit for steve and naomi to 10, enter:

/usr/sbin/lpusers -q 10 -u "steve naomi"

The ``default priority limit'' is the limit for all users who have not been assigned a personal limit.

To set the default priority limit, enter:

/usr/sbin/lpusers -d priority_level

For example, if you set the default priority limit to 30 and then list the priority limit values with /usr/sbin/lpusers -l, you see:

   Default priority: 20
   Priority limit for users not listed below: 30
   Priority  Users
      10     steve,naomi
To remove the individual priority limit for a user (and return the priority limit to the default for that user), enter:

/usr/sbin/lpusers -u username

If you do not set a default priority limit, users without personal limits are limited to priorities between 20 and 39.

See also:

Next topic: Setting the default priority level
Previous topic: Setting the priority level for a print job

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004