- Find jobs and the targeted device:
lpstat -o
- Kill all jobs:
cancel -a {printer}
- Kill 1 job:
cancel {printerjobid}
[ALTERNATIVE]
First obtain the pending job number with the lpq -a
command:
Rank | Owner | Job | File(s) |
---|---|---|---|
active | user | 137 | Untitled1 |
Now you are ready to kill the process by simply giving the $ lprm 137
command.
please feel free to write comments suggestions and alternatives
![untitled.gif](https://images.hive.blog/0x0/https://media.tenor.com/images/51356c29049d292651cb558c6f176430/tenor.gif)