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

uk.co.mmscomputing twain

Forums › TWAIN Classic › uk.co.mmscomputing twain

  • This topic has 3 replies, 3 voices, and was last updated 5 years, 9 months ago by abyiob.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 14, 2012 at 8:04 am #22751 Reply
    ashishk
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    [attachment=0:3t5fynyr]XXCrop.zip[/attachment:3t5fynyr]

    Hi,
    I am using this mmscomputing library as java applet to scan an image or document.
    Using swings,awt i created one scan button which is acquiring scanner by calling scanner.acquire();
    and then placing that scanned image into jpanel for displaying.

    Problem is, first time when i start my applet and hitting my scan button..scanning works fine..
    Twain states it goes into are: 3,4,5,6,7,5,4,3

    then second time,hitting my scan button ..
    Twain states it goes into are: 3,4,5,4,3
    it’s not going into image transfer ready and transferring state and thus not into below loop
    if (type.equals(ScannerIOMetadata.ACQUIRED))
    so i am not able to see the new scanned image into my jpanel second time…

    third time, hitting my scan button .. again it works fine.. getting into all states.
    So i mean, alternatively turns or restarting the java applet again ..it’s working..
    what would be the issue.. ?
    I want, every time when i hit scan button it should get me a new image.. but it’s doing alternative times.
    can i forcefully set or change twain states to come in 6th and 7th states..
    or is there some twain source initialisation problem, second time
    because restarting applet is doing fine…

    please help me…??

    Attached my code..
    Thanks..

    March 14, 2015 at 7:02 am #25613 Reply
    abyiob
    Participant
    • Topics - 0
    • Replies - 2
    • Total Posts - 2

    Any solution for this problem…Please help

    April 1, 2015 at 9:32 am #25614 Reply
    nsilve
    Participant
    • Topics - 0
    • Replies - 1
    • Total Posts - 1

    The problem remains… is there any news?

    April 1, 2015 at 11:02 am #25615 Reply
    abyiob
    Participant
    • Topics - 0
    • Replies - 2
    • Total Posts - 2

    In the code, if I do setShowUserInterface(false); the issue comes
    It its true, no issue…

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: uk.co.mmscomputing twain
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.