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

problem with ICAP_UNDEFINEDPAGESIZE

Forums › TWAIN Classic › problem with ICAP_UNDEFINEDPAGESIZE

  • This topic has 1 reply, 1 voice, and was last updated 12 years ago by houhuiman.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 30, 2008 at 2:10 am #22446 Reply
    houhuiman
    Participant
    • Topics - 1
    • Replies - 1
    • Total Posts - 2

    Hello, I am using the scanner–HP scanjet G3110 and I want to disable the automatic border detection because sometimes the borders this scanner found were not correct. The spec told me to play with ICAP_AUTOMATICBORDERDETECTION, first of all, I should enable ICAP_UNDEFINEDIMAGESIZE. However, when I tried to get the value of ICAP_UNDEFINEDIMAGESIZE, I failed and the error status told me this is a TWCC_CAPUNSUPPORTED error, that is to say ICAP_UNDEFINEDIMAGESIZE is not supported on my scanner. I don’t believe with this because the spec TWAINMandatory.pdf told me ICAP_UNDEFINEDIMAGESIZE is a very basic trigle for a scanner and I can set the scan whole glass-flat bed option in the software interface
    the scanner provide me. (However, this is not set through twain protocol, because the software never use twain_32.dll when it is running) I compared ICAP_UNDEFINEDIMAGESIZE with ICAP_AUTOBRIGHT at the same stage(stage 4 , just before open the user interface). The result shows ICAP_AUTOBRIGHT is supported and able to get the value, but ICAP_UNDEFINEDIMAGESIZE is not supported. What should I do with the scanner? Is it really unable to support ICAP_UNDEFINEDIMAGESIZE?

    January 14, 2009 at 2:55 am #24769 Reply
    houhuiman
    Participant
    • Topics - 1
    • Replies - 1
    • Total Posts - 2

    I settled this problem by using WIA(Microsoft Windows Image Acquisition ) instead of TWAIN. The WIA driver scanned the whole image as a default option, for more details, the link can be a reference:
    http://msdn.microsoft.com/en-us/library/ms629848(VS.85).aspx

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: problem with ICAP_UNDEFINEDPAGESIZE
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

  • 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

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.