enable

enable

The enable program allows a printer to print requests queued for that printer, or for a class of which the printer is a member. The runstring for the enable program is as follows:

CI> enable printer [printer ...]

Each named printer is enabled. New printers added to the LP spooler are initially disabled.

The enable and disable programs affect only the local spool system. Only the local operation of a remote printer is modified. A disabled remote printer will not transfer requests to the remote host, but the operation of the printer on the remote host is unaffected.

The enable and disable programs are identical executables; one program may be made a copy of or a symbolic link to the other.

Return Status

The enable program returns the following status:

$RETURN1 = the number of errors encountered; zero if none.

Example

CI> enable vice

Activate printer •vice".

Error Messages

enable: printer ”printer” was already enabled

The named printer was already enabled.

LP Spool System 213