EasyManua.ls Logo

Kodak Ngenuity 9090DB - Dg_Control; Dat_Userinterface; Dg_Control; Dat_Event; Dg_Image; Dat_Imageinfo; Dg_Image; Dat_Imagememxfer

Kodak Ngenuity 9090DB
99 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Ngenuity TWAIN Data Source November 19, 2009
Page 21 of 99
3.4.7 DG_CONTROL / DAT_USERINTERFACE
Supported Messages: MSG_ENABLEDS (state 4), MSG_DISABLEDS (state 5),
MSG_ENABLEDSUIONLY (*new 1.7) (state 4)
In response to a MSG_ENABLEDS, if the value of ShowUI is set to TRUE, the “Setup and Scan”
dialog shall be displayed. Should the value of ShowUI be set to FALSE, then the TDS will move to
state 5 and issue a DG_CONTROL/DAT_NULL/MSG_XFERREADY.
In response to a MSG_ENABLEDSUIONLY, (the value of ShowUI is ignored since UI is always
visible), the “Setup and Save” dialog shall be displayed.
(In both cases, the TW_USERINTERFACE structure value ModalUI shall be set to FALSE, the
hParent will be used as the parent window for the dialog)
In response to MSG_DISABLEDS, the TDS will close the currently displayed dialog and move to
state 4.
3.4.8 DG_CONTROL / DAT_EVENT
Supported Messages: MSG_PROCESSEVENT (state 5-7)
The TDS shall check the event with the built in user interface to determine if the message belongs to
it. Should the message belong to it then the response shall be TWRC_DSEVENT. If the message
does not, then the response shall be TWRC_NOTDSEVENT.
3.4.9 DG_IMAGE / DAT_IMAGEINFO
Supported Messages: MSG_GET (state 6 & 7(after XFERDONE))
If called during state 6, the TW_IMAGEINFO structure will be filled out with the image parameters
for the Pending Image.
If called during state 7 (after TWRC_XFERDONE) after an image has just finished being
transferred, the TW_IMAGEINFO structure shall be filled out with the actual known values of the
scanned image. Useful to do if ICAP_UNDEFINEDIMAGESIZE is negotiated so automatic
border detection is used.
If the Capability ICAP_UNDEFINEDIMAGESIZE has been negotiated, then the response will
have the Width and Height set to –1.
3.4.10 DG_IMAGE / DAT_IMAGEMEMXFER
Supported Messages: MSG_GET (6 & 7)
If called during State 6, the TDS shall move to state 7 and acquire a buffer.
If called during State 7, the TDS shall acquire a buffer (no state transition)
If the transfer is compressed, then the TW_IMAGEMEMXFER structure shall be filled out as
follows:
Compression = current compression mode
BytesPerRow = -1

Table of Contents

Other manuals for Kodak Ngenuity 9090DB

Related product manuals