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

enable Command

Purpose

Enables printer queue devices.

Syntax

enable PrinterName ...

Description

The enable command brings the printer queue devices specified by the PrinterName parameter on line, or enables the printer queue devices to be used with the system.

  1. You must have root user authority or belong to the printq group to run this command.
  2. If you enter enable -?, the system displays the following error message:
    enq: (FATAL ERROR): 0781-048: Bad queue or device name: -?

Examples

To enable the print queue device lp0:lpd0, enter:

enable lp0:lpd0

Files

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

Related Information

The cancel command, disable command, lp command, lpstat command.

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


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