From: Zdenek Dohnal Date: Wed, 14 Jun 2023 08:14:38 +0000 (+0200) Subject: cups/ppd-cache.c: Put cupsSingleFile into generated PPD X-Git-Tag: v2.4.6~3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1504527b2415a4b67b0e3e17593b053f3628746f;p=thirdparty%2Fcups.git cups/ppd-cache.c: Put cupsSingleFile into generated PPD 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 --- diff --git a/CHANGES.md b/CHANGES.md index a7082b5816..1e1b117354 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 ----------------------------------- diff --git a/cups/ppd-cache.c b/cups/ppd-cache.c index 3c59d7496c..40881cd395 100644 --- a/cups/ppd-cache.c +++ b/cups/ppd-cache.c @@ -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... */