Previous PageTable Of Contents../index.htmlIndexNext Page

fx_sendtiff( )

Description | Cautions | Example | Source Code | Errors | See Also

Name:

int fx_sendtiff(faxname, firstpg, pgcount, phdcont)

Inputs:

char * faxname

pointer to name of TIFF/F file to send

unsigned long firstpg

first page to send (0 = first page in file)

unsigned long pgcount

number of consecutive pages to send (-1 = send all remaining pages in file)

unsigned short phdcont

Phase D continuation value

Returns:

0 if success

-1 if failure

Includes:

srllib.h

dxxxlib.h

faxlib.h

Category:

send fax

Mode:

synchronous

 

Top Of PageDescription

The fx_sendtiff( ) function allows an application to send pages of a single TIFF/F file at the width and resolution set in the TIFF/F.

This function is a convenience function and is resident in faxconv.c. The fx_sendtiff( ) function calls fx_sendfax( ) as illustrated in the source code for fx_sendtiff( ). For detailed information on Phase D continuation values, status information and file error handling that apply to fx_sendtiff( ), see the fx_sendfax( ) function reference.

See Appendix A for a list of TIFF/F tags and values.

The encoding scheme used in transmitting fax data varies by product; for more information, see Section 2.4. Key Product Features on page . The preferred encoding scheme for transmission is determined by the value set in the FC_TXCODING parameter in fx_setparm( ).

 

Parameter

Description

faxname

Pointer to the name of the TIFF/F file to send.

firstpg

Specifies the document page number of the first page to send.
0 = first document page in file

pgcount

Specifies the number of consecutive pages to send.
-1 = send all remaining pages in the file

phdcont

Specifies the Phase D continuation value.
Valid values:

DFC_EOP

End of Procedure (T.30). Terminate current fax session; progress to Phase E; and disconnect fax call.

DFC_MPS

Multi-Page Signal (T.30).
End of current fax document page; next page is in same format as the current page; proceed directly to Phase C.

DFC_EOM

End of Message (T.30).
End of current fax document page; more fax data to follow at different resolution or width; return to Phase B and negotiate parameters for next fax document page.

Top Of PageCautions

Top Of PageExample

Top Of PageSource Code for fx_sendtiff( )

Top Of PageErrors

See Appendix D for a list of error codes that may be returned for this function.

Top Of PageSee Also


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2002, Intel Corporation
All rights reserved
This page generated February, 2002