From: msweet Date: Wed, 19 Nov 2014 16:56:57 +0000 (+0000) Subject: Clean up some loose ends. X-Git-Tag: v2.2b1~435 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a27984635cd0c14a1532276909cc541f8ad3c051;p=thirdparty%2Fcups.git Clean up some loose ends. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12267 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/test/ippserver.c b/test/ippserver.c index 05aabe44f4..212758b978 100644 --- a/test/ippserver.c +++ b/test/ippserver.c @@ -1979,6 +1979,7 @@ create_printer(const char *servername, /* I - Server hostname (NULL for default) { static const char * const names[] = { + "job-account-id", "job-accounting-user-id", "job-password" }; @@ -4799,7 +4800,7 @@ process_http(_ipp_client_t *client) /* I - Client connection */ if (client->printer->state_reasons & reason) html_printf(client, "\n
    %s", reasons[i]); html_printf(client, "

\n"); - + if (cupsArrayCount(client->printer->jobs) > 0) { _cupsRWLockRead(&(client->printer->rwlock)); @@ -5582,6 +5583,11 @@ register_printer( # ifdef HAVE_SSL TXTRecordSetValue(&ipp_txt, "TLS", 3, "1.2"); # endif /* HAVE_SSL */ + if (strstr(formats, "image/urf")) + TXTRecordSetValue(&ipp_txt, "URF", 66, "CP1,IS1-5-7,MT1-2-3-4-5-6-8-9-10-11-12-13,RS600,SRGB24,V1.4,W8,DM1"); + + TXTRecordSetValue(&ipp_txt, "txtvers", 1, "1"); + TXTRecordSetValue(&ipp_txt, "qtotal", 1, "1"); /* * Register the _printer._tcp (LPD) service type with a port number of 0 to