[cups.bugs] [HIGH] STR #3919: imagetoraster filter in Opensuse11.04 does not convert tiff file to cups raster properly. Resulting file has black band and clipped data.

Sanjay Kumar sanjay0210 at gmail.com
Fri Aug 12 06:17:09 PDT 2011


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

[STR New]

When I try to print a tiff file from any hp printer, the print out has a
black band printed and data is also corrupted.

Component Failing:imagetoraster in Opensuse11.04

Reproducible: Always

Steps to Reproduce:
1.Install HPLIP (HP Linux Imaging and printing ) latest version from hp
website i OpenSuse11.4 or any version of Opensuse for that matter.
2.Try to print a tiff file (given in the attachment).
3.See the printed output. 

Actual Results:  
Printed paper will have on black colored band in the middle page and top
half of the data is printed in bottom half of the page and vice versa.

Expected Results:  
Tiff image should get printed properly.i.e imagetoraster filter should do
its job properly.

Additional Comments:
Ubuntu 11.04 does not use this filter anymore for converting tiff file
into cupsraster. instead it uses imagetopdf -> pdftiraster and final
printout seems just fine with that combination.

Adding following lines in /usr/share/cups/mime/moime.types fixes the
issue.
image/tiff          application/vnd.cups-postscript  0      imagetops
application/vnd.cups-postscript application/vnd.cups-raster 0 pstoraster

So looks loke there are two ways of fixing the issue.
1) Fix imagetoraster filter.
2) Change the filter sequence in mime.type to give preference to imagetops
->pstoraster filters.

Please do the needful.

Link: http://www.cups.org/str.php?L3919
Version: 1.4.6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testpage.tiff
Type: application/octet-stream
Size: 76840 bytes
Desc: not available
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20110812/12193d01/attachment.obj>


More information about the cups-devel mailing list