DTWAIN Notifications and Manual Duplex Scanning

Top  Previous  Next

When using the Manual Duplex Scanning mode, it may be desirable for your application to detect whether side 1 or side 2 of a set of pages will be acquired or when side 1 or side 2 has been successfully acquired.

 

DTWAIN will send the following notifications to your application:

 

 

Notification

Definition

DTWAIN_TN_MANDUPSIDE1START

Side 1 will be acquired.

DTWAIN_TN_MANDUPSIDE2START

Side 2 will be acquired.

DTWAIN_TN_MANDUPSIDE1DONE

Finished acquiring Side 1.

DTWAIN_TN_MANDUPSIDE2DONE

Finished acquiring Side 2.

 

For example, if you want to prompt the user to "Insert the pages for Side 1", you should trap the DTWAIN_TN_MANUPSIDE1START notification and display the prompt while processing the notification.  Similarly, for side 2, you may want to prompt "Insert the pages for Side 2" or "please turn pages over", or something similar to this.  For this case, you trap the DTWAIN_TN_MANDUPSIDE2START notification.