Which command to pause the CUPS printer HPLaserjet4, and you want to cancel all print jobs with a message, “hello”.

You need to pause the CUPS printer HPLaserjet4, and you want to cancel all print jobs with a message, "hello".

Which command will do this?

You need to pause the CUPS printer HPLaserjet4, and you want to cancel all print jobs with a message, "hello".

Which command will do this?

A.
cupsreject -c -r hello HPLaserjet4

B.
cupsreject -p -m hello HPLaserjet4

C.
cupsdisable -c -r hello HPLaserjet4

D.
cupsdisable -p -m hello HPLaserjet4

Explanation/Reference:
From the man pages:
       cupsdisable, cupsenable – stop/start printers and classes

cupsdisable [ -E ] [-U username ] [ -c ] [ -h server[:port] ] [ -r reason ] [ –hold ] destination(s)

The following options may be used:
       -c               Cancels all jobs on the named destination.
       -r "reason"  Sets the message associated with the stopped state. If no reason is specified then the message is set to "Reason Unknown".



Leave a Reply 0

Your email address will not be published. Required fields are marked *