Hylafax Mailing List Archives

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

squashed lines




hi

I have spent many not very fruitful hours on this problem.

Redhat 5 on a 2.0.31 kernel
rpm hylafax-4.0pl2-3rh5.i386.rpm

The rpm installs fine and all I need is to add usernames to the etc/hosts
file and I can fax.  

Problem is the lines come out bunched up and squashed and sometimes only
the top or bottom of a line is visible.  Even the Local identifier line at
the top of the page is in half.

Here is the config file (it has errors but has worked for many months with
those same errors.  Also I enclose a tracing of the fax that went through
but with squashed lines.

Thank you for any help with this trying problem.


-- 
Eric Smith
<eric@fruitcom.com> 
www.fruitcom.com
Tel. 021 423 6111


FIRST THE CONFIG FILE


# $Id: class2,v 1.23 1996/06/24 02:58:32 sam Rel $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-1996 Sam Leffler
<snip>
# OF THIS SOFTWARE.
#

#
# Generic Class 2 modem configuration.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode:		1
AreaCode:		415
FAXNumber:		+1.999.555.1212
LongDistancePrefix:	1
InternationalPrefix:	011
DialStringRules:	etc/dialrules
ServerTracing:		1
SessionTracing:		11
RecvFileMode:		0600
LogFileMode:		0600
DeviceMode:		0600
RingsBeforeAnswer:	1
SpeakerVolume:		off
GettyArgs:		"-h %l %s"
LocalIdentifier:	"NothingSetup"
TagLineFont:		etc/lutRS18.pcf
TagLineFormat:		"From %%l|%c|Page %%p of %%t"
MaxRecvPages:		25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:		Class2		# use this to supply a hint
#ModemRate:		19200		# max rate for DCE-DTE communication
#ModemFlowControl:	xonxoff		# XON/XOFF flow control assumed
#ModemSetupDTRCmd:	AT&D2		# setup so DTR drop resets modem
#ModemSetupDCDCmd:	AT&C1		# setup so DCD reflects carrier (or not)
#
# We normally append the "@" symbol to the dial string so that
# the modem will wait 5 seconds before attempting to connect
# and return result codes that distinguish between no carrier
# and no answer.  This makes it possible to avoid problems with
# repeatedly dialing a number that doesn't have a fax machine
# (kudos to Stuart Lynne for this trick.)
#
# NB: If you need to prefix phone numbers to get through a PBX,
#     put it in the ModemDialCmd; e.g. "DT9%s@".
#
#ModemDialCmd:		ATDT%s@		# T for tone dialing, @ for silence
#
# Other possible configuration stuff.  The default strings are
# shown below.  Only those that are different from the defaults
# need to be included in the configuration file.
#
#ModemResetCmds:		""		# stuff to do when modem is reset
#ModemAnswerCmd:		ATA		# use this to answer phone
#ModemNoFlowCmd:		AT&K		# disable flow control cmd
#ModemHardFlowCmd:	AT&K3		# hardware flow control cmd
#ModemSoftFlowCmd:	AT&K4		# software flow control cmd
#ModemNoAutoAnswerCmd:	ATS0=0		# disable auto-answer
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
#ModemSetVolumeCmd:	"ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1"
#ModemEchoOffCmd:	ATE0		# disable command echo
#ModemVerboseResultsCmd:	ATV1		# enable verbose command results
#ModemResultCodesCmd:	ATQ0		# enable result codes
#ModemOnHookCmd:		ATH0		# place phone on hook (hangup)
#ModemSoftResetCmd:	ATZ		# do soft reset of modem
#ModemWaitTimeCmd:	ATS7=60		# wait 60 seconds for carrier
#ModemCommaPauseTimeCmd:	ATS8=2		# comma pause time is 2 seconds
#ModemRecvFillOrder:	LSB2MSB		# bit order of received facsimile
#ModemSendFillOrder:	LSB2MSB		# bit order modem expects for transmit
#
# Configuration parameters for Class 2 modems.
#
Class2Cmd:		AT+FCLASS=2	# command to enter class 2
Class2BORCmd:		AT+FBOR=0	# bit order for phase B/C/D (direct)
Class2RELCmd:		AT+FREL=1	# byte-align EOL codes on recv
Class2CQCmd:		""		# commands to enable copy quality proc.
Class2AbortCmd:		AT+FK		# abort session command
Class2CQQueryCmd:	AT+FCQ=?	# query for copy quality capabilities
Class2DCCQueryCmd:	AT+FDCC=?	# query for modem capabilities
Class2TBCCmd:		AT+FTBC=0	# setup stream mode
Class2CRCmd:		AT+FCR=1	# enable capability to receive
Class2PHCTOCmd:		AT+FPHCTO=30	# set phase C timeout parameter
Class2BUGCmd:		AT+FBUG=1	# enable HDLC frame tracing
Class2LIDCmd:		AT+FLID		# set local identifier command
Class2DCCCmd:		AT+FDCC		# set modem capabilities command
Class2DISCmd:		AT+FDIS		# set session parameters command
Class2DDISCmd:		""		# disable pre-dial DIS command hack
Class2CIGCmd:		AT+FCIG		# set polling identifier command
Class2PTSCmd:		AT+FPTS		# set post-page status command
Class2SPLCmd:		AT+FSPL		# set polling indicator command
#
# If Class2RecvDataTrigger is not set, then it is set to DC1
#
Class2RecvDataTrigger:	""		# character sent to modem to start recv
################ the following line is NOT default
Class2XmitWaitForXON:	no		# I have to do this for the fax to
transmit



AND NOW THE LOG TRACING OF A FAX WITH THE PROBLEM




Jun 27 20:36:14.00: [ 2851]: SESSION BEGIN 00000003 14150027214237675
Jun 27 20:36:14.00: [ 2851]: SEND FAX: JOB 2 DEST 0027214237675 COMMID 00000003
Jun 27 20:36:14.00: [ 2851]: DELAY 2600 ms
Jun 27 20:36:16.61: [ 2851]: <-- [15:ATE0V1Q0S0=0H0\r]
Jun 27 20:36:16.82: [ 2851]: --> [2:OK]
Jun 27 20:36:16.82: [ 2851]: <-- [12:ATS8=2S7=60\r]
Jun 27 20:36:21.82: [ 2851]: MODEM <Timeout>
Jun 27 20:36:21.82: [ 2851]: <-- [5:ATM0\r]
Jun 27 20:36:22.03: [ 2851]: --> [2:OK]
Jun 27 20:36:22.03: [ 2851]: <-- [12:AT+FCLASS=2\r]
Jun 27 20:36:22.35: [ 2851]: --> [2:OK]
Jun 27 20:36:22.35: [ 2851]: <-- [10:AT+FTBC=0\r]
Jun 27 20:36:22.65: [ 2851]: --> [5:ERROR]
Jun 27 20:36:22.65: [ 2851]: MODEM Command error
Jun 27 20:36:22.65: [ 2851]: <-- [10:AT+FBOR=0\r]
Jun 27 20:36:22.96: [ 2851]: --> [2:OK]
Jun 27 20:36:22.96: [ 2851]: <-- [13:AT+FPHCTO=30\r]
Jun 27 20:36:23.28: [ 2851]: --> [2:OK]
Jun 27 20:36:23.28: [ 2851]: <-- [24:AT+FDCC=1,5,2,2,1,0,0,0\r]
Jun 27 20:36:23.60: [ 2851]: --> [5:ERROR]
Jun 27 20:36:23.60: [ 2851]: MODEM Command error
Jun 27 20:36:23.60: [ 2851]: <-- [23:AT+FLID="NothingSetup"\r]
Jun 27 20:36:23.92: [ 2851]: --> [2:OK]
Jun 27 20:36:23.92: [ 2851]: DIAL 0027214237675
Jun 27 20:36:23.92: [ 2851]: <-- [18:ATDT0027214237675\r]
Jun 27 20:36:45.46: [ 2851]: --> [5:+FCON]
Jun 27 20:36:46.87: [ 2851]: --> [29:+FCSI: "+27 21 4237675      "]
Jun 27 20:36:46.87: [ 2851]: REMOTE CSI "+27 21 4237675"
Jun 27 20:36:47.14: [ 2851]: --> [21:+FDIS:1,3,0,2,1,0,0,0]
Jun 27 20:36:47.14: [ 2851]: --> [2:OK]
Jun 27 20:36:47.14: [ 2851]: REMOTE best rate 9600 bit/s
Jun 27 20:36:47.14: [ 2851]: REMOTE max page width 1728 pixels in 215 mm
Jun 27 20:36:47.14: [ 2851]: REMOTE max unlimited page length 
Jun 27 20:36:47.14: [ 2851]: REMOTE best vres 7.7 line/mm
Jun 27 20:36:47.14: [ 2851]: REMOTE best format 2-D MR
Jun 27 20:36:47.14: [ 2851]: REMOTE best 0 ms/scanline
Jun 27 20:36:47.14: [ 2851]: USE 9600 bit/s
Jun 27 20:36:47.14: [ 2851]: USE 0 ms/scanline
Jun 27 20:36:47.14: [ 2851]: SEND file "docq/doc2.ps;31"
Jun 27 20:36:47.14: [ 2851]: USE page width 1728 pixels in 215 mm
Jun 27 20:36:47.14: [ 2851]: USE unlimited page length 
Jun 27 20:36:47.14: [ 2851]: USE 7.7 line/mm
Jun 27 20:36:47.14: [ 2851]: USE 1-D MR
Jun 27 20:36:47.14: [ 2851]: <-- [24:AT+FDIS=1,3,0,2,0,0,0,0\r]
Jun 27 20:36:47.27: [ 2851]: --> [2:OK]
Jun 27 20:36:47.27: [ 2851]: <-- [7:AT+FDT\r]
Jun 27 20:36:47.44: [ 2851]: --> [21:+FDCS:1,3,0,2,0,0,0,0]
Jun 27 20:36:55.37: [ 2851]: --> [21:+FDCS:1,3,0,2,0,0,0,0]
Jun 27 20:37:02.74: [ 2851]: --> [21:+FDCS:1,2,0,2,0,0,0,0]
Jun 27 20:37:09.57: [ 2851]: --> [7:CONNECT]
Jun 27 20:37:09.57: [ 2851]: SEND begin page
Jun 27 20:37:09.57: [ 2851]: <-- data [1025]
Jun 27 20:37:09.57: [ 2851]: <-- data [1027]
Jun 27 20:37:09.57: [ 2851]: <-- data [1025]
Jun 27 20:37:09.57: [ 2851]: <-- data [1029]
Jun 27 20:37:09.57: [ 2851]: <-- data [1028]
Jun 27 20:37:11.54: [ 2851]: <-- data [1027]
Jun 27 20:37:11.54: [ 2851]: <-- data [1028]
Jun 27 20:37:11.54: [ 2851]: <-- data [1030]
Jun 27 20:37:13.51: [ 2851]: <-- data [1028]
Jun 27 20:37:13.51: [ 2851]: <-- data [1031]
Jun 27 20:37:13.51: [ 2851]: <-- data [1024]
Jun 27 20:37:13.51: [ 2851]: <-- data [1028]
Jun 27 20:37:15.48: [ 2851]: <-- data [1031]
Jun 27 20:37:15.49: [ 2851]: <-- data [1028]
Jun 27 20:37:15.49: [ 2851]: <-- data [1034]
Jun 27 20:37:15.49: [ 2851]: <-- data [1027]
Jun 27 20:37:17.46: [ 2851]: <-- data [1027]
Jun 27 20:37:17.46: [ 2851]: <-- data [1026]
Jun 27 20:37:17.46: [ 2851]: <-- data [1029]
Jun 27 20:37:19.43: [ 2851]: <-- data [1029]
Jun 27 20:37:19.43: [ 2851]: <-- data [1028]
Jun 27 20:37:19.43: [ 2851]: <-- data [1028]
Jun 27 20:37:19.43: [ 2851]: <-- data [1027]
Jun 27 20:37:21.40: [ 2851]: <-- data [810]
Jun 27 20:37:21.40: [ 2851]: SENT 24359 bytes of data
Jun 27 20:37:21.40: [ 2851]: <-- data [2]
Jun 27 20:37:21.40: [ 2851]: SEND end page
Jun 27 20:37:37.13: [ 2851]: --> [2:OK]
Jun 27 20:37:37.13: [ 2851]: SEND send EOP (no more pages or documents)
Jun 27 20:37:37.13: [ 2851]: <-- [9:AT+FET=2\r]
Jun 27 20:37:40.54: [ 2851]: --> [8:+FPTS:1 ]
Jun 27 20:37:40.54: [ 2851]: SEND recv MCF (message confirmation)
Jun 27 20:37:40.54: [ 2851]: SEND FAX (00000003): FROM root@london.nafex.com TO 0027214237675 (page 1 of 1 sent in 0:53)
Jun 27 20:37:40.54: [ 2851]: SEND FAX (00000003): FROM root@london.nafex.com TO 0027214237675 (docq/doc2.ps;31 sent in 0:53)
Jun 27 20:37:40.54: [ 2851]: <-- [5:ATH0\r]
Jun 27 20:37:40.54: [ 2851]: --> [7:+FHNG:0]
Jun 27 20:37:40.54: [ 2851]: REMOTE HANGUP: Normal and proper end of connection (code 0)
Jun 27 20:37:42.03: [ 2851]: --> [2:OK]
Jun 27 20:37:42.03: [ 2851]: SESSION END



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services