[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 4

qpri Command

Purpose

Prioritizes a job in the print queue.

Syntax

qpri -# JobNumber -a PriorityNumber

Description

The qpri command prioritizes a job in a print queue by specifying the job number and giving it a priority number.

The qpri command works only on local print jobs and the local side of remote queues. Remote print jobs are not supported. Also, you must have root user authority or belong to the printq group to run this command.

You can use the Web-based System Manager Printer Queues application (wsm printers fast path) to run this command. You could also use the System Management Interface Tool (SMIT) smit qpri fast path to run this command.

Flags

-# JobNumber Specifies the job number on which to change priority.
-a PriorityNumber Specifies the new priority number for the print job specified by the JobNumber variable. The range of priority numbers is 1 through 20, except for the root user or a member of the printq group, who can select priority numbers from 1 through 30.

Example

To change job number 123 to priority number 18 , enter:

qpri -# 123 -a 18

Files

/usr/sbin/qdaemon Contains the qdaemon daemon.
/var/spool/lpd/qdir Contains the job description files.
/var/spool/lpd/stat Contains information on the status of the devices.
/var/spool/qdaemon Contains the temporary copies of enqueued files.
/etc/qconfig Contains the configuration file.
/etc/qconfig.bin Contains the digested, binary version of the /etc/qconfig file.

Related Information

The enq command, qadm command, qcan command, qchk command, qprt command.

The /etc/qconfig file.

Prioritizing a Print Job (qpri Command) in AIX Version 4.3 System User's Guide: Operating System and Devices.

Setting up and running Web-based System Management in AIX Version 4.3 System Management Guide: Operating System and Devices.


[ Previous | Next | Contents | Glossary | Home | Search ]