Linux Commands Examples

A great documentation place for Linux commands

cupsreject

accept/reject jobs sent to a destination


see also : cancel - cupsenable - lp - lpadmin - lpstat

Synopsis

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


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !

description

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

cupsreject 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 rejecting jobs.

compatibility

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.

The CUPS versions of accept and reject may ask the user for an access password depending on the printing system configuration. This differs from the System V versions which require the root user to execute these commands.

copyright

Copyright 2007-2013 by Apple Inc.


see also

cancel , cupsenable , lp , lpadmin , lpstat ,
http://localhost:631/help

How can this site be more helpful to YOU ?


give  feedback