DTWAIN_IsPrinterEnabled

Top  Previous  Next

The DTWAIN_IsPrinterEnabled function checks if the imprinter or endorser has been enabled.

 

DTWAIN_BOOL DTWAIN_IsPrinterEnabled (

DTWAIN_SOURCE

Source,

DTWAIN_LONG

Printer );

 

Parameters

Source

Specifies an open TWAIN Source.

 

Printer

Specifies the imprinter/endorser type to test, or DTWAIN_ANYSUPPORT

 

Return Values

If the printer has been enabled, TRUE is returned.  Otherwise FALSE is returned.

 

Comments

The DTWAIN_IsPrinterEnabled function takes the open Source Source, and checks to see if the imprinter or endorser Printer has been enabled.  The Printer value can be any one of the Imprinter / Endorser constants.  If Printer is DTWAIN_ANYSUPPORT, DTWAIN_IsPrinterEnabled returns whether any printer has been enabled.

 

TWAIN State Transitions

The source must be opened in State 4

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

DTWAIN Source Selection Function

 

 

See Also

Imprinter / Endorser Support