The link below brings up a site for MSDN and has information for "Managing
Fax Jobs".

http://msdn2.microsoft.com/en-gb/library/ms691821.aspx

This has a section called "Querying Fax Jobs", which should have all the
information needed to get the status of a fax job. I am using the sample
code for sending a Fax which was found in the link below:

http://fox.wikis.com/wc.dll?Wiki~TapiFaxAutomation~VFP

There is no problem sending the Fax, but I can't seem to get the status,
which should be available, as indicated in the MSDN site above. Perhaps
someone who is more familiar with C++ or VisualBasic can figure out how to
integrate the code in a VFP implementation. The goal is to get the status
of the fax being sent. I would appreciate any help I could get toward
achieving the goal.

Thanks,

E. Myron

Re: FAX job status. by Man-wai

Man-wai
Tue Jan 23 07:36:08 CST 2007

Elliott Myron wrote:
> The link below brings up a site for MSDN and has information for "Managing
> Fax Jobs".

YOu may be better off using Hylafax on a linux server.... :)

--
.~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 6.10) Linux 2.6.19.2
^ ^ 21:35:01 up 12 days 47 min 0 users load average: 1.00 1.00 1.00
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk

Re: FAX job status. by Man-wai

Man-wai
Tue Jan 23 07:40:30 CST 2007

Man-wai Chang wrote:
> Elliott Myron wrote:
>> The link below brings up a site for MSDN and has information for "Managing
>> Fax Jobs".
>
> YOu may be better off using Hylafax on a linux server.... :)
>

At last, sorry, least, you don't lose a cent/dollar..

--
.~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 6.10) Linux 2.6.19.2
^ ^ 21:40:01 up 12 days 52 min 0 users load average: 1.00 1.00 1.00
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk

Re: FAX job status. by Dan

Dan
Tue Jan 23 10:49:33 CST 2007

The explanation seems straight-forward to me. What have you tried? What
didn't work?

Dan

"Elliott Myron" <myron123(at)adelphia(dot)net> wrote in message
news:x4udndv8qIErzyjYnZ2dnUVZ_silnZ2d@adelphia.com...
> The link below brings up a site for MSDN and has information for "Managing
> Fax Jobs".
>
> http://msdn2.microsoft.com/en-gb/library/ms691821.aspx
>
> This has a section called "Querying Fax Jobs", which should have all the
> information needed to get the status of a fax job. I am using the sample
> code for sending a Fax which was found in the link below:
>
> http://fox.wikis.com/wc.dll?Wiki~TapiFaxAutomation~VFP
>
> There is no problem sending the Fax, but I can't seem to get the status,
> which should be available, as indicated in the MSDN site above. Perhaps
> someone who is more familiar with C++ or VisualBasic can figure out how to
> integrate the code in a VFP implementation. The goal is to get the status
> of the fax being sent. I would appreciate any help I could get toward
> achieving the goal.
>
> Thanks,
>
> E. Myron
>



Re: FAX job status. (answer to Dan Freeman) by Elliott

Elliott
Tue Jan 23 13:33:35 CST 2007

Dan, I obviously don't know how to implement the code in VFP. You will find
some code I tried below. Following that, you will find a clip of the
reference material I used for getting the "devicestatus".

--------------------------------

*My code:

c=createobject('faxserver.faxserver')

*some other code goes here...

*after sending fax,

fj=x.getjobs()

fp=x.getports()

?fp.item(1).deviceStatus

*I also tried

?fj.deviceStatus

*Both tries indicated errors about devicestatus.

--------------------------------

Reference material:

Here is the explanation from the documentation which you said looked very
straight forward:

IFaxJob::DeviceStatus Property

The IFaxJob::DeviceStatus property is a null-terminated string that
describes the status of the port associated with the fax job.

Syntax

HRESULT IFaxJob::get_DeviceStatus(BSTR *pVal);

Parameters

pVal

Pointer to a variable of type BSTR that receives a localized null-terminated
string that contains a fax device status. Following are the English string
equivalents.

etc. etc.

----------------------------------

"Dan Freeman" <spam@microsoft.com> wrote in message
news:uRQo15wPHHA.3668@TK2MSFTNGP02.phx.gbl...

> The explanation seems straight-forward to me. What have you tried? What
> didn't work?
>
> Dan
>
> "Elliott Myron" <myron123(at)adelphia(dot)net> wrote in message
> news:x4udndv8qIErzyjYnZ2dnUVZ_silnZ2d@adelphia.com...
>> The link below brings up a site for MSDN and has information for
>> "Managing Fax Jobs".
>>
>> http://msdn2.microsoft.com/en-gb/library/ms691821.aspx
>>
>> This has a section called "Querying Fax Jobs", which should have all
>> the information needed to get the status of a fax job. I am using the
>> sample code for sending a Fax which was found in the link below:
>>
>> http://fox.wikis.com/wc.dll?Wiki~TapiFaxAutomation~VFP
>>
>> There is no problem sending the Fax, but I can't seem to get the status,
>> which should be available, as indicated in the MSDN site above. Perhaps
>> someone who is more familiar with C++ or VisualBasic can figure out how
>> to integrate the code in a VFP implementation. The goal is to get the
>> status of the fax being sent. I would appreciate any help I could get
>> toward achieving the goal.
>>
>> Thanks,
>>
>> E. Myron
>>
>
>