DTWAIN Functions used for Manual Duplex Scanning

Top  Previous  Next

The DTWAIN_SetManualDuplexMode function turns on or off the manual duplex option.  Note that this option is only available if acquiring images using DTWAIN_AcquireFile or DTWAIN_AcquireFileEx and one of the multi-page file types is specified as the image format type.  The manual duplex mode is not availalble if the DTWAIN_USESOURCEMODE flag is set in the flags parameter of the call to DTWAIN_AcquireFile or DTWAIN_AcquireFileEx.

 

DTWAIN_BOOL DTWAIN_SetManualDuplexMode( DTWAIN_SOURCE Source, LONG Flags, DTWAIN_BOOL bSet );

 

The Flags parameter determines the type of feeder that will be used.  The available types are as follows:

 

Feeder Type

Description

DTWAIN_MANDUP_FACEUPTOPPAGE    

Page 1 is placed face up, feeder feeds from the top page of the stack.

DTWAIN_MANDUP_FACEUPBOTTOMPAGE

Page 1 is placed face up, feeder feeds from the bottom page of the stack.

DTWAIN_MANDUP_FACEDOWNTOPPAGE

Page 1 is placed face down, feeder feeds from top of the stack.

DTWAIN_MANDUP_FACEDOWNBOTTOMPAGE

Page 1 is placed face down, feeder feeds from bottom of the stack.

 

The bSet parameter determines whether the manual duplex mode is turned on or off.  If bSet is TRUE, then the manual duplex mode is turned on.  If bSet is FALSE, the manual duplex mode is turned off, and the Flags parameter is ignored.