Retries left

  • Thread starter Thread starter Torben Frandsen
  • Start date Start date
T

Torben Frandsen

In the legacy API I'm trying to find a way to notify the user if the job
failed permanently or if it's queued for retry. Obviously this isn't easily
accomplished since both DeviceStatus and QueueStatus are set to Unknown in
both cases.

Has anyone tried to create a workaround for this limitation?

One thing I tried was to create a field called RetriesLeft and initially set
it to Server.Retries. Then I would decrement it whenever the two statuses
changed to Unknown. Bad idea. Even when the job is queued for retry, the
statuses cycle between Available, Pending, InProgress and Unknown.

Any ideas for a solution are welcomed. Unfortunately we can't switch to the
new API at this point.

Torben
 
Using Fax COM API it is not possible. You can try using FaxGetJob (look at
MSDN for documentation) & use FAX_JOB_ENTRY.QueueStatus which will be
JS_RETRIES_EXCEEDED for a retries exceeded job.

Let us know if that doesn't work.

--
Raghavendra R
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
 
Is it possible to find out (programatically, client API) the exact number of
retries executed / left at some point for a fax job?
The fax console can display the retry number for a job, but I couldn't find
a way to do it from code.
Thanks,
Mihai
 
Back
Top