The DTWAIN_GetJobControl, DTWAIN_SetJobControl, DTWAIN_EnumJobControls, and DTWAIN_IsJobControlSupported use the following constants to define various job control types (these constants are equivalent to the official TWAIN 1.8 constants):
Job Contol Type
|
Definition
|
Value
|
|
|
|
DTWAIN_JC_NONE
|
No Job Control
|
0
|
DTWAIN_JC_JSIC
|
Include job separator page, continue scanning
|
1
|
DTWAIN_JC_JSIS
|
Include job separator page, stop scanning
|
2
|
DTWAIN_JC_JSXC
|
Exclude job separator page, continue scanning
|
3
|
DTWAIN_JC_JSXS
|
Exclude job separator page, stop scanning
|
4
|
|