Ngenuity TWAIN Data Source November 19, 2009
Page 20 of 99
During MSG_RESET operation, the current settings for Frame, DocumentNumber, PageNumber,
and FrameNumber shall all be reset to the same values returned in MSG_GETDEFAULT.
*Note: future revision may read counters from scanner directly
See also, ICAP_FRAMES and ICAP_SUPPORTEDSIZES
3.4.5 DG_CONTROL / DAT_SETUPMEMXFER
Supported Messages: MSG_GET (state 4-6)
The contents of the TW_SETUPMEMXFER structure shall be filled out as follows:
MinBufSize = 64 * 1024
MaxBufSize = 1024 * 1024
Preferred = 64 * 1024
The Max buffer size will be read from the “Return Scanner Configuration” command.
3.4.6 DG_CONTROL / DAT_CAPABILITY
Supported Messages: MSG_GET (state 4-7), MSG_GETCURRENT (state 4-7),
MSG_GETDEFAULT (state 4-7), MSG_SET (state 4 *with exceptions), MSG_RESET (state 4,
*with exceptions), MSG_RESETALL (state 4, *with exceptions), MSG_QUERYSUPPORT (state 4-
7)
General Capability operation will be as follows:
The response to a MSG_GET operation shall be to provide all the supported values of the requested
capability. If constraints have been imposed by the application then the constrained values shall be
reported. If a multivalue container is not allowed for this capability, then the response shall be the
“Current” value.
The response to a MSG_GETCURRENT operation shall be to provide the current state or value of
the requested capability in a TW_ONEVALUE container. Should a TW_ONEVALUE container
not be allowed for this operation, then the response will be the same as MSG_GET.
The response to a MSG_GETDEFAULT operation shall be to provide the Default State or value of
the requested capability in a TW_ONEVALUE container. Should a TW_ONEVALUE container
not be allowed for this operation, then the response will be the same as MSG_GET.
The response to a MSG_SET, if a TW_ONEVALUE is used, shall be to adopt the requested setting
as current for the requested capability. If a TW_ENUMERATION, TW_RANGE, or TW_ARRAY
container is used, then the TDS shall accept the requested set of constraints. (Assuming these
containers are allowed for this particular capability)
The response to a MSG_RESET shall be to reset the current values and all constraints applied to the
requested capability to the state or value reported by MSG_GETDEFAULT.
The response to a MSG_RESETALL shall be to reset all scanner settings to their default and remove
all constraints. It can be used with CAP_SUPPORTEDCAPS only.