TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

Reply To: Setting PixelType and BitDepth on a Twain 1.8 scanner

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

March 14, 2008 at 10:10 am #24405
gabe
Participant
  • Topics - 9
  • Replies - 583
  • Total Posts - 592

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.

Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • TWAIN for dental imaging integration
  • PDF/R For who and where?
  • Making searchable PDF with PDF/R
  • Backward compatibility with PDF/A and traditional PDF
  • could not open the twain source. Make sure there is a valid source for your sca
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in