Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Possible bug in fax2ps? Re: tiff height/width swap? | problem with tiff images




Like I suggested in my previous posting, I cooked up a small one-line awk
program to fix the problem. It basically swaps the co"ordinates of the first
boundingbox found. I'm using dimension equivalent to an ISO A4 page.

fax2ps -S -W 8.26 -H 11.69 /var/spool/fax/recvq/fax00002.tif |awk '{if \
($1=="%%BoundingBox:" && x==0) {print $1,$2,$3,$5,$4
x=1}  else print $0}' > ~/fax.ps


Good luck!

Jan

PS: be careful of those newlines in awk



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services