(Page 1 of 1 in this chapter)


Chapter 5

Function Summary


5.1 Introduction
5.2 Working with Document Queues
5.3 Transmitting and Receiving Documents
5.4 Managing Image Format Conversion
5.5 Managing Pages and Document Contents
5.6 Monitoring Status
5.7 Managing Fax Licenses

5.1 Introduction

This chapter summarizes the NaturalFax functions, organized by task. A NaturalFax fax application can accomplish the following tasks:

5.2 Working with Document Queues

The following functions control NaturalFax document queues:

Function

S / A*

Description

nfxCreateQueue

S

Creates a queue for either sending or receiving documents.

nfxEnqueueDoc

S

Adds a document to a document queue.

nfxDestroyQueue

S

Deletes the specified document queue.

nfxResetQueue

S

Resets all documents in a queue to unsent.

*Synchronous or Asynchronous

5.3 Transmitting and Receiving Documents

The following functions control fax operations:

Function

S / A*

Description

nfxSendFax

A

Starts negotiating with the remote fax receiver and subsequently sends all the documents in the send queue.

nfxReceiveFax

A

Starts negotiating as the called fax terminal and then places all received documents into the receive queue.

nfxAnswerFaxPoll

A

Provides a queue of documents to send in response to a poll request from the remote sending fax terminal.

nfxStopSession

A

Stops a fax send or receive operation in progress.

*Synchronous or Asynchronous

5.4 Managing Image Format Conversion

The following functions verify or convert the image formats of document files:

Function

S / A*

Description

nfxCheckTIFF

S

Verifies that the specified file is in TIFF-F format.

nfxConvertFileDirect

S

Performs file format conversion.

*Synchronous or Asynchronous

5.5 Managing Pages and Document Contents

The following functions move pages of a document from one file to another:

Function

S / A*

Description

nfxMergeFile

S

Combines multiple TIFF-F files into a single TIFF-F file.

nfxSplitFile

S

Splits a single TIFF-F file into a specified number of
TIFF-F files.


 *Synchronous or Asynchronous

5.6 Monitoring Status

The following functions retrieve NaturalFax status information:

Function

S /A*

Description

nfxGetSessionStatus

S

Returns status information during a fax send or receive operation.

nfxGetDocStatus

S

Returns status of a document in the specified queue.

*Synchronous or Asynchronous

5.7 Managing Fax Licenses

The following functions control explicit allocation of fax license units:

Function

S / A*

Description

nfxGetLicense

S

Reserves a fax license unit for a fax session.

nfxReleaseLicense

S

Releases a fax license unit explicitly reserved for a fax session.

nfxGetLicenseStatus

S

Gets the total and active authorized fax license units.


 *Synchronous or Asynchronous

Note: NaturalFax automatically allocates fax license units when needed if the application does not explicitly allocate them. Fax license units that were automatically allocated will be automatically released at the end of a fax session. Fax license units that have been explicitly allocated will not be automatically released at the end of a fax session. Any fax license units that have been explicitly allocated by a function call must be explicitly released by the corresponding function call.


(Page 1 of 1 in this chapter)


tech_support@nmss.com
Copyright © 1998, Natural MicroSystems, Inc. All rights reserved.