1 Requirements to be a TWAIN-Compliant Source
3 TWAIN-compliant Sources must support the following:
6 DG_CONTROL / DAT_CAPABILITY / MSG_GET
7 DG_CONTROL / DAT_CAPABILITY / MSG_GETCURRENT
8 DG_CONTROL / DAT_CAPABILITY / MSG_GETDEFAULT
9 DG_CONTROL / DAT_CAPABILITY / MSG_RESET
10 DG_CONTROL / DAT_CAPABILITY / MSG_SET
11 DG_CONTROL / DAT_EVENT / MSG_PROCESSEVENT
12 DG_CONTROL / DAT_IDENTITY / MSG_GET
13 DG_CONTROL / DAT_IDENTITY / MSG_OPENDS
14 DG_CONTROL / DAT_IDENTITY / MSG_CLOSEDS
15 DG_CONTROL / DAT_PENDINGXFERS / MSG_ENDXFER
16 DG_CONTROL / DAT_PENDINGXFERS / MSG_GET
17 DG_CONTROL / DAT_PENDINGXFERS / MSG_RESET
18 DG_CONTROL / DAT_SETUPMEMXFER / MSG_GET
19 DG_CONTROL / DAT_STATUS / MSG_GET
20 DG_CONTROL / DAT_USERINTERFACE / MSG_DISABLEDS
21 DG_CONTROL / DAT_USERINTERFACE / MSG_ENABLEDS
22 DG_CONTROL / DAT_XFERGROUP / MSG_GET
23 DG_IMAGE / DAT_IMAGEINFO / MSG_GET
24 DG_IMAGE / DAT_IMAGELAYOUT / MSG_GET
25 DG_IMAGE / DAT_IMAGELAYOUT / MSG_GETDEFAULT
26 DG_IMAGE / DAT_IMAGELAYOUT / MSG_RESET
27 DG_IMAGE / DAT_IMAGELAYOUT / MSG_SET
28 DG_IMAGE / DAT_IMAGEMEMXFER / MSG_GET
29 DG_IMAGE / DAT_IMAGENATIVEXFER / MSG_GET
33 Every Source must support all five DG_CONTROL / DAT_CAPABILITY operations on:
35 Every Source must support DG_CONTROL / DAT_CAPABILITY MSG_GET on:
38 Sources that supply image information must support DG_CONTROL / DAT_CAPABILITY /
39 MSG_GET, MSG_GETCURRENT, MSG_GETDEFAULT on:
45 Sources that supply image information must support DG_CONTROL / DAT_CAPABILITY /
46 MSG_GET, MSG_GETCURRENT, MSG_GETDEFAULT, MSG_RESET and MSG_SET on:
54 All Sources must implement the advertised features supported by their devices. They must
55 make these features available to applications via the TWAIN protocol. For example, a Source
56 thats connected to a device that has an ADF must support DG_CONTROL /
57 DAT_CAPABILITY / MSG_GET, MSG_GETCURRENT, MSG_GETDEFAULT on:
60 and DG_CONTROL / DAT_CAPABILITY / MSG_GET, MSG_GETCURRENT,
61 MSG_GETDEFAULT, MSG_RESET and MSG_SET on:
63 If the ADF also supports ejecting and rewinding of pages then the Source should also support
64 DG_CONTROL / DAT_CAPABILITY / MSG_GET, MSG_GETCURRENT,
65 MSG_GETDEFAULT, MSG_RESET and MSG_SET on:
70 *******************************************************************************
72 From Application to Source Manager (Control Information)
74 Data Group Data Argument Type Message
75 DG_CONTROL DAT_IDENTITY MSG_CLOSEDS
81 DG_CONTROL DAT_PARENT MSG_CLOSEDSM
83 DG_CONTROL DAT_STATUS MSG_GET
85 From Application to Source (Control Information)
86 Data Group Data Argument Type Message
87 DG_CONTROL DAT_CAPABILITY MSG_GET
93 DG_CONTROL DAT_CUSTOMDSDATA MSG_GET
95 DG_CONTROL DAT_FILESYSTEM MSG_AUTOMATICCAPTURE
107 DG_CONTROL DAT_EVENT MSG_PROCESSEVENT
108 DG_CONTROL DAT_PASSTHRU MSG_PASSTHRU
109 DG_CONTROL DAT_PENDINGXFERS MSG_ENDXFER
113 DG_CONTROL DAT_SETUPFILEXFER MSG_GET
117 DG_CONTROL DAT_SETUPFILEXFER2 MSG_GET
121 DG_CONTROL DAT_SETUPMEMXFER MSG_GET
122 DG_CONTROL DAT_STATUS MSG_GET
123 DG_CONTROL DAT_USERINTERFACE MSG_DISABLEDS
126 DG_CONTROL DAT_XFERGROUP MSG_GET
129 From Application to Source (Image Information)
130 Data Group Data Argument Type Message
131 DG_IMAGE DAT_CIECOLOR MSG_GET
132 DG_IMAGE DAT_EXTIMAGEINFO MSG_GET
133 DG_IMAGE DAT_GRAYRESPONSE MSG_RESET
135 DG_IMAGE DAT_IMAGEFILEXFER MSG_GET
136 DG_IMAGE DAT_IMAGEINFO MSG_GET
137 DG_IMAGE DAT_IMAGELAYOUT MSG_GET
141 DG_IMAGE DAT_IMAGEMEMXFER MSG_GET
142 DG_IMAGE DAT_IMAGENATIVEXFER MSG_GET
143 DG_IMAGE DAT_JPEGCOMPRESSION MSG_GET
147 DG_IMAGE DAT_PALETTE8 MSG_GET
151 DG_IMAGE DAT_RGBRESPONSE MSG_RESET
154 From Application to Source (Audio Information)
155 Data Group Data Argument Type Message
156 DG_AUDIO DAT_AUDIOFILEXFER MSG_GET
157 DG_AUDIO DAT_AUDIOINFO MSG_GET
158 DG_AUDIO DAT_AUDIONATIVEXFER MSG_GET
160 From Source Manager to Source (Control Information)
161 Data Group Data Argument Type Message
162 DG_CONTROL DAT_IDENTITY MSG_CLOSEDS
166 From Source to Application (Control Information via the Source Manager)
167 (Used by Windows Sources only)
168 Data Group Data Argument Type Message
169 DG_CONTROL DAT_NULL MSG_CLOSEDSOK