*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> accept (1m)              
Title
Content
Arch
Section
 

Contents


 accept(1M)                                                       accept(1M)




 NAME    [Toc]    [Back]
      accept, reject - allow/prevent LP destination queuing requests

 SYNOPSIS    [Toc]    [Back]
      /usr/sbin/accept destination ...

      /usr/sbin/reject [-r[reason]] destination ...
           [-r[reason] destination ...] ...

 DESCRIPTION    [Toc]    [Back]
      The accept command permits the lp command (see lp(1)) to accept
      printing requests for each named LP printer or printer class
      destination queue.

      The reject command causes the lp command to reject subsequent printing
      requests for each named destination queue.  Requests already queued
      will continue to be processed for printing by the lpsched scheduler
      (see lpsched(1M)).

      Use the lpstat command (see lpstat(1)) to find the status of
      destination queues.

      For an overview of LP command interactions, see lp(1).

    Options    [Toc]    [Back]
      The reject command can have the following option.

           -r[reason]     Specifies a string that is used to explain why the
                          lp command is not accepting requests for a
                          destination.  reason applies to all queues
                          mentioned up to the next -r option.  If reason or
                          -r[reason] is omitted, the default reason is
                          "reason unknown".  The maximum length of reason is
                          80 bytes.  reason message of length greater than
                          80 bytes is truncated to 80 bytes.

                          reason is reported by the lpstat command and by
                          the lp command when users direct requests to a
                          rejected destination.

 EXTERNAL INFLUENCES    [Toc]    [Back]
    Environment Variables
      The LANG variable determines the language in which messages are
      displayed.  If LANG is not specified or is set to the empty string, it
      defaults to "C" (see lang(5)).

      If any internationalization variable contains an invalid setting, all
      internationalization variables default to "C" (see environ(5)).

    International Code Set Support    [Toc]    [Back]
      Single- and multibyte character code sets are supported.



 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003






 accept(1M)                                                       accept(1M)




 EXAMPLES    [Toc]    [Back]
      These examples assume you have a system with two printers named laser1
      and jet2, and one class named lj that includes both printers.

    Example 1    [Toc]    [Back]
      To allow all destinations to accept print requests:

           accept laser1 jet2 lj

    Example 2    [Toc]    [Back]
      To reject requests to the lj class destination, requiring users to
      choose a printer:

           reject lj

    Example 3    [Toc]    [Back]
      To reject requests to the individual printer destinations, requiring
      all requests to go through the class destination:

           accept lj
           reject -r"use the lj destination" laser1 jet2

 WARNINGS    [Toc]    [Back]
      accept and reject operate on the local system only.

 FILES    [Toc]    [Back]
      /etc/lp                  Directory of spooler configuration data
      /var/adm/lp              Directory of spooler log files
      /var/spool/lp            Directory of LP spooling files and
                               directories

 SEE ALSO    [Toc]    [Back]
      enable(1), lp(1), lpstat(1), lpadmin(1M), lpsched(1M), rcancel(1M),
      rlp(1M), rlpdaemon(1M), rlpstat(1M).


 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
accept IRIX allow or prevent LP requests
rlpdaemon HP-UX daemon for queuing, displaying, removing and altering remote spool requests and writing remote messages
cancel HP-UX print/alter/cancel requests on an LP destination
lpalt HP-UX print/alter/cancel requests on an LP destination
lp HP-UX print/alter/cancel requests on an LP destination
isqueued IRIX returns whether the specified device is enabled for queuing
nologin Linux prevent non-root users from logging into the system
DtTermInitialize HP-UX prevent accelerators from being installed on a DtTerm widget
diskpatch IRIX prevent stiction problems with some disk drives
dlatbs IRIX solve one of the triangular systems A *x = s*b or A'*x = s*b with scaling to prevent overflow, where A is an u
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service