TanNoisEr-IT avatar

#Linux Kill printer jobs.

oneshot

Published: 28 Mar 2021 › Updated: 28 Mar 2021#Linux Kill printer jobs.

#Linux Kill printer jobs.

  • 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:

RankOwnerJobFile(s)
activeuser137Untitled1

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

Leave #Linux Kill printer jobs. to:

Written by

Tech blog. Mainly focused on Linux and Free Software, featuring geeky articles and personal insights.

Read more #linux posts


Best Posts From TanNoisEr-IT

We have not curated any of oneshot's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From TanNoisEr-IT