[SGVLUG] LPD Issues
Alex Roston
tungtung at pacbell.net
Tue Aug 22 18:11:46 PDT 2006
I have a mostly unattended system that runs lprng to service a printer.
Unfortunately, the printer the client has provided is very slow and a
little unreliable. Sometimes the printer queue gets full of jobs that
won't print for some reason and the system grinds to a halt.
What I want to do is empty the printer queue once a day, or better yet,
kill only the stuck jobs.
I'm hoping to avoid writing a long script. I can flush the output of
"lpstat" into a variable, grab the job numbers and cancel them if I have
to, but that seems like waaay too much work. Does anyone know a better way?
Thanks,
Alex
More information about the SGVLUG
mailing list