System Administration Guide
Chapter 4, Managing printers and print jobs

Setting individual and default priority limits

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(C). See ``Setting the priority level for a print job''.

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

/usr/lib/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/lib/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/lib/lpusers -d priority_level

For example, if you set the default priority limit to 30 and then list the priority limit values with /usr/lib/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/lib/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: