Linux_FoundationLinux_Foundation
LFCS · Question #299
LFCS Question #299: Real Exam Question with Answer & Explanation
The correct answer is C: cupsdisable -c -r hello Laserjet4. To pause a CUPS printer and cancel all its jobs with a message, the cupsdisable command with the -c and -r options is used.
Submitted by akirajp· Apr 18, 2026Operation of Running Systems
Question
An administrator needs to pause the CUPS printer Laserjet4, and wants to cancel all print jobs with a message, "hello". Which of the following commands will do this?
Options
- Acupsreject -c -r hello Laserjet4
- Bcupsreject -p -m hello Laserjet4
- Ccupsdisable -c -r hello Laserjet4
- Dcupsdisable -p -m hello Laserjet4
Explanation
To pause a CUPS printer and cancel all its jobs with a message, the cupsdisable command with the -c and -r options is used.
Common mistakes.
- A.
cupsrejectonly prevents new jobs from being accepted by a printer; it does not pause the printer or cancel existing jobs, and the-coption is not standard for it. - B.
cupsrejectonly prevents new jobs; it doesn't pause or cancel existing ones, and the options-pand-mare not the correct ones for canceling jobs withcupsreject. - D.
cupsdisablecorrectly pauses the printer, but the options-pand-mare not the standard options for canceling all jobs and providing a reason message;-cand-rare the correct options.
Concept tested. CUPS printer management (pause, cancel jobs)
Reference. https://manpages.ubuntu.com/manpages/jammy/en/man8/cupsdisable.8.html
Topics
#CUPS#Printer management#cupsdisable#Print job control
Community Discussion
No community discussion yet for this question.