Moves spooled print jobs to another queue.
qmov -mNewQueue { -#JobNumber [ -PQueue ] | -PQueue | -uUser [ -PQueue ] }
The qmov command moves spooled print jobs to another print queue. The print job to be moved is identified by job number, queue, or user name. The format of the command requires the queue where the job is to be moved to as the first argument and the name of the job to move as the second argument.
In AIX 4.3.2 and above, qstatus was enhanced to improve the administration of local queues showing duplicate 3-digit job numbers. You can use the -W flag with the enq, qchk, lpstat, and lpq status commands to display more job number digits.
If your queue display shows duplicate 3-digit job numbers, use qchk -W to list job numbers with greater precision. You can then move a specific job.
For example, qchk might display job number 123 twice while, qchk -W would display job number 1123 and 2123. If you want to move job number 2123, specifying qmov -# 123, causes the qdaemon to move the first matching job number it finds in its internal list, which may be 1123. By having the additional information that the qstatus -W provides, you can move a specific job number.
qmov -mlp0 -#280
qmov -mlp0 -Plp1
qmov -mlp0 -u mary
The enq command, qhld command, qprt command.
Printer Overview for System Management in the AIX 5L Version 5.2 Guide to Printers and Printing.
Spooler Overview for System Management in the AIX 5L Version 5.2 Guide to Printers and Printing.