How to Send a Fax

Sending a fax with Fax C++ can be accomplished by calling a short series of functions.  The sequence below demonstrates how to perform basic faxing functionality using the Fax C++:

 

SetupFaxDriver

Initializes the fax driver

ConnectPortExt

Connects the port to the fax hardware

CreateSendFax

Creates a FAX object

SetFaxHeader

Sets the header string for the outgoing faxes

SetFaxImagePage

Sets the new page of the given fax

SendFaxNow

-OR-

PutFaxOnQueue

Send the fax through the given port immediately

 

Put the fax on the send queue

DisconnectPort

Closes the port

ClearFaxObj

Deletes the specified fax object

EndOfFaxDriver

Removes the driver