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

Hiding the vendor UI dialog box (fi-6xxx series)

Forums › TWAIN Classic › Hiding the vendor UI dialog box (fi-6xxx series)

  • This topic has 4 replies, 3 voices, and was last updated 7 years, 1 month ago by xiaoyuandlg.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 30, 2013 at 12:44 pm #22884 Reply
    razzup
    Participant
    • Topics - 1
    • Replies - 1
    • Total Posts - 2

    I’m using a Fujitsu fi-6130 series scanner. I’m trying to find out how to hide the vendor UI.

    When I hit the scan button in any software client (Word, Adobe, Healthcare software) the vendor twain UI dialog box pops up then I have to hit scan again. How can I hide the vendor twain UI dialog box, so when I hit scan in the client it will just scan with the per-settings I had saved. I’m trying to eliminate hitting scan twice, I called support and they weren’t helpful at all.

    I was able to find a fix for this with the Panasonic Scanners we use in our environment, but having trouble with the Fujitsu. Attached is a picture of the vendor UI.

    If anyone has knowledge on this matter I’d appreciate having a chat with you, hoping this just an easy fix.

    Thanks –
    John

    September 3, 2013 at 7:42 pm #25988 Reply
    spike
    Participant
    • Topics - 10
    • Replies - 139
    • Total Posts - 149

    Not a simple thing, because this isn’t something contemplated in the TWAIN standard. In the standard, the application tells the driver whether to show its dialog or not.
    If you want to do this without support from the application, then you’re working outside the TWAIN standard and it’s going to be pure luck to find a driver that supports this. I’m personally kind of amazed that you found this for the Panasonic, but maybe it is more common than I expect.

    If the Fujitsu doesn’t offer this somewhere visible, and Fujitsu technical support doesn’t offer any help, you are probably stuck.

    It would be technically possible to create a piece of software that would intercept the TWAIN communication and fool the driver that the application is asking for “no UI” scanning.
    I don’t think this would work well in practice, because when an application turns off the scanner’s UI, it typically also does a bunch of other things – which your applications would not be doing.
    Also a typical driver won’t scan with exactly the last settings when you turn off its UI, because TWAIN doesn’t require or even recommend that.
    So this would be a large, complicated, messy project.

    Hmm… the other possible ‘hack’ would be an application that runs in the background, watches for the scanner’s TWAIN dialog to be created, and generates a button-click on the Scan button. That would be do-able, you might even find a Windows ‘automation’ program that would make it fairly easy.
    Allthough… I’m not finding anything right away…

    September 10, 2013 at 2:34 pm #25989 Reply
    razzup
    Participant
    • Topics - 1
    • Replies - 1
    • Total Posts - 2

    Thank you for the reponse. I did take a look at the TWAIN Configuration with the TWAIN 2.1 App Sampler. I did notice that CAP_UICONTROLLABLE is set to True. How can I set this to value to False? This might be the fix.

    September 10, 2013 at 3:20 pm #25990 Reply
    spike
    Participant
    • Topics - 10
    • Replies - 139
    • Total Posts - 149

    First, CAP_UICONTROLLABLE is a read-only value. TRUE means the driver is willing and able to suppress its UI (at the request of an application).
    FALSE (which I’ve never seen and is strongly discouraged by the TWAIN standard) would mean the driver always shows the same UI (or lack of UI?), ignoring what the application requests.

    Second, the settings you see in the sample app are not persistent configuration settings. The TWAIN standard doesn’t require any of them to be remembered after you close the device, although some drivers will remember some settings.

    ‘show your user interface’ is NOT a TWAIN setting like CAP_UICONTROLLABLE. The only place in the TWAIN standard where there is control over showing the scanner UI is in the MSG_ENABLEDS message – which is the command to the scanner driver that means ‘show-your-UI-or-start-scanning’.
    That command has a parameter that means show (or don’t show) the scanner UI. It is sent from the application to the driver, and it applies only at that time.

    Sorry. I think the Window ‘auto-button-click’ hack is still the best solution I can think of.

    December 19, 2013 at 6:59 am #25991 Reply
    xiaoyuandlg
    Participant
    • Topics - 0
    • Replies - 6
    • Total Posts - 6

    This doesn’t seems to be an easy problem to solve. It must be a fatal design mistake on the UI dialog control. And this is dialog box is weired.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Hiding the vendor UI dialog box (fi-6xxx series)
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.