HylaFAX The world's most advanced open source fax server

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

Chopped received faxes



Thanks to Rob who helped out last time ;)

All problems bar one have been resolved.

Received faxes are chopped, with the remaining text aligned 
bottom-left.  We can receive faxes no worries, they print out
fine to our ghostscript printer, but are chopped.  

Viewing the .tif files with xv and they appear chopped as well.
I've read that it might be a software flow bug, but the config
file looks ok to me.  I've tried changing ModemFaxAnswerCmd:
from 19200 to 9600 but no go.

Hylafax-4.02-pl2, tiffv3.4, class 2 modem (Netcomm Roadster II)
Have only tested from 1 fax, a Canon-410

The command I use to invoke our ghostscript printer from faxrcvd :
/usr/local/bin/tiff2ps $FILE |lpr -P lp-gs
(I've tried setting width and height without much luck)

config.ttyE7 file :
RecvFileMode:		0600
GettyArgs:		"-r -b -s 115200 -x 4"
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"From %%l|%c|Page %%p of %%t"
MaxRecvPages:		25

ModemDialCmd:		ATDT0%s
ModemWaitTimeCmd:	ATS7=1000
ModemType:		Class2		# use class 2 interface
ModemRate:		38400
ModemFlowControl:	rtscts		# default
#
#ModemResetCmds:	AT&F2		# what you want for a Supra
ModemNoFlowCmd:		AT&K		# disable flow control cmd
ModemHardFlowCmd:	AT&K3		# hardware flow control cmd
ModemSoftFlowCmd:	AT&K4		# software flow control cmd
ModemSetupDTRCmd:	AT&D3		# DTR off causes modem to reset
#ModemSetupDTRCmd:	AT&D2S25=1S38=0	# Dynalink 1414VE needs this
ModemSetupDCDCmd:	AT&C1		# DCD follows carrier
ModemSetupAACmd:	AT+FAA=1+FCLASS=0 # enable in current class
#
ModemSendFillOrder:	LSB2MSB		# as expected
ModemRecvFillOrder:	MSB2LSB		# opposite of what makes sense
#
ModemAnswerFaxBeginCmd:	"<19200><xon>"	# modem switches on fax receive
#
# Caller ID configuration setup for Supra.
#
#QualifyCID:		etc/cid		# CID access control list file
#CIDNumber:		"NMBR = "	# pattern string for phone number info
#CIDName:		"NAME = "	# pattern string for identity info

And a typical multi-page receive log:
Nov 03 14:39:04.83: [21896]: SESSION BEGIN 00000455 610399999999
Nov 03 14:39:04.83: [21896]: <-- [4:ATA\r]
Nov 03 14:39:06.16: [21896]: --> [3:FAX]
Nov 03 14:39:06.16: [21896]: ANSWER: FAX CONNECTION
Nov 03 14:39:06.17: [21896]: RECV FAX: begin
Nov 03 14:39:13.59: [21896]: --> [5:	¨¼Mø]
Nov 03 14:39:13.59: [21896]: --> [29:+FTSI: "       613 99999999"]
Nov 03 14:39:13.59: [21896]: REMOTE TSI "613 9999 9999"
Nov 03 14:39:13.91: [21896]: --> [22:+FDCS: 0,3,0,2,0,0,0,0]
Nov 03 14:39:13.91: [21896]: REMOTE wants 9600 bit/s
Nov 03 14:39:13.91: [21896]: REMOTE wants page width 1728 pixels in 215 mm
Nov 03 14:39:13.91: [21896]: REMOTE wants unlimited page length 
Nov 03 14:39:13.91: [21896]: REMOTE wants 3.85 line/mm
Nov 03 14:39:13.91: [21896]: REMOTE wants 1-D MR
Nov 03 14:39:14.02: [21896]: --> [2:OK]
Nov 03 14:39:14.02: [21896]: <-- [7:AT+FDR\r]
Nov 03 14:39:15.58: [21896]: --> [5:+FCFR]
Nov 03 14:39:18.04: [21896]: --> [22:+FDCS: 0,3,0,2,0,0,0,0]
Nov 03 14:39:18.04: [21896]: REMOTE wants 9600 bit/s
Nov 03 14:39:18.04: [21896]: REMOTE wants page width 1728 pixels in 215 mm
Nov 03 14:39:18.04: [21896]: REMOTE wants unlimited page length 
Nov 03 14:39:18.04: [21896]: REMOTE wants 3.85 line/mm
Nov 03 14:39:18.04: [21896]: REMOTE wants 1-D MR
Nov 03 14:39:18.04: [21896]: --> [7:CONNECT]
Nov 03 14:39:18.04: [21896]: RECV: begin page
Nov 03 14:39:18.04: [21896]: RECV: send trigger 021
Nov 03 14:39:18.04: [21896]: <-- data [1]
Nov 03 14:39:47.66: [21896]: RECV: 414 total lines, 0 bad lines, 0 consecutive bad lines
Nov 03 14:39:47.66: [21896]: --> [17:+FPTS: 1,2219,0,0]
Nov 03 14:39:51.56: [21896]: --> [7:+FET: 0]
Nov 03 14:39:51.56: [21896]: RECV recv MPS (more pages, same document)
Nov 03 14:39:51.67: [21896]: --> [2:OK]
Nov 03 14:39:51.67: [21896]: RECV send MCF (message confirmation)
Nov 03 14:39:51.67: [21896]: RECV FAX (00000455): from 613 9999 9999, page 1 in 0:37, INF, 3.85 line/mm, 1-D MR
Nov 03 14:39:51.67: [21896]: <-- [7:AT+FDR\r]
Nov 03 14:40:01.69: [21896]: --> [7:CONNECT]
Nov 03 14:40:01.69: [21896]: RECV: begin page
Nov 03 14:40:01.69: [21896]: RECV: send trigger 021
Nov 03 14:40:01.69: [21896]: <-- data [1]
Nov 03 14:40:28.54: [21896]: RECV: 583 total lines, 0 bad lines, 0 consecutive bad lines
Nov 03 14:40:28.54: [21896]: --> [17:+FPTS: 1,2219,0,0]
Nov 03 14:40:32.55: [21896]: --> [7:+FET: 2]
Nov 03 14:40:32.55: [21896]: RECV recv EOP (no more pages or documents)
Nov 03 14:40:32.55: [21896]: --> [2:OK]
Nov 03 14:40:32.55: [21896]: RECV send MCF (message confirmation)
Nov 03 14:40:32.55: [21896]: RECV FAX (00000455): from 613 9999 9999, page 2 in 0:41, INF, 3.85 line/mm, 1-D MR
Nov 03 14:40:32.55: [21896]: RECV FAX (00000455): recvq/fax00047.tif from 613 9999 9999, route to <unspecified>, 2 pages in 1:26
Nov 03 14:40:32.55: [21896]: <-- [7:AT+FDR\r]
Nov 03 14:40:35.44: [21896]: --> [8:+FHNG: 0]
Nov 03 14:40:35.44: [21896]: REMOTE HANGUP: Normal and proper end of connection (code 0)
Nov 03 14:40:35.44: [21896]: RECV FAX: bin/faxrcvd "recvq/fax00047.tif" "ttyE7" "00000455" ""
Nov 03 14:40:35.86: [21896]: RECV FAX: end
Nov 03 14:40:35.86: [21896]: SESSION END




Project hosted by iFAX Solutions