DTWAIN_GetPrinterStrings

Top  Previous  Next

The DTWAIN_GetPrinterStrings function returns the current imprinter/endorser strings.

 

DTWAIN_BOOL DTWAIN_GetPrinterStrings (

DTWAIN_SOURCE

Source,

LPDTWAIN_ARRAY

lpStringArray );

 

Parameters

Source

An open TWAIN Source.

 

lpStringArray

Address of DTWAIN_ARRAY with the returned strings

 

 

Return Values

The return value is TRUE if successful.  Otherwise FALSE is returned.

 

Comments

The DTWAIN_GetPrinterStrings function gets the current imprinter/endorser strings for the Source Source.  On return, the strings are stored in the DTWAIN_ARRAY pointed to by the address lpStringArray.  The DTWAIN_ARRAY elements on return will be of type DTWAIN_STRING.

 

If the string mode is multi-string, the number of elements in the DTWAIN_ARRAY that will be returned is usually greater than 1.

 

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