System Administration Guide, Volume 2

How to Change the Priority of a Print Request

  1. Log in as superuser or lp on the print server that is holding the print request.

  2. Determine the request IDs of the print requests whose priority you want to change by using the lpstat command.

    See "How to Check the Status of Print Requests" for more information.

  3. Change the priority of a print request by using the lp command.


    # lp -i request-id -H change-priority
    

    -i request-id

    Request ID of a print request you want to change.

    You can specify multiple request IDs with this command. Use a space or a comma to separate request IDs. If you use spaces, enclose the list of request IDs in quotes. 

    -H change-priority

    One of the three ways to change the priority of a print request: hold, resume, immediate.

    See Table 5-6 for detailed information about valid values for change-priority.

    You can also use the lp -q command to change the priority level of a specified print request. You can change the priority level from 0, the highest priority, to 39, the lowest priority.

Example--Changing the Priority of a Print Request

In the following example, the command changes a print request with the request ID asteroid-79, to priority level 1.


# lp -i asteroid-79 -q 1