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

qhld Command

Purpose

Holds and releases a spooled print job.

Syntax

qhld-r ] { -#JobNumber -PQueue ] | -PQueue | -uUser-PQueue ] }

Description

The qhld command holds print jobs in a spooled state. The job to be held is designated by job number, queue, or user name. The -r flag releases the hold on the print job.

Flags

-#JobNumber Specifies the print job number to be held.
-PQueue Specifies the print queue to be held.
-r Releases the print job by number, queue, or user name.
-uUser Specifies the name of user whose print jobs are to be held.

Examples

  1. To hold the print job number 300 , enter:
    qhld -#300
  2. To hold all print jobs on queue lp0 , enter:
    qhld -P lp0
  3. To hold all jobs that belong to user fred , enter:
    qhld -u fred
  4. To release job number 300 , enter:
    qhld -#300 -r
  5. To release all the jobs on queue lp0 , enter:
    qhld -Plp0 -r
  6. To release all jobs that belong to user fred , enter:
    qhld -u fred -r

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 qprt command, qmov command, enq 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 ]