cupsaccept(8) OpenPrinting cupsaccept(8)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

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

# [DESCRIPTION](#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](#OPTIONS)

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

[**-E**](#E)

Forces encryption when connecting to the server.

[**-U username**](#U)

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

[**-h hostname\[:port\]**](#h)

Chooses an alternate server.

[**-r** "*reason*"](#r)

Sets the reason string that is shown for a printer that is rejecting jobs.

# [CONFORMING TO](#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.

# [SEE ALSO](#SEE_ALSO)

[**cancel**(1)](/man/os/cups/cancel.1), [**cupsenable**(8)](/man/os/cups/cupsenable.8), [**lp**(1)](/man/os/cups/lp.1), [**lpadmin**(8)](/man/os/cups/lpadmin.8), [**lpstat**(1)](/man/os/cups/lpstat.1),  
CUPS Online Help (http://localhost:631/help)

# [COPYRIGHT](#COPYRIGHT)

Copyright © 2020-2024 by OpenPrinting.

CUPS 2021-02-28

---

Document: cupsreject(8) from cups 2.4.19-r6 (Chainguard OS)
Source: https://github.com/OpenPrinting/cups
