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

Help Required

Forums › TWAIN Classic › Help Required

  • This topic has 4 replies, 4 voices, and was last updated 12 years, 11 months ago by gabe.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • January 5, 2007 at 6:49 am #22072 Reply
    sourabhv
    Participant
    • Topics - 3
    • Replies - 4
    • Total Posts - 7

    I m trying to Scan using TWAIN and Visual Studio 2005 on Kodak i1220 scanner. It works fine with the black and white pixel type but throws an exception ‘Parameter is not valid’ with RGB or Gray Pixels. Does anyone have any idea how to get out of this issue?? It’s Urgent!!

    January 5, 2007 at 9:59 am #23596 Reply
    sparge
    Participant
    • Topics - 2
    • Replies - 23
    • Total Posts - 25

    @sourabhv wrote:

    I m trying to Scan using TWAIN and Visual Studio 2005 on Kodak i1220 scanner. It works fine with the black and white pixel type but throws an exception ‘Parameter is not valid’ with RGB or Gray Pixels. Does anyone have any idea how to get out of this issue?? It’s Urgent!!

    First try a different scanner, to find out if its scanner or code that’s responsible

    February 13, 2008 at 2:45 pm #23597 Reply
    ttutuncu
    Participant
    • Topics - 2
    • Replies - 3
    • Total Posts - 5

    Hi,

    I have a kodak i1220 scanner. I want to Scan using TWAIN and Visual Studio 2005. Is this possible? If it is, can somebody help me as I am very new to this. How can I use the scanner’s drivers under the C:WINDOWStwain_32KODAKScanner directory?

    Thank you!

    February 13, 2008 at 7:48 pm #23598 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    the scanner’s driver are a problem. as soon as you use dllImport and load twain_32.dll and openDs on your i1220 you are using the drivers under %windir%twain_32Kodak – unless you’re running on a terminal server/citrix ~ then you may be running the drivers under the user profile….
    In any event, the ide you’re using isn’t a an issue.

    What kind of exception?
    Are you using a library to access twain or are you running everything via interop? If you’re using interop are you running native or managed interop?
    What language from Studio 2005?
    Where in your code do you get the exception? what’s the last call?

    .

    February 13, 2008 at 8:11 pm #23599 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    small update, I don’t have am i1220 here but the i1220 in simulation mode works just fine from my vb.net (studio 2005) program. If it’s working in simulation mode I’d have a hard time thinking that it wouldn’t work with live hardware. if you wanna post a bit of the code you’re having trouble with I’ll take a look at it.

    .

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Help Required
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

  • Girls of Desire: All babes in one place, crazy, art
  • 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.