[1167] in Release_7.7_team

home help back first fref pref prev next nref lref last post

Suggest from Michael Jacknis

daemon@ATHENA.MIT.EDU (Naomi B. Schmidt)
Tue Dec 16 09:10:02 1997

To: release-team@MIT.EDU
Date: Tue, 16 Dec 1997 09:09:54 EST
From: "Naomi B. Schmidt" <nschmidt@MIT.EDU>


The following came into software suggestions:

[2044]  daemon@ATHENA.MIT.EDU (Michael L Jacknis) Athena Software Suggestions 12/13/97 16:27 (30 lines)
Subject: print queue alert script
Date: Sat, 13 Dec 1997 16:27:00 -0500
From: Michael L Jacknis <mjacknis@MIT.EDU>
To: suggest@MIT.EDU
Cc: amu@MIT.EDU


When a printer fails, a lot of extraneous jobs
get backed up on the queue.  there are situations
when the failure is recent, where it is unclear as 
to which of those jobs belong to logged-in users.

It would be trivial to write a perl script such as:

zwriteprinterqueue printername


that would do an lpq, extract the usernames
on the list, and attempt to zwrite all of them.

you'd then say something like, 'i am clearing
the printer queue... please resend your print job if you are 
still interested in it'

this would also make administrators feel better
about deciding to clear the queue if it is uncertain
whether or not that is a good idea.

I'd be happy to write this after finals are over...

Mike

--[2044]--

home help back first fref pref prev next nref lref last post