]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
cups/ppd-cache.c: Put cupsSingleFile into generated PPD 730/head
authorZdenek Dohnal <zdohnal@redhat.com>
Wed, 14 Jun 2023 08:14:38 +0000 (10:14 +0200)
committerZdenek Dohnal <zdohnal@redhat.com>
Wed, 14 Jun 2023 08:14:38 +0000 (10:14 +0200)
Some printers are not able to print multiple files in one job via IPP
Everywhere. Adding the PPD keyword enables the feature on all printers
in exchange for performance degradation (there is a 1-2s pause between
printed files).

Fixes #643

CHANGES.md
cups/ppd-cache.c

index a7082b58168f993357037dc0ebb2528b97abcda4..1e1b1173540b2613e992bea94f96745ea6622270 100644 (file)
@@ -4,6 +4,8 @@ CHANGES - OpenPrinting CUPS 2.4.6 - TBA
 Changes in CUPS v2.4.6 - TBA
 ----------------------------
 
+- Fix printing multiple files on specific printers (Issue #643)
+
 
 Changes in CUPS v2.4.5 - 2023-06-13
 -----------------------------------
index 3c59d7496c35d6cf7da63a32b3561fbcd9a2dee8..40881cd39513d8585d4ab93e950adfe20f4e3c95 100644 (file)
@@ -5055,6 +5055,16 @@ _ppdCreateFromIPP2(
     }
   }
 
+ /*
+  * Add cupsSingleFile to support multiple files printing on printers
+  * which don't support multiple files in its firmware...
+  *
+  * Adding the keyword degrades printing performance (there is 1-2 seconds
+  * pause between files).
+  */
+
+  cupsFilePuts(fp, "*cupsSingleFile: true\n");
+
  /*
   * Close up and return...
   */