Forums › TWAIN Classic › Setting PixelType and BitDepth on a Twain 1.8 scanner › Reply To: Setting PixelType and BitDepth on a Twain 1.8 scanner
odd. sounds&looks like you’re doing the right stuff at the right time.
After your msg_set ops what value(s) are you getting from msg_get, msg_getcurrent & msg_getDefault?
Run twister on the thing and post the results, it should look something like this:
@twister report snippet wrote:
Start of Twister TWAIN Analysis
Analysis Started: 2004.04.27 at 11:41:15
Twister Version: 1.03.006
— TW_IDENTITY block —
Product Name: ScanExpress A3 USB
Product Family:
Manufacturer:
Software Version: 62280.2233 (“F/B Scanner”)
TWAIN Protocol Version: 1.8
— DataSource File Version Info —
File: C:WINNTTwain_32L3U16Scanobj.ds
File Timestamp: 2004.04.05 08:16:38
File version: 2.6.1.1
Product version: 2.6.1.1
Description: TWAIN Module
Copyright: Copyright c 1999
Comments:
Company: Common Group
File Version: 2, 6, 1, 1
Internal Name: Nora
Language:
Legal Trademarks:
Original Filename: Scanobj.ds
Private Build:
Product Name: TWAIN Modlue
Product Version: 2, 6, 1, 1
Special Build:
Section 1. Capabilities
If a capability does not appear in the following list, then the device
reported it as unsupported, and this conforms to the TWAIN standard.
— Capability — — Value —
ICAP_PIXELTYPE: GET……………..uint16 ENUM{ TWPT_BW, TWPT_GRAY,
TWPT_RGB } Current: TWPT_RGB,
Default: TWPT_RGB
ICAP_PIXELTYPE: GETCURRENT……….uint16 TWPT_RGB
ICAP_PIXELTYPE: GETDEFAULT……….uint16 TWPT_RGB
ICAP_BITDEPTH: GET……………..*uint16 ENUM{ 1, 8,
16 } Current: 16, Default: 16
ICAP_BITDEPTH: GETCURRENT………..ditto
ICAP_BITDEPTH: GETDEFAULT………..ditto
— Compliance Summary —
(12) ICAP_BITDEPTH: MSG_GET enumeration Current index (8) is invalid.
(13) ICAP_BITDEPTH: MSG_GET enumeration Default index (8) is invalid.