Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

cupsaccept (8)

Name

cupsaccept - accept/reject jobs sent to a destination

Synopsis

cupsaccept [ -E ] [ -U username ] [ -h hostname[:port] ] destination(s)
cupsreject  [ -E ] [ -U username ] [ -h hostname[:port] ] [ -r reason ]
destination(s)

Description

cupsaccept(8)                     Apple Inc.                     cupsaccept(8)



NAME
       cupsaccept/cupsreject - accept/reject jobs sent to a destination

SYNOPSIS
       cupsaccept [ -E ] [ -U username ] [ -h hostname[:port] ] destination(s)
       cupsreject  [ -E ] [ -U username ] [ -h hostname[:port] ] [ -r reason ]
       destination(s)

DESCRIPTION
       The cupsaccept command instructs the printing system  to  accept  print
       jobs to the specified destinations.

       The  cupsreject  command  instructs the printing system to reject print
       jobs to the specified destinations.  The -r option sets the reason  for
       rejecting  print jobs. If not specified, the reason defaults to "Reason
       Unknown".

OPTIONS
       The following options are supported by both cupsaccept and cupsreject:

       -E   Forces encryption when connecting to the server.

       -U username
            Sets the username that is sent when connecting to the server.

       -h hostname[:port]
            Chooses an alternate server.

       -r "reason"
            Sets the reason string that is shown for a printer that is reject-
            ing jobs.

CONFORMING TO
       The  cupsaccept  and  cupsreject  commands  correspond  to the System V
       printing system commands "accept" and "reject",  respectively.   Unlike
       the  System V printing system, CUPS allows printer names to contain any
       printable character except SPACE, TAB, "/", or "#".  Also, printer  and
       class names are not case-sensitive.

       Finally,  the  CUPS  versions  may  ask the user for an access password
       depending on the printing system configuration.


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


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | print/cups       |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+

SEE ALSO
       cancel(1), cupsenable(8), lp(1), lpadmin(8), lpstat(1),
       CUPS Online Help (http://localhost:631/help)

COPYRIGHT
       Copyright (C) 2007-2019 by Apple Inc.



NOTES
       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source   was   downloaded    from     https://github.com/apple/cups/ar-
       chive/v2.3.3.zip.

       Further information about this software can be found on the open source
       community website at http://www.cups.org/.



26 April 2019                        CUPS                        cupsaccept(8)