Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
receive fax image problem
I'm using HylaFAX v4.0pl2 on Solaris 2.6/ultra 60 using gcc 2.8.1
(with the hylafax-gcc-2.8.x.sh patches) and a multitech 56384zbav
modem. I switched to a Central Data serial port card with full
bidirectional hardware flow control to avoid the buffer overruns I had
been experiencing with the internal ports, but I still have a problem
receiving faxes. I had blamed the problem before on the buffer
overruns, but that excuse is gone; no error messages now, and good
flow control).
When I receive a fax, the log looks fine, the image file gets created
and I receive email about it. However, the fax seems screwed up, as
if horizontal hold on a TV was misadjusted (i.e. as if data is missing
randomly from scanlines which then get shortened and dont all start at
the left.) I'm viewing it using a ghostview that is known to work.
When I run fax2ps by hand, I get a string of messages like this:
/tmp/fax2ps015635: Fax3Decode1D: Bad code word at scanline 2 (x 1246).
/tmp/fax2ps015635: Fax3Decode1D: Bad code word at scanline 3 (x 1246).
/tmp/fax2ps015635: Fax3Decode1D: Bad code word at scanline 4 (x 183).
/tmp/fax2ps015635: Fax3Decode1D: Bad code word at scanline 7 (x 1246).
/tmp/fax2ps015635: Fax3Decode1D: Bad code word at scanline 8 (x 1246).
/tmp/fax2ps015635: Fax3Decode1D: Bad code word at scanline 9 (x 1246).
Everything else works fine: sending faxes, adaptive answer and
faxgetty login, uucp, tip, etc.
Help!
--gary
_______________________________________________________
Gary Sabot | Voice: (781) 647-7776
Sabot Associates, Inc. | FAX: (781) 647-7779
10 Carroll Circle | Internet: gary@sabot.com
Weston, MA 02493 USA |
-------------------------------------------------------
P.S. for what its worth, below I include my config file, followed by
the fax receive log:
CountryCode: 1
AreaCode: 781
FAXNumber: +1.781.647.7779
LongDistancePrefix: 1
InternationalPrefix: 011
DialStringRules: "etc/dialrules"
ServerTracing: 1 #was 1, 11 or 15 for lots of detail, output in /var/spool/fax/etc/syslog
SessionTracing: 11
RecvFileMode: 0666
LogFacility: "local5"
LogFileMode: 0666
DeviceMode: 0666
RingsBeforeAnswer: 1 #0 is dont answer, 1 is answer on first ring
SpeakerVolume: off
GettyArgs: "-g -h -d /dev/cua/0 -l contty8H -m ldterm,ttcompat"
LocalIdentifier: "+1.781.647.7779"
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%p of %%t"
MaxRecvPages: 300
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class2 # use class 2 interface
ModemRate: 115200 # lock rate for DCE-DTE communication
ModemFlowControl: rtscts # default
#
ModemHardFlowCmd: AT&K3 # hardware flow controlK3
ModemSoftFlowCmd: AT&K4 # software flow controlK4
ModemSetupDTRCmd: AT&D3 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
ModemSetupAACmd: AT+FAA=1 # enable adaptive-answer in class 2
#
# NB: some models get confused by the @
#
ModemDialCmd: ATDT%s@ # T for tone dialing, @ for silence
#
Class2RecvDataTrigger: "\022" # character sent to modem to start recv
Jul 25 12:48:29.05: [ 997]: SESSION BEGIN 00000019 17816477779
Jul 25 12:48:29.05: [ 997]: <-- [4:ATA\r]
Jul 25 12:48:42.00: [ 997]: --> [5:+FCON]
Jul 25 12:48:42.00: [ 997]: ANSWER: FAX CONNECTION
Jul 25 12:48:42.02: [ 997]: RECV FAX: begin
Jul 25 12:48:42.05: [ 997]: --> [28:+FTSI:" +1 781 647 7779"]
Jul 25 12:48:42.05: [ 997]: REMOTE TSI "+1 781 647 7779"
Jul 25 12:48:42.33: [ 997]: --> [21:+FDCS:0,3,0,2,0,0,0,0]
Jul 25 12:48:42.33: [ 997]: REMOTE wants 9600 bit/s
Jul 25 12:48:42.33: [ 997]: REMOTE wants page width 1728 pixels in 215 mm
Jul 25 12:48:42.33: [ 997]: REMOTE wants unlimited page length
Jul 25 12:48:42.33: [ 997]: REMOTE wants 3.85 line/mm
Jul 25 12:48:42.33: [ 997]: REMOTE wants 1-D MR
Jul 25 12:48:42.33: [ 997]: --> [2:OK]
Jul 25 12:48:42.33: [ 997]: <-- [7:AT+FDR\r]
Jul 25 12:48:45.36: [ 997]: --> [5:+FCFR]
Jul 25 12:48:46.28: [ 997]: --> [7:CONNECT]
Jul 25 12:48:46.28: [ 997]: RECV: begin page
Jul 25 12:48:46.28: [ 997]: RECV: send trigger 022
Jul 25 12:48:46.28: [ 997]: <-- data [1]
Jul 25 12:49:06.02: [ 997]: RECV: 23724 bytes of data, 574 total lines
Jul 25 12:49:06.02: [ 997]: --> [12:+FPTS:1,1082]
Jul 25 12:49:07.63: [ 997]: --> [6:+FET:2]
Jul 25 12:49:07.63: [ 997]: RECV recv EOP (no more pages or documents)
Jul 25 12:49:07.63: [ 997]: --> [2:OK]
Jul 25 12:49:07.63: [ 997]: RECV send MCF (message confirmation)
Jul 25 12:49:07.63: [ 997]: RECV FAX (00000019): from +1 781 647 7779, page 1 in 0:25, INF, 3.85 line/mm, 1-D MR
Jul 25 12:49:07.63: [ 997]: RECV FAX (00000019): recvq/fax00005.tif from +1 781 647 7779, route to <unspecified>, 1 pages in 0:25
Jul 25 12:49:07.63: [ 997]: <-- [7:AT+FDR\r]
Jul 25 12:49:10.75: [ 997]: --> [7:+FHNG:0]
Jul 25 12:49:10.75: [ 997]: REMOTE HANGUP: Normal and proper end of connection (code 0)
Jul 25 12:49:10.75: [ 997]: RECV FAX: bin/faxrcvd "recvq/fax00005.tif" "cua_0" "00000019" ""
Jul 25 12:49:10.92: [ 997]: RECV FAX: end
Jul 25 12:49:10.92: [ 997]: SESSION END