incomplete faxes

Herbert Betz (kla@fh-landshut.de)
Thu, 3 Sep 1998 18:06:47 +0200



I'm trying to automate faxing (sendfax version 1.1.16) by a bash script
containing the following lines:

/usr/bin/pbmtext -font ./cour25.pbm <./$faxfile |/usr/bin/pbm2g3 >./$faxfile.g3
/usr/sbin/sendfax $faxnr ./$faxfile.g3

This sends the ascii file named 'faxfile' to an ordinary fax-maschine
(always the same faxnr).

Now the problem is that after about 120 lines of text the output on the
fax-maschine stops in the middle of a line. Despite sendfax.log telling me
that all was sent faultlessly, I can only collect the first 120 lines from
the fax maschine.
This fax-maschine has an endless paperroll and will receive longer faxes
from other senders without problems. A look at the pbmtext output shows,
that the pbm contained the complete text before sending.

* However the corresponding g3-file is about 3 times larger than the bytes
sent according to sendfax.log (see below) !*
(With smaller texts the number of bytes sent is slightly larger than the
corresponding g3 file)

What is causing the fax or g3file to be cut off ? Is 'modem-quirks'
part of the problem ?

Thanks for any comments,
Herbert 
____________________________________________
Herbert Betz : Landshut : kla@fh-landshut.de

from /var/log/sendfax.log:
...
09/03 17:18:32 yS1    read 64, write 64
09/03 17:18:32 yS1    read 64, write 64
09/03 17:18:32 yS1    read 40, write 40
09/03 17:18:32 yS1  page complete, 138618 bytes sent
09/03 17:18:32 yS1  sending DLE '.'
09/03 17:18:32 yS1    got:[0a][0d][0a]+FHS:00[0d]
09/03 17:18:44 yS1  connection hangup: '+FHS:00'
09/03 17:18:44 yS1   (Normal and proper end of connection)