DTWAIN_EnumTwainPrinters
The DTWAIN_EnumTwainPrinters function gets all of the imprinter/endorser types supported by a Source.
DTWAIN_BOOL DTWAIN_EnumTwainPrinters (
Parameters Source An open TWAIN Source.
lpPrinters Address of a DTWAIN_ARRAY that will store the imprinter/endorser types.
Return Values The return value is TRUE if successful. Otherwise FALSE is returned.
Comments The DTWAIN_EnumTwainPrinters function gets all of the supported imprinter/endorser printers of the Source Source. The aPrinters is the address of a DTWAIN_ARRAY that will store the printers that are available (see DTWAIN Imprinter/Endorser Values for a list of available printers). These values are dependent solely on the support that the Source provides. If the device does not support an imprinter or endorser, the value at the aPrinters address will be 0. The DTWAIN_ARRAY will be of type DTWAIN_ARRAYLONG.
TWAIN State Transitions The Source must be in State 4 or higher
Prerequisite Function Call(s)
DTWAIN Source Selection Function
See Also |