#Linux Kill printer jobs.

oneshot(55)
Published in
#linux
Words
55
Reading
1 min
Listen
Play
5y
  • 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

#Linux Kill printer jobs. | Ecency