Saturday, October 11, 2008

Basic Linux Command (Kill a print job)

I had a problem killing my print job seems that it got stock and the message annoys me,there is no icon for the printer and option to kill the job so here is what I did. There are two option:

Option A:

point your browser to http://localhost:631/jobs

Option B: (this is the option I choose)

run lpq -a from a terminal

it will show the jobs that are trying to run



Then

run lprm "jobid"


Since there are allot of jobids i made a simple script:

$for i in '54 56 58 59 60 61'; do lprm $i; done

No comments: