HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Sendfax only sends blank pages



I have a problem with hylafax sending faxes... I've been trying to get it working for several days now, but hadn't had much luck. When I send a fax, the recepients just report receiving a single empty page (the tiff file looks ok). I tried to find a balance between posting very long logfiles and providing the necessary information. If anything is lacking, let me know.

The result is the same using a PS-file and TIFF-file. ps2fax correctly converts the the postscript to tiff. Both look perfectly ok when opening in ghostview or imaging software.

Modem: ROCKWELL AC/V34/V1.510-V34_DP (this is a serial faxmodem on ttyS0)
Operating system: Linux version 2.4.21 (Debian Woody)
HylaFAX version: I had the same problem with the latest version, but this test is done with 4.1.1, because I tried downgrading in the hope that would help, but to no avail.


Logfile of the faxsend process:
Oct 10 23:39:59.14: [31776]: SESSION BEGIN 00000005 3211658278
Oct 10 23:39:59.14: [31776]: HylaFAX (tm) Version 4.1.1
Oct 10 23:39:59.14: [31776]: SEND FAX: JOB 5 DEST 011658278 COMMID 00000005 DEVICE '/dev/ttyS0'
#### snipped out about 50 lines of debug info ####
Oct 10 23:40:06.59: [31776]: DIAL 011658278
Oct 10 23:40:06.59: [31776]: <-- [14:ATDT011658278\r]
Oct 10 23:40:20.20: [31776]: --> [5:+FCON]
Oct 10 23:40:21.85: [31776]: --> [29:+FCSI: " DEFAULTCSID"]
Oct 10 23:40:21.85: [31776]: REMOTE CSI "DEFAULTCSID"
Oct 10 23:40:22.14: [31776]: --> [22:+FDIS: 1,5,0,2,1,0,0,0]
Oct 10 23:40:22.25: [31776]: --> [2:OK]
Oct 10 23:40:22.25: [31776]: REMOTE best rate 14400 bit/s
Oct 10 23:40:22.25: [31776]: REMOTE max page width 1728 pixels in 215 mm
Oct 10 23:40:22.25: [31776]: REMOTE max unlimited page length
Oct 10 23:40:22.25: [31776]: REMOTE best vres 7.7 line/mm
Oct 10 23:40:22.25: [31776]: REMOTE best format 2-D MR
Oct 10 23:40:22.25: [31776]: REMOTE best 0 ms/scanline
Oct 10 23:40:22.25: [31776]: USE 14400 bit/s
Oct 10 23:40:22.25: [31776]: USE 0 ms/scanline
Oct 10 23:40:22.25: [31776]: SEND file "docq/doc5.tif;30"
Oct 10 23:40:22.25: [31776]: USE page width 1728 pixels in 215 mm
Oct 10 23:40:22.25: [31776]: USE unlimited page length
Oct 10 23:40:22.25: [31776]: USE 3.85 line/mm
Oct 10 23:40:22.25: [31776]: USE 1-D MR
Oct 10 23:40:22.25: [31776]: <-- [24:AT+FDIS=0,5,0,2,0,0,0,0\r]
Oct 10 23:40:22.36: [31776]: --> [2:OK]
Oct 10 23:40:22.36: [31776]: <-- [7:AT+FDT\r]
Oct 10 23:40:30.50: [31776]: --> [22:+FDCS: 0,5,0,2,0,0,0,0]
Oct 10 23:40:30.50: [31776]: --> [7:CONNECT]
Oct 10 23:40:30.50: [31776]: SEND wait for XON
Oct 10 23:40:30.50: [31776]: --> [1:]
Oct 10 23:40:30.50: [31776]: SEND begin page
Oct 10 23:40:30.50: [31776]: <-- data [1027]
Oct 10 23:40:30.50: [31776]: <-- data [1028]
Oct 10 23:40:30.50: [31776]: <-- data [1030]
Oct 10 23:40:30.50: [31776]: <-- data [1027]
Oct 10 23:40:31.20: [31776]: <-- data [1029]
Oct 10 23:40:31.20: [31776]: <-- data [1033]
Oct 10 23:40:31.62: [31776]: <-- data [1030]
Oct 10 23:40:32.04: [31776]: <-- data [1032]
Oct 10 23:40:32.89: [31776]: <-- data [1032]
Oct 10 23:40:33.33: [31776]: <-- data [1028]
Oct 10 23:40:34.16: [31776]: <-- data [1028]
Oct 10 23:40:34.57: [31776]: <-- data [1024]
Oct 10 23:40:35.40: [31776]: <-- data [25]
Oct 10 23:40:35.40: [31776]: SENT 12313 bytes of data
Oct 10 23:40:35.40: [31776]: <-- data [2]
Oct 10 23:40:35.40: [31776]: SEND end page
Oct 10 23:40:38.28: [31776]: --> [2:OK]
Oct 10 23:40:38.28: [31776]: SEND send EOP (no more pages or documents)
Oct 10 23:40:38.29: [31776]: <-- [9:AT+FET=2\r]
Oct 10 23:40:41.10: [31776]: --> [8:+FPTS: 1]
Oct 10 23:40:42.77: [31776]: --> [8:+FHNG: 0]
Oct 10 23:40:42.77: [31776]: REMOTE HANGUP: Normal and proper end of connection (code 0)
Oct 10 23:40:42.77: [31776]: SEND recv MCF (message confirmation)
Oct 10 23:40:42.78: [31776]: SEND FAX (00000005): FROM robvdw@xxxxxxxxxxxxxxxxx TO 011658278 (page 1 of 1 sent in 0:20)
Oct 10 23:40:42.78: [31776]: SEND FAX (00000005): FROM robvdw@xxxxxxxxxxxxxxxxx TO 011658278 (docq/doc5.tif;30 sent in 0:20)
Oct 10 23:40:42.78: [31776]: <-- [5:ATH0\r]
Oct 10 23:40:43.35: [31776]: --> [2:OK]
Oct 10 23:40:43.36: [31776]: SESSION END


extract from config.ttyS0
#
# Configuration for a Rockwell RC288DPi-based Class 2 modem
# (should also work for 144DPi-based modems).

ModemType: Class2 # use class 1 interface
ModemRate: 38400 # locked for fax sending&receiving
ModemFlowControl: rtscts # default
#ModemFlowControl: xonxoff # tried both rtscts and xonxoff
#
ModemNoFlowCmd: AT&K0 # disable flow control cmd
ModemSoftFlowCmd: AT&K4 # software flow control cmd
ModemHardFlowCmd: AT&K3 # hardware flow control cmd
ModemSetupDTRCmd: AT&D3 # DTR off causes modem to reset
ModemSetupDCDCmd: AT&C1 # DCD follows carrier
ModemSetupAACmd: AT+FAA=1 # enable adaptive-answer in Class 2
#
ModemRecvFillOrder: MSB2LSB # bit order of received facsimile
ModemSendFillOrder: LSB2MSB # bit order modem expects for transmit
#
ModemDialCmd: ATDT%s # T for tone dialing
#
# Chip locks the line rate and switches to xon/xoff flow
# control when receiving facsimile--we must follow suit.
#
ModemAnswerFaxBeginCmd: "<19200><xon>" # lock line rate & switch flow control
#
Class2RecvDataTrigger: "\022" # character sent to modem to start recv
Class2BUGCmd: none # AC/V34 gives ERROR
Class2APQueryCmd: none # AC/V34 gives ERROR



If anyone has any ideas or suggestions, I'd be very grateful! Thanks in advance!




Rob


____________________ 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@xxxxxxxxxxxx*




Project hosted by iFAX Solutions