cupsaccept(8)

πŸ“¦
version 2.4.19 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– cupsaccept β€” accept or reject jobs like the queen you are πŸ’–

okay bestie, so this is the cupsaccept / cupsreject page from the OpenPrinting girlies, section 8 of the manual (that's the admin-commands section, iykyk). two commands, one page, zero gatekeeping. let's get into it 🫢


✨ NAME ✨

cupsaccept/cupsreject β€” accept/reject jobs sent to a destination

no cap, that's literally the whole vibe: one says yes, one says no.


🌸 SYNOPSIS 🌸

see how they're basically twins except cupsreject gets the extra -r reason glow-up? iconic. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

The cupsaccept command instructs the printing system to accept print jobs to the specified destinations. it's giving "yes babes, send it, i'm ready" ✨

The cupsreject command instructs the printing system to reject print jobs to the specified destinations. it's giving "not today, bestie" πŸ’€

The -r option sets the reason for rejecting print jobs. If not specified, the reason defaults to "Reason Unknown" β€” like okay mysterious, we love a vague queen πŸ™ˆ


πŸŽ€ OPTIONS πŸŽ€

The following options are supported by both cupsaccept and cupsreject (equal opportunity options fr fr):

  • -E β€” Forces encryption when connecting to the server. lock it down, protect the vibes πŸ”’βœ¨
  • -U username β€” Sets the username that is sent when connecting to the server. it's your name tag at the server party 🏷️
  • -h hostname[:port] β€” Chooses an alternate server. when you wanna hang with a different server instead 🌐
  • -r "reason" β€” Sets the reason string that is shown for a printer that is rejecting jobs. give the people a reason, periodt πŸ’…
heads up bestie: -r shows up in the cupsreject synopsis, and if you don't pass it, the reason defaults to "Reason Unknown" β€” noted above, just making sure it lands 🫢

πŸ‘‘ CONFORMING TO πŸ‘‘

The cupsaccept and cupsreject commands correspond to the System V printing system commands "accept" and "reject", respectively. so yeah, they're the glow-up versions of the originals πŸ’–

Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". so like... almost anything goes, but those four are a hard no. 🚫

Also, printer and class names are not case-sensitive. MyPrinter and myprinter are the same girl, don't let anyone tell you otherwise 🌈

Finally, the CUPS versions may ask the user for an access password depending on the printing system configuration. so have that password ready, bestie β€” the server might do a vibe check on you πŸ”


🌟 SEE ALSO 🌟

go read those too, they're all part of the same friend group 🫢


Copyright Β© 2020-2024 by OpenPrinting.


okay so that's the whole page, bestie β€” you ate that πŸ’…βœ¨ this was cupsaccept(8) from CUPS, last touched 2021-02-28, brought to you by the OpenPrinting girlies (Β© 2020-2024). now go forth and accept or reject with main character energy πŸ‘‘πŸ’–

πŸ“¦ where this page comes from