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

disable Command


Disables printer queue devices.


disable-c ] [ -rReason ] PrinterName ...


The disable command disables or brings offline the printer queue devices specified by the PrinterName parameter.

Note: You must have root user authority or belong to the printq group to run this command.


-c Cancels all job requests. Using this flag is the same as entering the enq -K command.
-rReason Specifies the reason for disabling the printer queue device with the Reason variable. This flag is a "no operation" flag, which means that the system ignores this flag.


  1. To bring printer queue lp0 offline without waiting for the current print jobs to finish, enter:
    disable -c lp0
  2. To bring printer queue lp0 offline after all print jobs are finished, enter:
    disable lp0


/usr/sbin/qdaemon Queuing daemon
/etc/qconfig Queue configuration file
/etc/qconfig.bin Digested, binary version of the /etc/qconfig file
/var/spool/lpd/qdir/* Queue requests
/var/spool/lpd/stat/* Information on the status of the devices
/var/spool/qdaemon/* Temporary copies of enqueued files

Related Information

The cancel command, enable command, enq command, lp command, lpstat command.

The qconfig file.

Starting and Stopping a Print Queue in AIX Version 4.3 Guide to Printers and Printing.

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