MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


System Administration Commands                         accept(1M)



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  IP  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 destina-
                  tions, 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 speci-
                    fies the  name  of  a  printer  or  class  of
                    printers  (see lpadmin(1M)). Specify destina-
                    tion   using   atomic   name   or   URI-style
                    (scheme:/endpoint)         names.        See
                    printers.conf(4)  for  information  regarding
                    the naming conventions for destinations.



SunOS 5.11           Last change: 5 Jun 2006                    1






System Administration Commands                         accept(1M)



EXIT STATUS
     The following exit values are returned:

     0           Successful completion.


     non-zero    An error occurred.


FILES
     /etc/printers.conf      System printer  configuration  data-
                             base


     $HOME/.printers         User-configurable printer database


     ou=printers             LDAP version of /etc/printers.conf


     printers.conf.byname    NIS version of /etc/printers.conf


     printers.orgdir        NIS] version of /etc/printers.conf


ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Availability                 SUNWlp-cmds                 
    
     CSI                          Enabled. See NOTES.         
    
     Interface Stability          Obsolete                    
    


SEE ALSO
     enable(1),  lp(1),  lpstat(1),   lpadmin(1M),   lpsched(1M),
     printers.conf(4), attributes(5)

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



SunOS 5.11           Last change: 5 Jun 2006                    2






System Administration Commands                         accept(1M)



     system.


     accept is CSI-enabled except for the destination name.


     When IP is in use, the user is prompted for a passphrase if
     the  remote print service is configured to require authenti-
     cation.














































SunOS 5.11           Last change: 5 Jun 2006                    3



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™