Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
accept(1M)		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 destina-
       tions.

       reject prevents queueing	of print requests for the named	destinations.

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

       accept  and  reject must	be run on the print server; they have no mean-
       ing to a	client system.

OPTIONS
       The following options are supported  for	reject:

       -r reason
	     Assigns a reason for rejection of print  requests	for   destina-
	     tion.  Enclose  reason in quotes if it contains blanks. 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.

OPERANDS
       The following operands are supported.

       destination
	     The name of the destination  accepting  or	 rejecting  print  re-
	     quests.   Destination specifies the name of a printer or class of
	     printers (see  lpadmin(1M)). Specify   destination	 using	atomic
	     name.    See  printers.conf(4) for	information regarding the nam-
	     ing conventions for  atomic names.

EXIT STATUS
       The following exit values are returned:

       0     Successful	completion.

       non-zero
	     An	error occurred.

FILES
       /var/spool/lp/*
	     LP	print queue.

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

       +-----------------------------+-----------------------------+
       |      ATTRIBUTE	TYPE	     |	    ATTRIBUTE VALUE	   |
       +-----------------------------+-----------------------------+
       |Availability		     |SUNWpcu			   |
       +-----------------------------+-----------------------------+
       |CSI			     |Enabled (see NOTES)	   |
       +-----------------------------+-----------------------------+

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 system.

       accept is CSI-enabled except for	the destination	name.

SunOS 5.9			  8 Feb	1999			    accept(1M)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | EXIT STATUS | FILES | ATTRIBUTES | SEE ALSO | NOTES

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=accept&sektion=1m&manpath=SunOS+5.9>

home | help