efax and multi-strip TIFF files
From Wikistix
efax is a non-compliant TIFF reader, and cannot parse TIFF files generated with modern ghostscript. However, adding -dMaxStripSize=0 to the ghostscript command line generates a file efax can parse.
ksh$ fax make fubar.ps fubar.ps is postscript... /usr/pkg/bin/efix: Tue Jun 1 20:44:15 2010 Error: can't read multi-strip TIFF files /usr/pkg/bin/efix: 44:15 Error: missing offset to TIFF data
You can modify the fax script shipped with efax to make this permanent:
--- fax.orig 1999-03-24 19:07:28.000000000 +1100
+++ fax 2010-05-05 18:34:11.000000000 +1000
@@ -748,6 +362,7 @@
DIRNAME=`dirname $1` ; BASENAME=`basename $1`
( cd $DIRNAME ; \
$GS -q -sDEVICE=tiffg3 -r$RES -dNOPAUSE -dSAFER \
+ -dMaxStripSize=0 \
-sOutputFile=$BASENAME.%03d \
-sPAPERSIZE=$PAGE \
$BASENAME </dev/null >/dev/null )
See also
- Debian bug 577401.
- Discussion on linuxquestions.org.