![]() |
My problem sending TIFFs and PS-ses (see my posting from march 14th) seems to be a problem of sendfax. I tested this now and created TIFFs with _exactly_ a4 format (210.25x297.25 mm^2, 300dpi) and rounded a4 (210.0x297.0 mm^2, 300dpi) and watched with
set -x exec 1>/var/spool/fax/tmp/mylog 2>&1
in the tiff2ps what happens In each case there appear the lines:
+ test 6 '!=' 0 + shift + pagelength=280 + shift
which means to me, that sendfax gives tiff2fax a wrong pagelength parameter (which results in ps2fax/tiff2fax giving gs a -sPAPERSIZE=letter parameter)
Ich checked my /usr/lib/fax/pagesizes file (added below) and it seems OK, at least I cannot find any reason, why a 210x297 page should be treated as NA-LET. Only when I put a comment (#) in front of all 'American...' pagesizes I get a correct result (i.e.:
+ test 6 '!=' 0 + shift + pagelength=279 <-- sic! + shift
This is though not a desireable way of action, because this should later on work for recieving faxes too, and we might well recieve NA-LET format faxes.
Is there anything I didn't see/understand? Any europeans here encountering the same problem?
------------------- /usr/lib/pagesizes:
ISO A3 A3 14030 19840 13200 18480 472 345 ISO A4 A4 9920 14030 9240 13200 472 345 ISO A5 A5 7133 9921 6455 9236 472 345 ISO A6 A6 5055 6991 4575 6508 472 345 ISO B4 B4 12048 17196 11325 16010 472 345 North American Letter NA-LET 10200 13200 9240 12400 472 345 American Legal US-LEG 10200 16800 9240 15775 472 345 American Ledger US-LED 13200 20400 11946 19162 472 345 American Executive US-EXE 8700 12600 7874 11835 472 345 Japanese Letter JP-LET 8598 12141 7600 10200 900 400 Japanese Legal JP-LEG 12141 17196 11200 15300 900 400 # default A4 9920 14030 9240 13200 472 345 --------------------
____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*