Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Senad Jordanovic on February 20, 2002, 11:12:55 PM

Title: Printing job
Post by: Senad Jordanovic 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
Title: Re: Printing job
Post by: koolmoose 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
Title: Re: Printing job
Post by: koolmoose 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
Title: Re: Printing job
Post by: Senad Jordanovic on February 22, 2002, 12:46:34 PM
Paul .... Thanks...
Title: Re: Printing job
Post by: Steve Pearless 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