]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix printing of multiple files to raw queues (Issue #4782)
authorMichael Sweet <michael.r.sweet@gmail.com>
Wed, 11 May 2016 15:25:37 +0000 (11:25 -0400)
committerMichael Sweet <michael.r.sweet@gmail.com>
Wed, 11 May 2016 15:25:37 +0000 (11:25 -0400)
CHANGES-2.1.txt
scheduler/job.c

index b06b10097230784e454162f8a68df3f821ba40c4..58ef329cab653736062f40ac92534ed5e829949d 100644 (file)
@@ -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)
index 53af0031984a761b8cdfed1996444464aab88b4a..759689dcf0ded1f60cc488b54e6df6c5248e746d 100644 (file)
@@ -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...