TWAIN Working Group

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

Kodak DOCUMENT SIZE CAP

Forums › TWAIN Specification › TWAIN Specification Discussion › Kodak DOCUMENT SIZE CAP

  • This topic has 6 replies, 4 voices, and was last updated 2 years, 1 month ago by Srivatsan.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • August 29, 2012 at 7:23 pm #22777 Reply
    Cyberpunk-BR
    Participant
    • Topics - 1
    • Replies - 1
    • Total Posts - 2

    Hi,

    I’m creating a small interface in Delphi to use a twain source with Envision component.
    The driver of “kodak i2600”, have in your profile/config an TAB called “Size” -> in side the combobox “DOCUMENT” with the options: “Automatically Detect and Straighten“, “Automatically Detect” and “Manually Select“.

    I need set to “Manually Select” to use DAT_IMAGELAYOUT definitions. I want set this option via twain.
    I read 2.2 spec, and tryed several caps… But, no one work 🙁 Which CAP_ should I use?

    I already used (disable/turn off): ICAP_MAXFRAMES, ICAP_UNDEFINEDIMAGESIZE, ICAP_AUTOMATICLENGTHDETECTION, ICAP_AUTOSIZE, ICAP_SUPPORTEDSIZES, ICAP_OVERSCAN, ICAP_AUTOMATICDESKEW, ICAP_AUTOMATICCROPUSESFRAME …

    Any help is welcome 🙁

    Thanks,

    September 4, 2012 at 8:14 pm #25687 Reply
    MarkM
    Participant
    • Topics - 1
    • Replies - 135
    • Total Posts - 136

    Setting ICAP_AUTOMATICBORDERDETECTION to FALSE and ICAP_AUTOMATICDESKEW to FALSE should be enough to make the change you want.

    You can also try the custom ICAP_CROPPINGMODE, setting it to TWCR_TRANSPORT.

    The GUI always reflects changes made in state 4, so if you bring it up after setting these values you should be able to confirm that your app code is working.

    September 12, 2012 at 1:22 pm #25688 Reply
    Cyberpunk-BR
    Participant
    • Topics - 1
    • Replies - 1
    • Total Posts - 2

    @MarkM wrote:

    Setting ICAP_AUTOMATICBORDERDETECTION to FALSE …

    Very thanks Mark, setting ICAP_AUTOMATICBORDERDETECTION to false solved my problem. 😀

    Cya

    December 18, 2013 at 12:01 pm #25689 Reply
    mohsinj677
    Participant
    • Topics - 0
    • Replies - 1
    • Total Posts - 1

    There is no hardware specification. Nearly any scanner hardware can be supported by a TWAIN DS which supports the TWAIN spec.

    June 1, 2017 at 9:36 am #30115 Reply
    Srivatsan
    • Topics - 78
    • Replies - 168
    • Total Posts - 246

    Using Twain API with Kodak i2620
    I am facing an issue using the Twain APi with Kodak i2620 scanner. I am not able to scan more than 20 sheets. It scans for 20 and then fails with Out of Memory Exception. It is a C# application and x86 platform. Request your kind help on the same. Thank you.

    Regards,

    S.Srivatsan

    June 2, 2017 at 9:00 pm #30117 Reply
    Srivatsan Seshadri
    • Topics - 78
    • Replies - 168
    • Total Posts - 246

    Hi,

    Good News, the issue is resolved. It was a Memory issue. Running a x86 application in an x64 processor would reserve only 1.3GB of memory to the Process and since ours is a thread based solution the memory is always under use. So, once the memory level is reached, it explodes. See the below link for more info:

    https://stackoverflow.com/questions/14186256/net-out-of-memory-exception-used-1-3gb-but-have-16gb-installed

    Do contact me over my email for any further discussions. Thank you.

    Regards,

    S.Srivatsan

    June 22, 2017 at 3:12 am #30201 Reply
    Srivatsan
    • Topics - 78
    • Replies - 168
    • Total Posts - 246

    Guys, one more addition to this. Ensure that the “size in Kb” of the image which you are trying to scan is lesser. This also holds a point in continuous scanning as the images are continuously maintained in the memory till the scan process is complete. I changed the Compression mode of the Images in the Settings ans was able to see improvements in the scanning process. Thank you.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Kodak DOCUMENT SIZE CAP
Your information:




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

Recent Topics

  • Is it possible to detect if device has flatbed?
  • System.BadImageFormatException
  • Please tell me about "results.code"
  • Using Twain Direct for Web-browser scanning
  • 64-bit applications and Samsung scanner
  • Quarterly Newsletter
  • Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2019 TWAIN Working Group • by iHwy, LLC • Log in

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.