- Find jobs and the targeted device: `lpstat -o` - Kill all jobs: `cancel -a {printer}` - Kill 1 job: `cancel {printerjobid}` <br /><br /> [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. <br /><br /><br /><br /><br /> <center><h5>please feel free to write comments suggestions and alternatives</h5> ![untitled.gif](https://media.tenor.com/images/51356c29049d292651cb558c6f176430/tenor.gif)</center>
author | oneshot |
---|---|
permlink | linux-kill-printer-jobs |
category | linux |
json_metadata | {"app":"peakd/2021.03.8","format":"markdown","tags":["linux","terminal","commandline","cli","hardware"],"users":["oneshot"],"links":["https://steemit.com/linux/@oneshot/delete-a-pending-printing-job-in-linux"],"image":["https://media.tenor.com/images/51356c29049d292651cb558c6f176430/tenor.gif"]} |
created | 2021-03-28 06:56:06 |
last_update | 2021-03-28 09:35:42 |
depth | 0 |
children | 0 |
last_payout | 2021-04-04 06:56:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 631 |
author_reputation | 2,618,161,935,301 |
root_title | "#Linux Kill printer jobs." |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 102,652,524 |
net_rshares | 12,940,762,223 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
pompe72 | 0 | 12,940,762,223 | 100% |