man pages section 1M: System Administration Commands
この本のみを検索
この本を見る:
PDF 文書ファイルをダウンロードする (8966 KB)

accept(1M)

Name | Synopsis | Description | Options | Operands | Exit Status | Files | Attributes | See Also | Notes

Name

    accept, reject– accept or reject print requests

Synopsis

    accept destination...
    reject [-r reason] destination...

Description

    accept allows the queueing of print requests for the named destinations.

    reject prevents queueing of print requests for the named destinations.

    Use lpstat -a to check if destinations are accepting or rejecting print requests.

    Generally, accept and reject are run on the print server to control local print queues. Under some configurations, accept and reject are run on client systems when IPP is being used to communicate between client and server.

Options

    The following options are supported for reject:

    -r reason

    Assigns a reason for rejection of print requests for destination.

    reason is reported by lpstat -a. By default, reason is unknown reason for existing destinations, and new printer for destinations added to the system but not yet accepting requests. Enclose reason in quotes if it contains blanks.

Operands

    The following operands are supported:

    destination

    The name of the destination accepting or rejecting print requests. Destination specifies the name of a printer or class of printers (see lpadmin(1M)). Specify destination using atomic name or URI-style (scheme://endpoint) names. See printers.conf(4) for information regarding the naming conventions for destinations.

Exit Status

    The following exit values are returned:

    0

    Successful completion.

    non-zero

    An error occurred.

Files

    /etc/printers.conf

    System printer configuration database

    $HOME/.printers

    User-configurable printer database

    ou=printers

    LDAP version of /etc/printers.conf

    printers.conf.byname

    NIS version of /etc/printers.conf

    printers.org_dir

    NIS+ version of /etc/printers.conf

Attributes

    See attributes(5) for descriptions of the following attributes:

    ATTRIBUTE TYPE

    ATTRIBUTE VALUE

    Availability

    SUNWlp-cmds

    CSI

    Enabled. See NOTES.

    Interface Stability

    Obsolete

See Also

Notes

    accept and reject affect only queueing on the print server's spooling system. Requests made from a client system remain queued in the client system's queueing mechanism until they are cancelled or accepted by the print server's spooling system.

    accept is CSI-enabled except for the destination name.

    When IPP is in use, the user is prompted for a passphrase if the remote print service is configured to require authentication.

SunOS 5.10 Last Revised 5 Jun 2006

Name | Synopsis | Description | Options | Operands | Exit Status | Files | Attributes | See Also | Notes