HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] force a job-failed-state when no pages to send





> On Thu, 14 Nov 2002 09:51:29 +0100, "Simon Raspe" <raspe@meteocon.nl> wrote:
> 
> >Does anybody know how I can get a job to fail when there are no 
> >pages to send.
> >Currently when a document conversion fails and hence there is no 
> >page to send, the job still will resume as if nothing is wrong. The 
> >modem is dialing, sending zero pages and the job is completed 
> >succesfully!?
> When I submit a job that cannot be converted I get the job in the done queue
> with 0 pages and it's not sent.
> Can you describe in more detail which kind of files you use, the command
> used to submit them, the errors you see, the output of "faxstat -dl" after
> the job is sent.
> 
I'm trying to send a windows executable file with Cypheus (just to 
make sure conversion fails). After I hit the send fax button Cypheus 
says "cannot create file". When I hit the OK button Cypheus tells 
me it has send fax number 159 to HylaFAX. My test faxmachine 
then rings and accepts the call and immediately hangs up.

output of faxstat -dl:
HylaFAX scheduler on faxserver.intern.meteocon.nl: Running
Modem ttyD000 (423164): Running and idle
Modem ttyD001 (423164): Running and idle

JID  Pri S  Owner Number       Pages Dials     TTS Status
157  127 D  raspe 420697        1:1   1:3          
158  127 D  raspe 420697        0:0   1:3          
159  127 D  raspe 420697        0:0   1:3 

the que file (q159) is then moved to the doneq dir.
Its contents are:

tts:1037359939
killtime:1037363501
retrytime:0
state:7
npages:0
totpages:0
ntries:0
ndials:0
totdials:1
maxdials:3
tottries:1
maxtries:3
pagewidth:21
resolution:196
pagelength:297
priority:127
schedpri:127
minsp:0
desiredbr:5
desiredst:0
desiredec:1
desireddf:3
desiredtl:0
useccover:1
external:420697
number:420697
mailaddr:s.raspe@weer.nl
sender:raspe
jobid:159
jobtag:
pagehandling:
modem:any
receiver:
company:
location:
cover:
client:simon2.intern.meteocon.nl
owner:raspe
groupid:159
signalrate:14400 bit/s
dataformat:2-D MMR
jobtype:facsimile
tagline:
subaddr:
passwd:
doneop:default
commid:00000185
status:
notify:when done+requeued
pagechop:default
chopthreshold:3
data:0::docq/doc28.ps.159

This document has a filesize of 0 blocks.

> -- 
> giulioo@pobox.com
> 
> ____________________ 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
>   *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*
> 



____________________ 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
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions