System Administration Guide: Printing

ProcedureHow to Change the Priority of a Print Request

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Determine the request IDs of the print requests whose priority you want to change.


    # lpstat
    

    For more information, see How to Check the Status of Print Requests.

  3. Change the priority of a print request.


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

    Specifies the 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 quotation marks.

    -H change-priority

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

    For detailed information about valid values for change-priority, see Table 8–1.

    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 8–10 Changing the Priority of a Print Request

The following example shows how to change a print request with the request ID asteroid-79, to priority level 1.


# lp -i asteroid-79 -q 1