Hylafax Mailing List Archives

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

[hylafax-users] java Sendfax fax not being sent (Win2K to RH7.3)





<sorry if anybody gets this twice; didn't realize our mail server uses a
different reply-to address than the one I used to subscribe>
Greetings,
I just started using hylafax on RH7.3 and I am able to successfully send
faxes (using KdeprintFax).  I am now attempting to use the gnu.java
SendFax application to send a fax doc from a Win2K box to the hylafax
server.  The sendfax app seems to be operating correctly and I am able
to see the modem  (external, serial) on the hylafax server go OH and
even get a CD (briefly), however no fax is sent.  Looking in the
/var/spool/hylafax/docq dir, I can see the document referenced by the
sendfax app so it appears the document to fax is making it from the
Win2k box to the hylafax box.  One thing to note is that the faxes
originated by KdeprintFax all end in 'ps' (e.g. doc30.ps) where those
sent by sendfax end in the job number (e.g. doc31.ps.37) 

Looking at the hylafax send logs, it appears that the connection to the
fax machine is being correctly sent up.  Where I see a difference
between KdeprintFax and sendfax is after the 'USE 0 ms/scanline.  The
log from the kdeprintfax then shows a 'SEND file "docq/doc30.ps;01"'
where the sendfax related log does not.

Any ideas on why the sendfax initiated fax is not being able to fax the
document out successfully?

TIA
Doug


Logs and sendfax output for your viewing pleasure:

Snip of Sendfax log output (fax dest number changed to 5555555555)
<snip>
Jun 04 14:06:51.18: [ 9645]: REMOTE CSI 5555555555"
Jun 04 14:06:51.18: [ 9645]: <-- [9:AT+FRH=3\r]
Jun 04 14:06:51.20: [ 9645]: --> [7:CONNECT]
Jun 04 14:06:51.61: [ 9645]: --> [2:OK]
Jun 04 14:06:51.61: [ 9645]: REMOTE best rate 14400 bit/s
Jun 04 14:06:51.61: [ 9645]: REMOTE max page width 1728 pixels in 215 mm
Jun 04 14:06:51.61: [ 9645]: REMOTE max unlimited page length
Jun 04 14:06:51.61: [ 9645]: REMOTE best vres 7.7 line/mm
Jun 04 14:06:51.61: [ 9645]: REMOTE best format 2-D MMR
Jun 04 14:06:51.61: [ 9645]: REMOTE supports T.30 Annex A, ECM
Jun 04 14:06:51.61: [ 9645]: REMOTE best 0 ms/scanline
Jun 04 14:06:51.61: [ 9645]: USE 14400 bit/s
Jun 04 14:06:51.61: [ 9645]: USE 0 ms/scanline
Jun 04 14:06:51.61: [ 9645]: <-- [9:AT+FTH=3\r]
Jun 04 14:06:51.66: [ 9645]: --> [7:CONNECT]
Jun 04 14:06:51.66: [ 9645]: <-- data [3]
Jun 04 14:06:51.66: [ 9645]: <-- data [2]
Jun 04 14:06:52.97: [ 9645]: --> [2:OK]
Jun 04 14:06:52.97: [ 9645]: <-- [5:ATH0\r]
Jun 04 14:06:53.66: [ 9645]: --> [2:OK]
Jun 04 14:06:53.66: [ 9645]: SESSION END


Clip from the successfully sent fax log (fax initiated from kdeprintfax
):
<snip>
Jun 04 13:43:29.17: [ 9355]: REMOTE CSI "5555555555"
Jun 04 13:43:29.17: [ 9355]: <-- [9:AT+FRH=3\r]
Jun 04 13:43:29.19: [ 9355]: --> [7:CONNECT]
Jun 04 13:43:29.62: [ 9355]: --> [2:OK]
Jun 04 13:43:29.62: [ 9355]: REMOTE best rate 14400 bit/s
Jun 04 13:43:29.62: [ 9355]: REMOTE max page width 1728 pixels in 215 mm
Jun 04 13:43:29.62: [ 9355]: REMOTE max unlimited page length
Jun 04 13:43:29.62: [ 9355]: REMOTE best vres 7.7 line/mm
Jun 04 13:43:29.62: [ 9355]: REMOTE best format 2-D MMR
Jun 04 13:43:29.62: [ 9355]: REMOTE supports T.30 Annex A, ECM
Jun 04 13:43:29.62: [ 9355]: REMOTE best 0 ms/scanline
Jun 04 13:43:29.62: [ 9355]: USE 14400 bit/s
Jun 04 13:43:29.62: [ 9355]: USE 0 ms/scanline
Jun 04 13:43:29.62: [ 9355]: SEND file "docq/doc30.ps;01"
Jun 04 13:43:29.62: [ 9355]: USE page width 1728 pixels in 215 mm
Jun 04 13:43:29.62: [ 9355]: USE unlimited page length
Jun 04 13:43:29.62: [ 9355]: USE 7.7 line/mm
Jun 04 13:43:29.62: [ 9355]: USE 1-D MR
Jun 04 13:43:29.62: [ 9355]: SEND training at v.17 14400 bit/s
Jun 04 13:43:29.62: [ 9355]: <-- [9:AT+FTH=3\r]
Jun 04 13:43:29.67: [ 9355]: --> [7:CONNECT]
Jun 04 13:43:29.67: [ 9355]: <-- data [23]
Jun 04 13:43:29.67: [ 9355]: <-- data [2]
Jun 04 13:43:31.48: [ 9355]: --> [7:CONNECT]
Jun 04 13:43:31.48: [ 9355]: <-- data [6]
Jun 04 13:43:31.48: [ 9355]: <-- data [2]
Jun 04 13:43:31.89: [ 9355]: --> [2:OK]
Jun 04 13:43:31.89: [ 9355]: <-- [9:AT+FTS=7\r]
Jun 04 13:43:32.01: [ 9355]: --> [2:OK]
Jun 04 13:43:32.01: [ 9355]: <-- [11:AT+FTM=145\r]
Jun 04 13:43:32.05: [ 9355]: --> [7:CONNECT]
Jun 04 13:43:32.05: [ 9355]: <-- data [1024]
Jun 04 13:43:32.05: [ 9355]: <-- data [1024]
Jun 04 13:43:32.05: [ 9355]: <-- data [652]
Jun 04 13:43:32.05: [ 9355]: <-- data [2]
Jun 04 13:43:35.16: [ 9355]: --> [2:OK]
Jun 04 13:43:35.16: [ 9355]: <-- [9:AT+FRH=3\r]
Jun 04 13:43:35.68: [ 9355]: --> [7:CONNECT]
Jun 04 13:43:36.60: [ 9355]: --> [2:OK]
Jun 04 13:43:36.60: [ 9355]: TRAINING succeeded
<snip>



The sendfax output on the Win2K box (host ip and fax number changed for
privacy reasons):
C:\faxtemp>java -classpath HylaFAXClients.jar de.proissl.hylafax.SendFax
--passi
veFtp -d 5555555555 -h 192.168.10.222 c:/faxtemp/fax.txt -D -f icptest
sun.util.calendar.ZoneInfo[id="America/Denver",offset=-25200000,dstSavin
gs=36000
00,useDaylight=true,transitions=157,lastRule=java.util.SimpleTimeZone[id
=America
/Denver,offset=-25200000,dstSavings=3600000,useDaylight=true,startYear=0
,startMo
de=3,startMonth=3,startDay=1,startDayOfWeek=1,startTime=7200000,startTim
eMode=0,
endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=7200000,endTimeMod
e=0]]
TTS(America/Denver)=Wed Jul 18 11:00:05 MDT 2001
TTS(UTC)=Wed Jul 18 17:00:05 MDT 2001
user=dkn
-> user dkn
230 User dkn logged in.
-> tzone LOCAL
200 Using time values in MST.
-> jnew
200 New job created: jobid: 41 groupid: 41.
-> pasv
227 Entering passive mode (192,168,10,222,128,64)
-> stot
150 FILE: /tmp/doc33.ps (Opening new data connection).
226 Transfer complete (FILE: /tmp/doc33.ps).
-> jparm FROMUSER icptest
213 FROMUSER set to "icptest".
-> jparm LASTTIME 012359
213 LASTTIME set to 012359.
-> jparm MAXDIALS 3
213 MAXDIALS set to 3.
-> jparm MAXTRIES 3
213 MAXTRIES set to 3.
-> jparm SCHEDPRI 127
213 SCHEDPRI set to 127.
-> jparm DIALSTRING 5555555555
213 DIALSTRING set to "5555555555".
-> jparm NOTIFYADDR dkn@DUART
213 NOTIFYADDR set to "dkn@DUART".
-> jparm VRES 98
213 VRES set to 98.
-> jparm PAGEWIDTH 209
213 PAGEWIDTH set to 209.
-> jparm PAGELENGTH 296
213 PAGELENGTH set to 296.
-> jparm NOTIFY done
213 NOTIFY set to "done".
-> jparm PAGECHOP default
213 PAGECHOP set to "default".
-> jparm CHOPTHRESHOLD 3
213 CHOPTHRESHOLD set to 3.
-> jparm DOCUMENT /tmp/doc33.ps
200 Added document /tmp/doc33.ps as docq/doc33.ps.41.
-> jsubm
200 Job 41 submitted.
-> quit
221 Goodbye.

____________________ 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@hylafax.org < /dev/null



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