Previous PageTable Of Contents../index.htmlIndexNext Page

fx_sendraw( )

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

Name:

int fx_sendraw(faxname, width, resln, phdcont)

Inputs:

char * faxname

name of raw file to send

unsigned short width

carriage width to send the data

unsigned char resln

vertical resolution to send data

unsigned char 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_sendraw( ) function allows an application to send a single page of raw fax data, unformatted MH Group 3 data at the width and resolution specified by the function parameters.

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

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

 

Parameter

Description

faxname

Specifies the name of the raw file to send.

width

Specifies the carriage width. Valid values:

DF_WID1728

1728 pixels per line

DF_WID2048

2048 pixels per line

DF_WID2432

2432 pixels per line

resln

Specifies the vertical data resolution. Valid values:

DF_RESHI

High (fine) resolution (196 lpi)

DF_RESLO

Low (coarse) resolution (98 lpi)

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_sendraw( )

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