Koozali.org: home of the SME Server

Printing job

Senad Jordanovic

Printing job
« on: February 20, 2002, 11:12:55 PM »
Hi,

Anyone know how to cancell printing job which started by users mistake..
I thought about killing lpd deamon, but I am sure there is a better way..

thanks

koolmoose

Re: Printing job
« Reply #1 on: February 21, 2002, 12:28:10 AM »
Senad Jordanovic wrote:
>
> Hi,
>
> Anyone know how to cancell printing job which started by
> users mistake..
> I thought about killing lpd deamon, but I am sure there is a
> better way..
A Google search revealed the following that may apply.

http://www.astart.com/lprng/lpcreread.htm

Hope this helps.
Paul Miller

koolmoose

Re: Printing job
« Reply #2 on: February 21, 2002, 12:34:25 AM »
Senad Jordanovic wrote:
>
> Hi,
>
> Anyone know how to cancell printing job which started by
> users mistake..
> I thought about killing lpd deamon, but I am sure there is a
> better way..
A Google search revealed the following that may apply.

http://www.astart.com/lprng/lpcreread.htm

Hope this helps.
Paul Miller

Senad Jordanovic

Re: Printing job
« Reply #3 on: February 22, 2002, 12:46:34 PM »
Paul .... Thanks...

Steve Pearless

Re: Printing job
« Reply #4 on: March 21, 2002, 03:27:21 PM »
Try this...

lprm -P "printer name" all

this will blitz everything in the que "printer name"

you could throw a script together which clear all ques at once if the ques arnt to busy...

I have a script called zap which clears all my ques , so when my 8 year old accidently prints that 700 page doc by mistake (and he has done this!) a quick

./zap

and all is well.

You can clear individual jobs, but this starts getting complex, identifiying the job in question. That what all thas MS bloat does!

Steve