Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

enable(1)

lp(1)

lpadmin(1M)

lpsched(1M)

lpstat(1)

rcancel(1M)

rlp(1M)

rlpdaemon(1M)

rlpstat(1M)

accept(1M)

NAME

accept, reject − allow/prevent LP requests

SYNOPSIS

/usr/lib/accept destinations
/usr/lib/reject [-r [reason]] destinations

DESCRIPTION

accept allows lp to accept requests for the named destinations. A destination can be either a printer or a class of printers.  Use lpstat to find the status of destinations.

reject prevents lp from accepting requests for the named destinations. A destination can be either a printer or a class of printers.  Use lpstat to find the status of destinations.

Options

The following option is useful with reject:

-r[reason] Associates a reason with preventing lp from accepting requests.  This reason applies to all printers mentioned up to the next -r option.  reason is reported by lp when users direct requests to the named destinations and by lpstat.  If the -r option is not specified or is specified without a reason, a default reason is used.  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, accept and reject behave as if all internationalization variables are set to "C".  See environ(5).

International Code Set Support

Single- and multi-byte code sets are supported. 

WARNINGS

accept and reject perform their operation on the local system (or HP cluster) only. 

FILES

/usr/spool/lp/*

SEE ALSO

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

Hewlett-Packard Company  —  HP-UX Release 9.0: August 1992

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