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

Capabilities negotiation return Invalid State after 1st scan

Forums › TWAIN Classic › Capabilities negotiation return Invalid State after 1st scan

  • This topic has 0 replies, 1 voice, and was last updated 4 years, 1 month ago by nabbla.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • December 12, 2016 at 1:15 pm #23087 Reply
    nabbla
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    Hello!

    I’m trying to use TWAIN without showing scanner GUI (have several scanners which ‘forget’ settings from there no matter what). First, I load source manager, then load source itself, set its resolution, pixel type, bitdepth and layout and it works like a charm – for a first time.

    But when the first page is acquired and DISABLEDS is sent successfully, which should return source into state 4, where I can negotiate capabilities again, I can’t set another resolution, pixel type etc.: Invalid State is returned.

    This occured with Mustek A3 1200s scanner, but that was expected in some sense, because its drivers caused headache before. But what’s more interesting, I’ve tried to use TWAIN sample Data Source and got the same response with it, too.

    I’ve managed to fix my program by unloading source and loading it again before each settings change, but it doesn’t seem right.

    Am I missing something?

  • Author
    Posts
Viewing 1 post (of 1 total)
Reply To: Capabilities negotiation return Invalid State after 1st scan
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

  • 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.
  • To get the list of scanners from javascript client side (browser)
  • 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.