Re: [MOD] STR #4181: ipp backend does not set compression for Send-Document operation
Michael Sweet <[email protected]> Sat, 15 Sep 2012 07:11:18 -0700 (PDT)
| Newsgroups | gmane.comp.printing.cups.bugs |
|---|---|
| Message-ID | <[email protected]> |
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Closed w/Resolution] Fixed in Subversion repository. Link: http://www.cups.org/str.php?L4181 Version: 1.5.4 Fix Version: 1.7-current (r10603) _______________________________________________ cups-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/cups-bugs
str4181.patch
(text/plain, 632 B)
Index: backend/ipp.c =================================================================== --- backend/ipp.c (revision 10596) +++ backend/ipp.c (working copy) @@ -1578,6 +1578,10 @@ ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_MIMETYPE, "document-format", NULL, document_format); + if (compression) + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_KEYWORD, + "compression", NULL, compression); + fprintf(stderr, "DEBUG: Sending file %d using chunking...\n", i + 1); http_status = cupsSendRequest(http, request, resource, 0); if (http_status == HTTP_CONTINUE && request->state == IPP_DATA)