Re: printer timeout using cups

From: Christopher Swingley <cswingle@iarc.uaf.edu>
Date: Tue Dec 07 2004 - 14:20:33 AKST

Mike,

* Barsalou <barjunk@attglobal.net> [2004-Nov-30 08:24 AKST]:
> I am printing to a printer using CUPS, however, there are times when the printer
> gets disconnected for various reasons. Where would I set the timeout for CUPS
> so that it doesn't fail right away or that it times out much sooner. I have
> looked in the man pages for CUPS but don't find anything obvious.
>
> Anyone out there modify timeouts with CUPS?

I have no solution, but have the same problem. Just thought I'd add a
me to. . .

What I've been contemplating is a daemon that runs 'lpstat -t' every so
often and looks for jobs that have timed out the printer. If it found
that, it'd cancel the top job and then re-enable the queue. This is
what I wind up doing on a regular basis.

In my case, the jobs tend to be monstrously large, usually produced by
PowerPoint or Word, and submitted from non-Unix computers. Occasionally
they're PDF files with bad images that kill the
non-Adobe-licensed-PostScript interpreter on my HP LaserJets, always
submitted from Acrobat on OS X.

Chris

-- 
Christopher S. Swingley          email: cswingle@iarc.uaf.edu (work)
Intl. Arctic Research Center            cswingle@gmail.com (personal)
University of Alaska Fairbanks   www.frontier.iarc.uaf.edu/~cswingle/
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Tue Dec 7 14:20:22 2004

This archive was generated by hypermail 2.1.8 : Tue Dec 07 2004 - 14:20:22 AKST