CHANGES IN CUPS V1.1.19
+ - The IPP backend now detects if the destination queue
+ has gone away and reports an error.
- The scheduler now allocates its select() sets to
support larger numbers of clients on systems that
support it.
/*
- * "$Id: ipp.c,v 1.72 2003/01/31 21:22:53 swdev Exp $"
+ * "$Id: ipp.c,v 1.73 2003/02/07 12:03:43 mike Exp $"
*
* IPP backend for the Common UNIX Printing System (CUPS).
*
version = 0;
httpReconnect(http);
}
+ else if (ipp_status == IPP_NOT_FOUND)
+ {
+ fputs("ERROR: Destination printer does not exist!\n", stderr);
+
+ if (supported)
+ ippDelete(supported);
+
+ return (1);
+ }
else
+ {
fprintf(stderr, "ERROR: Unable to get printer status (%s)!\n",
ippErrorString(ipp_status));
+ sleep(10);
+ }
if (supported)
ippDelete(supported);
/*
- * End of "$Id: ipp.c,v 1.72 2003/01/31 21:22:53 swdev Exp $".
+ * End of "$Id: ipp.c,v 1.73 2003/02/07 12:03:43 mike Exp $".
*/