Prioritizing a print job (qpri command)

You can assign job priority only on local queues using the qpri command.

The printer must be physically attached to your system.

Higher values indicate a higher priority for the print job. The default priority is 15. The maximum priority is 20 for most users, and 30 for users with root user privilege and members of the printq group (group 9).

Note: You cannot assign a priority to a remote print job.

Use the qpri command to reassign the priority of a print job that you submitted. If you have root user authority or belong to the printq group, you can assign priority to any job while it is in the print queue.

The basic format of the qpri command is:
qpri -# JobNumber -a PriorityLevel

For the complete syntax, see the qpri command in Commands Reference, Volume 4.

The following list contains examples of how to use the qpri command:

  • To change job number 123 to priority number 18, type:
    qpri -# 123 -a 18
  • To prioritize a local print job as it is submitted, type:
    qprt -PQueueName -R PriorityLevel FileName