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: Is TWAIN Still alive ?

Forums › TWAIN Classic › Is TWAIN Still alive ? › Reply To: Is TWAIN Still alive ?

November 29, 2006 at 12:12 pm #23429
ff.in.twain
Participant
  • Topics - 2
  • Replies - 8
  • Total Posts - 10

Hi,

I’m writing a win32C++ twain application to operate EPSON 10000XL flatbed scanner. I have been able to open and scan images successfully. But I’m struggling to change the capabilities.

Specillay I want to set the following two boolean capabilities to TRUE.
ICAP_AUTOMATICBORDERDETECTION
ICAP_AUTOMATICROTATE

I tried it in the following manner.

– Load the TWAIN DLL and collect DSM Entry Proc.

– Send triplet (DG_CONTROL,DAT_PARENT,MSG_OPENDSM):
received success.

– Send triplet (DG_CONTROL,DAT_IDENTITY,MSG_USERSELECT):
received success. Selected 10000XL.

– Send triplet (DG_CONTROL,DAT_IDENTITY,MSG_OPENDS):
received success.

– Send triplet (DG_CONTROL,DAT_CAPABILITY,MSG_SET):
twCapability.Cap = CAP_XFERCOUNT;
twCapability.ConType = TWON_ONEVALUE;
value is set to 1
received success.

– Send triplet (DG_CONTROL,DAT_CAPABILITY,MSG_SET):
twCapability.Cap = ICAP_UNDEFINEDIMAGESIZE;
twCapability.ConType = TWON_ONEVALUE;
value is set to TRUE (1)
received failure

– Send triplet (DG_CONTROL,DAT_CAPABILITY,MSG_SET):
twCapability.Cap = ICAP_AUTOMATICBORDERDETECTION;
twCapability.ConType = TWON_ONEVALUE;
value is set to TRUE (1)
received failure

Please help me to find out what causes my last two calls to fail. Specifiacally I’m concerned about EPSON 10000XL. Has anyone worked with that scanner using twain?? I wonder whether the twain interface is properly implemented for EPSON 10000XL.

Thanking you in advance.

Best Regards,

FF

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

  • Big Ass Photos – Free Huge Butt Porn, Big Booty Pics
  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • Problem enumerating list of installed scanners in windows server 2012
  • Failed to create TWAIN progress! Error code is 1260.
  • 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