Bug 10208 - tiff file printing broken.
Summary: tiff file printing broken.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rhs-printfilters
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Crutcher Dunnavant
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-03-16 16:04 UTC by Harvey Stein
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-08-08 11:25:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Harvey Stein 2000-03-16 16:04:56 UTC
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:

#!/bin/sh
#
# takes tiff from stdin, writes postscript to stdout
#

TMPFILE=`mktemp /tmp/printtmp.XXXXXX` || exit 1
cat > $TMPFILE
tiff2ps -a $TMPFILE
rm -f $TMPFILE

exit 0


This also has the advantage of making the print chain one step shorter.

Comment 1 Crutcher Dunnavant 2000-08-08 19:54:28 UTC
added this filter to the libtiff package.
thanks.


Note You need to log in before you can comment on or make changes to this bug.