Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: [hylafax-users] Post Send Information
Quoting Bodo Noering <bn@urania.com>:
> You might send "JPARM" command to HylaFAX and check the answer:
>
> - Is there a line "SENDTIME:" and does it contain a date/time
> - Is there a line "TOTPAGES:" and does it contain a value > 0
> - Is there a line "COMMID:" and does it contain any text after the
> colon
> - Is there a line "STATUS:" and isn't there any text after the colon
>
> If any of this is false, then the fax failed.
>
> You should check using "JPARM STATE" if HylaFAX answers with "D"
> (=done), before using "JPARM", otherwise the job is not completed.
If using a recent enough version of HylaFAX, you can only look at JPARM
STATE. DONE = completed successfully, FAILED = not completed successfully
and no more attempts will be tried. Isn't this easier? :) This appeared in
4.1.1 with a small bug fix in 4.1.2 if I remember correctly.
--
Patrice Fournier
pfournier@loups.net
____________________ 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