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 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.

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 .

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest