Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ enable(1) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

accept(1M)

lp(1)

lpadmin(1M)

lpsched(1M)

lpstat(1)

rcancel(1M)

rlp(1M)

rlpdaemon(1M)

rlpstat(1M)

enable(1)

NAME

enable, disable − enable/disable LP printers

SYNOPSIS

enable printers
disable [-c] [-r [reason]] printers

DESCRIPTION

enable activates the named printers, enabling them to print requests taken by lp.  Use lpstat to find the status of printers (see lp(1) and lpstat(1)).

disable deactivates the named printers, disabling them from printing requests taken by lp.  By default, any requests that are currently printing on the designated printers are reprinted in their entirety either on the same printer or on another member of the same class.  Use lpstat to find the status of printers.  Options useful with disable are:

-c Cancel any requests that are currently printing on any of the designated printers. 

-r[reason] Associates a reason with the deactivation of the printers.  This reason applies to all printers mentioned up to the next -r option.  If the -r option is not present or the -r option is given without a reason, a default reason is used.  reason is reported by lpstat.  The maximum length of the reason message is 80 bytes. 

HP Clustered Environment

In the HP Clustered Environment, all spooling is handled as if the cluster nodes were a single system and all printers attached to either the cluster server or clients can be available.  Remote spooling applies to spooling from or to machines outside of the cluster nodes. 

EXTERNAL INFLUENCES

Environment Variables

LANG determines the language in which messages are displayed. 

If LANG is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of LANG. 

If any internationalization variable contains an invalid setting, enable and disable behave as if all internationalization variables are set to "C".  See environ(5).

International Code Set Support

Single- and multi-byte character code sets are supported. 

EXAMPLES

Enable printer snowwhite to accept requests:

enable snowwhite

Deactivate printer snowwhite and cancel any logged jobs:

disable -c snowwhite

WARNINGS

If the restrict cancel feature (selected by the lpadmin -orc option — see lpadmin(1M)) is enabled, disable ignores the -c option. 

enable and disable perform their operation on the local system (or HP cluster) only. 

FILES

/usr/spool/lp/*

SEE ALSO

accept(1M), lp(1), lpadmin(1M), lpsched(1M), lpstat(1), rcancel(1M), rlp(1M), rlpdaemon(1M), rlpstat(1M). 

Hewlett-Packard Company  —  HP-UX Release 9.10: April 1995

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026