Sectors: Finance • Information Technoloy • Government • Healthcare • Industries • Education • (show all)
MSG_SET selects which events the Application wants the Source to report. MSG_GET and MSG_GETCURRENT gets the current setting. MSG_RESET resets the capability to the empty array (no events set).
TWDE_CHECKAUTOMATICCAPTURE: The automatic capture settings on the device have been changed by the user.
TWDE_CHECKBATTERY: The status of the battery has changed.
TWDE_CHECKFLASH: The flash setting on the device has been changed by the user.
TWDE_CHECKPOWERSUPPLY:The power supply has been changed (for instance, the user may have just connected AC to a device that was running on battery power).
TWDE_CHECKRESOLUTION: The x/y resolution setting on the device has been changed by the user.
TWDE_DEVICEADDED: The user has added a device (for instance a memory card in a digital camera).
TWDE_DEVICEOFFLINE: A device has become unavailable, but has not been removed.
TWDE_DEVICEREADY: The device is ready to capture an image.
TWDE_DEVICEREMOVED: The user has removed a device.
TWDE_IMAGECAPTURED: The user has captured an image to the device’s internal storage. TWDE_IMAGEDELETED: The user has removed an image from the device’s internal storage. TWDE_PAPERDOUBLEFEED: Two or more sheets of paper have been fed together. TWDE_PAPERJAM: The device’s document feeder has jammed.
TWDE_LAMPFAILURE: The device’s light source has failed. TWDE_CHECKDEVICEONLINE:The device has been turned off and on. TWDE_POWERSAVE: The device has powered down to save energy. TWDE_POWERSAVENOTIFY: The device is about to power down to save energy. TWDE_CUSTOMEVENTS: Baseline for events specific to a given Source.
Set all values and process the TWRC_CHECKSTATUS (if returned) to identify those items supported by the Source. MSG_GET and MSG_GETCURRENT to get a list of currently enabled items.
The startup default must be an empty array. Generate TWRC_CHECKSTATUS and remove unsupported events when an Application requests events not supported by the Source.
Please note that the actions of an Application must never directly generate a device event. For instance, if the user deletes an image using the controls on the device, then the Source should generate an event. If, however, an Application deletes an image in the device (using DG_CONTROL / DAT_FILESYSTEM / MSG_DELETE), then the Source must not generate an event.
Type: TW_UINT
Value after MSG_OPENDS: (may be remembered from a previous session)
After MSG_RESET/MSG_RESETALL: (empty array)
Allowed Values: TWDE_CHECKAUTOMATICCAPTURE TWDE_CHECKBATTERY TWDE_CHECKDEVICEONLINE TWDE_CHECKFLASH TWDE_CHECKPOWERSUPPLY TWDE_CHECKRESOLUTION TWDE_DEVICEADDED TWDE_DEVICEOFFLINE TWDE_DEVICEREADY TWDE_DEVICEREMOVED TWDE_IMAGECAPTURED TWDE_IMAGEDELETED TWDE_PAPERDOUBLEFEED TWDE_PAPERJAM TWDE_LAMPFAILURE TWDE_POWERSAVE TWDE_POWERSAVENOTIFY TWDE_CUSTOMEVENTS
x
MSG_GET TW_ARRAY
MSG_GETCURRENT TW_ARRAY
MSG_GETDEFAULT TW_ARRAY
MSG_SET TW_ONEVALUE TW_ARRAY
MSG_SETCONSTRAINT TW_ONEVALUE
TW_ARRAY
MSG_RESET TW_ARRAY
MSG_QUERYSUPPORT TW_ONEVALUE
None
Version 1.8
TWAIN Notice
Where would you like to scan from? Scan in Web Apps Scan in Java Scan in .NET
The TWAIN Toolkit is distributed as is. The developer and distributors of the TWAIN Toolkit expressly disclaim all implied, express or statutory warranties including, without limitation, the implied warranties of merchantability, noninfringement of third party rights and fitness for a particular purpose. Neither the developers nor the distributors will be liable for damages, whether direct, indirect, special, incidental, or consequential, as a result of the reproduction, modification, distribution or other use of the TWAIN Toolkit.