HylaFAX The world's most advanced open source fax server

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

Re: problems



Hi David, I am going nuts with hylafax:

I cannot get any other thing than totpages =0  in a qfile :


star:


star:/var/spool/fax # gs doc.ps                   ------> visu OK
star:/var/spool/fax # ./bin/ps2fax doc.ps
%%[ Page: 1 ]%%
%%[ LastPage ]%%
star:/var/spool/fax # display ps.fax         -----> visu OK

star:/var/spool/fax # sendfax -d 99690177 -n ps.fax
request id is 6 (group id 6) for host localhost (1 file)

star:/var/spool/fax # more sendq/q6
tts:936139071
killtime:936149811
retrytime:0
state:5
npages:0
totpages:0
ntries:0
ndials:0
totdials:0
maxdials:12
tottries:0
maxtries:3
pagewidth:209
resolution:98
pagelength:296
priority:127
schedpri:127
minsp:0
desiredbr:5
desiredst:0
desiredec:1
desireddf:3
desiredtl:0
useccover:1
external:99690177
number:99690177
mailaddr:root@star.sesinc.com
sender:root
jobid:6
jobtag:
pagehandling:
modem:any
receiver:
company:
location:
cover:
client:localhost
owner:root
groupid:6
signalrate:
dataformat:
jobtype:facsimile
tagline:
subaddr:
passwd:
doneop:default
commid:
status:
notify:none
pagechop:default
chopthreshold:3
postscript:0::docq/doc6.cover
tiff:0::docq/doc4.tif.6
----------------------- end


# /usr/lib/fax/faxsend -m modem -c sessiontracing:0x4f  sendq/q6

star:/var/spool/fax/log # cat c00000006
Aug 31 15:42:26.04: [ 1802]: SESSION BEGIN 00000006 99690177
Aug 31 15:42:26.04: [ 1802]: SEND FAX: JOB 6 DEST 99690177 COMMID 00000006
Aug 31 15:42:26.04: [ 1802]: MODEM set DTR OFF
Aug 31 15:42:26.04: [ 1802]: DELAY 2600 ms
Aug 31 15:42:28.64: [ 1802]: MODEM set DTR ON
Aug 31 15:42:28.64: [ 1802]: MODEM set baud rate: 19200 baud, input flow
NONE, output flow NONE
Aug 31 15:42:28.64: [ 1802]: MODEM flush i/o
Aug 31 15:42:28.64: [ 1802]: <-- [15:ATE0V1Q0S0=0H0\r]
Aug 31 15:42:28.90: [ 1802]: --> [2:OK]
Aug 31 15:42:28.90: [ 1802]: <-- [12:ATS8=2S7=60\r]
Aug 31 15:42:29.05: [ 1802]: --> [2:OK]
Aug 31 15:42:29.05: [ 1802]: <-- [12:AT+FCLASS=2\r]
Aug 31 15:42:29.20: [ 1802]: --> [2:OK]
Aug 31 15:42:29.20: [ 1802]: <-- [10:AT+FTBC=0\r]
Aug 31 15:42:29.35: [ 1802]: --> [2:OK]
Aug 31 15:42:29.35: [ 1802]: <-- [10:AT+FBOR=0\r]
Aug 31 15:42:29.50: [ 1802]: --> [2:OK]
Aug 31 15:42:29.50: [ 1802]: <-- [13:AT+FPHCTO=30\r]
Aug 31 15:42:29.65: [ 1802]: --> [2:OK]
Aug 31 15:42:29.65: [ 1802]: <-- [10:AT+FBUG=1\r]
Aug 31 15:42:29.81: [ 1802]: --> [5:ERROR]
Aug 31 15:42:29.81: [ 1802]: MODEM Command error
Aug 31 15:42:31.39: [ 1802]: <-- [24:AT+FDCC=1,5,2,2,1,0,0,0\r]
Aug 31 15:42:31.65: [ 1802]: --> [2:OK]
Aug 31 15:42:31.65: [ 1802]: <-- [11:AT+FLID=""\r]
Aug 31 15:42:31.90: [ 1802]: --> [2:OK]
Aug 31 15:42:31.90: [ 1802]: DIAL 99690177
Aug 31 15:42:31.90: [ 1802]: <-- [13:ATDT99690177\r]
Aug 31 15:42:57.09: [ 1802]: --> [5:+FCON]
Aug 31 15:42:58.36: [ 1802]: --> [29:+FCSI: "        650 969 0177"]
Aug 31 15:42:58.36: [ 1802]: REMOTE CSI "650 969 0177"
Aug 31 15:42:58.86: [ 1802]: --> [22:+FDIS: 1,3,0,2,0,0,0,0]
Aug 31 15:42:58.97: [ 1802]: --> [2:OK]
Aug 31 15:42:58.97: [ 1802]: REMOTE best rate 9600 bit/s
Aug 31 15:42:58.97: [ 1802]: REMOTE max page width 1728 pixels in 215 mm
Aug 31 15:42:58.97: [ 1802]: REMOTE max unlimited page length
Aug 31 15:42:58.97: [ 1802]: REMOTE best vres 7.7 line/mm
Aug 31 15:42:58.97: [ 1802]: REMOTE best format 1-D MR
Aug 31 15:42:58.97: [ 1802]: REMOTE best 0 ms/scanline
Aug 31 15:42:58.97: [ 1802]: USE 9600 bit/s
Aug 31 15:42:58.97: [ 1802]: USE 0 ms/scanline
Aug 31 15:42:58.97: [ 1802]: <-- [5:ATH0\r]
Aug 31 15:42:59.37: [ 1802]: --> [2:OK]
Aug 31 15:42:59.37: [ 1802]: MODEM set DTR OFF
Aug 31 15:42:59.37: [ 1802]: SESSION END


the fax is connecting, and then resets himself,....

any clue ??

David Woolley wrote:

> > > Looks to me as though there was an empty document.
> > There is a document and it is not empty.
>
> > totpages:0
>               totpages        integer    total pages to transmit
>
> No there isn't.  My guess is that hylafax has an incorrect ghostscript
> configuration, or ghostscript is timing out, and you have omitted the
> relevant error messages.
>
> Is your postscript file proper postscript, or does it have a PCL/PJL
> command in front, to put the printer into postscript mode;  ghostscript
> will skip this, but hylafax will not.

--
Franck Diard, Ph.D.                Senior Sofware Engineer
Software Engineering Solutions, Inc.
950 N. Rengstorff Avenue, Suite F  Mountain View, CA 94043
Tel: 650-969-0141                        Fax: 650-969-0177
http://www.sesinc.com                    franck@sesinc.com





Project hosted by iFAX Solutions