I'm chasing the exact same issue at the moment! I thought it was because I use printing 'classes' and only have one printer from a complete class attached at any one time - hot swap printers with different IP addresses. I've identified a couple of lines of code in backend/ipp.c I am about to change and see if it helps:
Code:
if (getenv("CLASS") != NULL)
{
/*
* If the CLASS environment variable is set, the job was submitted
* to a class and not to a specific queue. In this case, we want
* to abort immediately so that the job can be requeued on the next
* available printer in the class.
*/
_cupsLangPuts(stderr,
_("INFO: Unable to contact printer, queuing on next "
"printer in class...\n"));
if (tmpfilename[0])
unlink(tmpfilename);
/*
* Sleep 5 seconds to keep the job from requeuing too rapidly...
*/
sleep(5);
return (CUPS_BACKEND_FAILED);
Obviously I'm going to get rid of the sleep 5
Bookmarks