DTWAIN_GetPrinterStartNumberEx

Top  Previous  Next

The DTWAIN_GetPrinterStartNumberEx function sets the current Imprinter/Endorser starting page number

 

LONG DTWAIN_GetPrinterStartNumberEx ( DTWAIN_SOURCE Source );


Parameters

Source

An open TWAIN Source.

 

Return Values

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

 

Comments

The DTWAIN_GetPrinterStartNumberEx function performs the same functionality as DTWAIN_GetPrinterStartNumber, with the difference being that the start number 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