KILL UNIX PRINT JOBS

 

If you have a UNIX print job that you need to kill do the following:

 

lprm -P<printer name> <username>

 

For example to kill a print job on math_l2 type

 

lprm -Pmath_l2 <username>

 

lprm is the command to remove (rm) from laser printer (lp). The -P tells

which printer to check, and then the user id says to remove all files in the

queue from that user. If you want to check the queue afterwards, do:

 

lpq -P<printer name>

 

To find out what print job you have on math_l2 type:

 

lpq -Pmath_l2

 

You may have to control-C out of this command, if the printer is busy, but

it's not a problem. I hope this helps.

 

 

Joe