From 1504527b2415a4b67b0e3e17593b053f3628746f Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Wed, 14 Jun 2023 10:14:38 +0200 Subject: [PATCH] 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 --- CHANGES.md | 2 ++ cups/ppd-cache.c | 10 ++++++++++ 2 files changed, 12 insertions(+) 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... */ -- 2.47.2