Home › Forums › TWAIN Classic › Hiding the vendor UI dialog box (fi-6xxx series)
- This topic has 4 replies, 3 voices, and was last updated 10 years, 4 months ago by xiaoyuandlg.
- AuthorPosts
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 –
JohnNot 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…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.
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.
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.
- AuthorPosts