Index: CHANGES-1.4.txt =================================================================== --- CHANGES-1.4.txt (revision 9428) +++ CHANGES-1.4.txt (working copy) @@ -4,6 +4,8 @@ CHANGES IN CUPS V1.4.7 - Documentation changes (STR #3720) + - The scheduler now only looks up interface hostnames if HostNameLookups + are enabled (STR #3737) - Fixed a compilation problem on DragonFly BSD (STR #3738) - The default PageLogFormat value had the username and job ID swapped from CUPS 1.3.x (STR #3727) Index: backend/dnssd.c =================================================================== --- backend/dnssd.c (revision 9428) +++ backend/dnssd.c (working copy) @@ -1,9 +1,9 @@ /* * "$Id$" * - * DNS-SD discovery backend for the Common UNIX Printing System (CUPS). + * DNS-SD discovery backend for CUPS. * - * Copyright 2008-2009 by Apple Inc. + * Copyright 2008-2011 by Apple Inc. * * These coded instructions, statements, and computer programs are the * property of Apple Inc. and are protected by Federal copyright @@ -492,9 +492,15 @@ job_canceled = -1; - if ((resolved_uri = cupsBackendDeviceURI(argv)) == NULL) - exit(CUPS_BACKEND_FAILED); + while ((resolved_uri = cupsBackendDeviceURI(argv)) == NULL) + { + _cupsLangPrintFilter(stderr, "INFO", _("Unable to locate printer.")); + sleep(10); + if (getenv("CLASS") != NULL) + return (CUPS_BACKEND_FAILED); + } + /* * Extract the scheme from the URI... */