DTWAIN_GetPrinterStringModeEx

Top  Previous  Next

The DTWAIN_GetPrinterStringModeEx function gets the current Imprinter/Endorser string mode (Single, Multi, or Compound Strings).

 

LONG DTWAIN_GetPrinterStringModeEx (

DTWAIN_SOURCE

Source,

DTWAIN_BOOL

bGetCurrent );

 

Parameters

Source

An open TWAIN Source.

 

bGetCurrent

Determines whether to get the current string mode or the default string mode.

 

Return Values

If successsful, the current imprinter string mode is returned.  On failure, -1 is returned  If the function returns -1, call DTWAIN_GetLastError() to get extended information.

 

Comments

The DTWAIN_GetPrinterStringModeEx function performs the same functionality as DTWAIN_GetPrinterStringMode, with the difference being that the string mode is returned as a LONG instead of the user providing a pointer to a LONG as a parameter.

 

TWAIN State Transitions

The Source must be in State 4. or higher

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

DTWAIN Source Selection Function

 

 

See Also

Imprinter / Endorser Support