Red Hat Bugzilla – Bug 10208
tiff file printing broken.
Last modified: 2008-05-01 11:37:54 EDT
The filter program processes tif files by:
cat - | tiff-to-pnm.fpi | pnm-to-ps.fpi | ps-to-printer.fpi
But, tiff-to-pnm.fpi only converts the *first* page of a tiff file to a pnm
file, so the above only prints the first page of the fax. The solution is
to use tiff2ps instead of tifftopnm by addding a tiff-to-ps.fpi to
/usr/lib/rhs/rhs-printfilters which looks like:
# takes tiff from stdin, writes postscript to stdout
TMPFILE=`mktemp /tmp/printtmp.XXXXXX` || exit 1
cat > $TMPFILE
tiff2ps -a $TMPFILE
rm -f $TMPFILE
This also has the advantage of making the print chain one step shorter.
added this filter to the libtiff package.