]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Only list supported PDLs (Issue #4923)
authorMichael Sweet <michael.r.sweet@gmail.com>
Wed, 14 Dec 2016 15:02:17 +0000 (10:02 -0500)
committerMichael Sweet <michael.r.sweet@gmail.com>
Wed, 14 Dec 2016 15:02:17 +0000 (10:02 -0500)
CHANGES.txt
cups/ppd-cache.c

index ba44aaa11622290a836051e76b8d8052ae3cc383..e2975f549a6b57243622ec57de8dc92d4e0d468f 100644 (file)
@@ -5,7 +5,8 @@ CHANGES IN CUPS V2.2.2
 
        - Fixed some issues with the Zebra ZPL printer driver (Issue #4898)
        - Fixed some issues with IPP Everywhere printer support (Issue #4893,
-         Issue #4909, Issue #4916, Issue #4921, Issue #4932, Issue #4933)
+         Issue #4909, Issue #4916, Issue #4921, Issue #4923, Issue #4932,
+         Issue #4933)
        - The cups-lpd program did not catch all legacy usage of ISO-8859-1
           (Issue #4899)
         - Fixed builds on systems without a working poll() implementation
index 582041bcd50797e9f281882af8eef3f447a986cd..003180633575f5195106965ae9da1a61321b90de 100644 (file)
@@ -3103,9 +3103,7 @@ _ppdCreateFromIPP(char   *buffer, /* I - Filename buffer */
                                        /* PDL */
 
      /*
-      * Write cupsFilter2 lines for supported formats, except for PostScript
-      * (which has compatibility problems over IPP with some vendors), text,
-      * TIFF, and vendor MIME media types...
+      * Write cupsFilter2 lines for supported formats...
       */
 
       if (!_cups_strcasecmp(format, "application/pdf"))
@@ -3114,8 +3112,6 @@ _ppdCreateFromIPP(char   *buffer, /* I - Filename buffer */
         cupsFilePrintf(fp, "*cupsFilter2: \"%s %s 0 -\"\n", format, format);
       else if (!_cups_strcasecmp(format, "image/pwg-raster") || !_cups_strcasecmp(format, "image/urf"))
         cupsFilePrintf(fp, "*cupsFilter2: \"%s %s 100 -\"\n", format, format);
-      else if (_cups_strcasecmp(format, "application/octet-stream") && _cups_strcasecmp(format, "application/postscript") && _cups_strncasecmp(format, "application/vnd.", 16) && _cups_strncasecmp(format, "image/vnd.", 10) && _cups_strcasecmp(format, "image/tiff") && _cups_strncasecmp(format, "text/", 5))
-        cupsFilePrintf(fp, "*cupsFilter2: \"%s %s 10 -\"\n", format, format);
     }
   }