]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Clean up some loose ends.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Wed, 19 Nov 2014 16:56:57 +0000 (16:56 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Wed, 19 Nov 2014 16:56:57 +0000 (16:56 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12267 a1ca3aef-8c08-0410-bb20-df032aa958be

test/ippserver.c

index 05aabe44f4e3f48c8115a50292d7c878d7916ad4..212758b9781744d932451e90bf6779be440b8db1 100644 (file)
@@ -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<br>&nbsp;&nbsp;&nbsp;&nbsp;%s", reasons[i]);
          html_printf(client, "</p>\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