Question: How Do I Cancel a Print Job in Linux?
Contents the Linux “Cancel” Command Lets You Stop Print Requests from Printing (Cancel Them). Linux Printing Requests Can Be Canceled by Either (A) Using the...
The Linux “cancel” command lets you stop print requests from printing (cancel them). Linux printing requests can be canceled by either (a) using the printer-id or (b) by specifying the printer name. Here are examples of each approach. This first command cancels the print request identified as “laser-101”.
How do I cancel a print job in UNIX?
If you have sent a job to the printer that you want to cancel, you can remove it from the print queue using either the lprm or cancel commands, depending on whether you have a System Vor BSD-derived version of UNIX.
Must Read
How do I cancel a job in Linux?
Deleting a job
You get the job id when you submit the job. Alternatively, you can cancel a job submitted by srun or in an interactive shell, with salloc, by pressing Ctrl-C .