DTWAIN_EnablePrinter

Top  Previous  Next

The DTWAIN_EnablePrinter function turns on or off the current Imprinter or Endorser

 

DTWAIN_BOOL DTWAIN_EnablePrinter (

DTWAIN_SOURCE

Source,

DTWAIN_BOOL

bEnable );

 

Parameters

Source

An open TWAIN Source.

 

bEnable

Determines whether to turn on or off the imprinter/endorser

 

Return Values

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

 

Comments

The DTWAIN_EnablePrinter function turns on or off the current Imprinter or Endorser.  If bEnable is TRUE, the imprinter/endorser is turned on, else it is turned off.  To set the current imprinter/endorser use DTWAIN_SetPrinter

 

TWAIN State Transitions

The Source must be in State 4 or higher

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

DTWAIN Source Selection Function

DTWAIN_OpenSource

 

See Also

Imprinter / Endorser Support