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

qmov Command

Purpose

Moves spooled print jobs to another queue.

Syntax

qmov -mNewQueue-#JobNumber -PQueue ] | -PQueue | -uUser -PQueue ] }

Description

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.

Flags

-#JobNumber Specifies the job number of the print job to be moved.
-mNewQueue Specifies the name of the destination print queue.
-PQueue Specifies the present print queue of the job to be moved.
-uUser Specifies the name of the user whose print jobs are to be moved.

Examples

  1. To move job number 280 to queue lp0 , enter:
    qmov -mlp0 -#280
  2. To move all print jobs on queue lp1 to queue lp0 , enter:
    qmov -mlp0 -Plp1
  3. To move all of Mary's print jobs to queue lp0 , enter:
    qmov -mlp0 -u mary

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, qhld command, qprt command.

Printer Overview for System Management in the AIX Version 4.3 Guide to Printers and Printing.

Spooler Overview for System Management in the AIX Version 4.3 Guide to Printers and Printing.


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