From c6e4e71234191eb88da868470ce0e876f924e7c5 Mon Sep 17 00:00:00 2001 From: Michael Sweet Date: Wed, 11 May 2016 11:25:37 -0400 Subject: [PATCH] Fix printing of multiple files to raw queues (Issue #4782) --- CHANGES-2.1.txt | 1 + scheduler/job.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES-2.1.txt b/CHANGES-2.1.txt index b06b100972..58ef329cab 100644 --- a/CHANGES-2.1.txt +++ b/CHANGES-2.1.txt @@ -3,6 +3,7 @@ CHANGES-2.1.txt CHANGES IN CUPS V2.1.4 + - Fixed printing of multiple files to raw queues (Issue #4782) - The scheduler did not implement the Hold-New-Jobs opertion correctly (Issue #4767) - The ipptool program truncated values at 8k (Issue #4786) diff --git a/scheduler/job.c b/scheduler/job.c index 53af003198..759689dcf0 100644 --- a/scheduler/job.c +++ b/scheduler/job.c @@ -750,8 +750,8 @@ cupsdContinueJob(cupsd_job_t *job) /* I - Job */ * Add decompression/raw filter as needed... */ - if (job->compressions[job->current_file] && - (!job->printer->remote || job->num_files == 1)) + if ((job->compressions[job->current_file] && (!job->printer->remote || job->num_files == 1)) || + (!job->printer->remote && job->printer->raw && job->num_files > 1)) { /* * Add gziptoany filter to the front of the list... -- 2.47.3