fax send from windows

Chris Kelleher

Administrator
Staff member
Hi,

Can somebody please help me with the following:

I am looking for an OCX or API call which I can use to send a fax from Win
NT or Windows 9x using a personal fax (or fax compatible modem) or a network
enabled fax.

For now, I only need to send text-based faxes and there is no need for
receiving them.
(As we do this with our normal fax).

Thanks in advance.

Mark de Lange.

ps. You can mail me using mla@profacto.nl or mdelange@sterpolis.nl
 

Chris Kelleher

Administrator
Staff member
Oh I'm sorry so sorry I can't be more sorry.

Actually it's not Alcom LanFax. It should have been GFi FaxMaker http://www.gfifax.com.

Although LanFax also has client API but it uses .DLL calls (which I hate).
It is probably more powerful than GFi FaxMaker but it certainly is not so
simple.

After installation you'll have client subdir in installation directory.
Install the client for your OS and you should get COM object
"fmfaxapi.application".

Here is the example to send fax from Progress/Webspeed:

<BLOCKQUOTE><font size="1" face="Arial, Verdana">code:</font><HR><pre>
/* BOF */

DEFINE VARIABLE hFaxMaker AS COMPONENT-HANDLE NO-UNDO.

CREATE "fmfaxapi.application":U hFaxMaker.

hFaxMaker:Reset( NO /* Don't keep attachments */ ).

hFaxMaker:AddRecipient( "First name",
"Last name",
"Company",
"Department",
"485-4947", /* Fax number */
"Voice number",
"E-mail" ).

hFaxMaker:SetBodyText( "This is some text" ).

hFaxMaker:SendFax().

RELEASE OBJECT hFaxMaker NO-ERROR.

/* EOF */
[/code]

Check the documentation for all properties/methods.

I aplogize once more for this stupid mistake.
 

Chris Kelleher

Administrator
Staff member
Mark:

You can try VSI Fax. I used it with Progress on Windows and it works pretty
well with simple "dos silent" command line option to send text file that can
be generated on the fly from Progress Windows client.

Gary Yang
BSG, An RCM Technologies Company
 
Top