[cups.bugs] [LOW] STR #2997: compression option missencoded by library

Opher Shachar ophers at ladpc.co.il
Wed Nov 12 12:54:11 PST 2008


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

To override the auto-typing of compressed (gzipped) documents one needs to
specify these attributes

   document-format=super/type
   compression=gzip

Unfortunately the cups library missencodes 'compression' with
   group_tag = IPP_TAG_JOB
   value_tag = IPP_TAG_NAME
instead of:
   group_tag = IPP_TAG_OPERATION
   value_tag = IPP_TAG_KEYWORD

This was tested against CUPS 1.2.4 (RedHat 5.2), 1.2.12 and 1.3.9
(Fedora).

A proposed patch (untested) against 1.3-current is attached.

Link: http://www.cups.org/str.php?L2997
Version: 1.3-current
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: compression.patch
URL: <https://lists.cups.org/pipermail/cups/attachments/20081112/368ce31f/attachment.ksh>


More information about the cups mailing list