Job Control Notification Codes

Top  Previous  Next

When acquiring multiple pages, it may be advantageous to determine if the page that has been acquired is the end-of-job page.  To determine if the page that has been acquired is the end-of-job page, the following notifications are used:

 

DTWAIN_TN_EOJDETECTED_XFERDONE

DTWAIN_TN_EOJDETECTED

 

DTWAIN_TN_EOJDETECTED_XFERDONE is sent right after the page has been acquired, and before DTWAIN processes the image.

The DTWAIN_TN_EOJDETECTED is sent after DTWAIN has processed the page (after the page has been saved to an image file when DTWAIN_AcquireFile or DTWAIN_AcquireFileEx is used).