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++:
|
Initializes the fax driver |
|
|
Connects the port to the fax hardware |
|
|
Creates a FAX object |
|
|
Sets the header string for the outgoing faxes |
|
|
Sets the new page of the given fax |
|
|
-OR- |
Send the fax through the given port immediately
Put the fax on the send queue |
|
Closes the port |
|
|
Deletes the specified fax object |
|
|
Removes the driver |