Using MSFax from other software

  • Thread starter Thread starter Charles Freeman
  • Start date Start date
C

Charles Freeman

I'm a programmer writing a new Windows program to replace the function of an
old DOS program. The DOS program was a fax server. It was handed a document
and a telephone number, and it faxed the document to the phone number.

In Windows, it's easy to hand the document to MSFax, of course: Just print
it. However, I need to have a totally unattended way to hand the phone
number plus the document to a tool, hopefully MSFax, and have it go from
there.

I can easily shell a program using command line options, or call hooks in
other DLL's from within my code. I was hoping that MSFax would have quick
and dirty hooks to do this.

Anyone know where I would learn about this? Searching the M$ web site leads
to zillions of documents that have nothing to do with what I need.

Many thanks for any hints,

Charlie
 
Please have a look at the MSDN documentation for fax APIs:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/faxabout_18s3.asp

Depending on Windows OS you are using, you can use Fax Service Extended COM
API or Fax Service Client API for programmatically sending fax.

--
Arindam Basak
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.
 
Ref :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/faxusing_4yxz.asp

It is best to write a simple VB or C/C++ program to do this. The above
mentioned link contains a simple code to send fax. You can check in the same
section, some VB code as well.

--
R. Sridharan [MSFT]
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.'
 
Ref :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/faxusing_4yxz.asp

It is best to write a simple VB or C/C++ program to do this. The above
mentioned link contains a simple code to send fax. You can check in the same
section, some VB code as well.


--
R. Sridharan [MSFT]
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.'
 
Back
Top