System Administration Guide: Solaris Printing

ProcedureHow to Change the Priority of a Print Request

  1. Log in as superuser, lp, or assume an equivalent role 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.


    # 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 5–6.

    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 5–19 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