The enable command includes information for AIX® Print Subsystem enable and the System V Print Subsystem enable.
Enables printer queue devices.
enable PrinterName ...
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.
enq: (FATAL ERROR): 0781-048: Bad queue or device name: -?
To enable the print queue device lp0:lpd0, enter:
enable lp0:lpd0
Item | Description |
---|---|
/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. |
Enable LP printers
enable printers
The enable command activates the named printers, enabling them to print requests submitted by the lp command. If the printer is remote, the command will only enable the transfer of requests to the remote system; the enable command must be run again, on the remote system, to activate the printer. (Run lpstat -p to get the status of printers.)
When changes are made to the attributes of a print device, they are recognized by enable. Therefore to change the definition or allocation for a device, you must disable the printer on that device, change the device, and then run enable. The new device attributes will become effective when enable is executed.
Printer names are system-defined words and as such should be restricted to uppercase and lowercase ASCII characters.
If you enter enable -?, the system displays the command usage message and returns 0.