Home › Forums › TWAIN Classic › Suppress messages from Fujitsu twain driver
- This topic has 8 replies, 3 voices, and was last updated 13 years, 11 months ago by eelco.
- AuthorPosts
Hello everyone,
In our company we have more then 100 Fujitsu fi-series scanners (5xxx and 6xxx series).
We are using the latest TWAIN drivers (9.21.720.0) on Windows XP SP3.
I have made a scanning application (in C#) that acquires images using the twain driver (using Atalasoft Twain toolkit).The problem is that at regular intervals a message is displayed saying it is time to replace certain consumables (code DS42003 and DS42005).
This dialog shows an option to ‘not warn again’ but that doesn’t seem to work on al workstations.
I think this is a Fujitsu ‘feature’ in the twain driver.Is it possible to prevent these messages from popping up?
Can I e.g. alter settings in the registry or ini-file to suppress the messages?TIA,
Eelco.@eelco wrote:
…at regular intervals a message is displayed saying it is time to replace certain consumables…Is it possible to prevent these messages from popping up?
Short answer: There is no standard way. There may or may not be a method to suppress those messages.
Long answer: TWAIN allows a program to suppress the scan parameters UI and progress information during a scan but not error messages or “device control” information. Here’s an excerpt from TWAIN Specification 1.9a, p5-115:
Error and Device Control Indicators
The Source knows what is happening with the device it controls. Therefore, the Source is responsible for determining when and what information regarding errors and device controls (ex. “place paper in document feeder”) should be presented to the user.Since it’s happening at regular intervals, are you sure the messages are coming from TWAIN and not some utility that’s installed with the device? If it’s a utility, you’ll need to figure out where it lives and how to prevent it from running.
I’m not familiar with Fujitsu scanners. Hopefully, someone who’s reading this knows more about them.
–Hi dpenney,
Thanks for your swift response.
I know that the TWAIN interface has features to hide the UI and progress information. I use these features in my app and the UI and progress are not visible, so that’s OK.Since it’s happening at regular intervals, are you sure the messages are coming from TWAIN and not some utility that’s installed with the device? If it’s a utility, you’ll need to figure out where it lives and how to prevent it from running.
That’s a good point, but the messages pop up in the same process as my app (and blocks it), so I think that is not a separate utility.
I already have done some investigation using SysInternals ProcesMonitor, but so far I have not figured out where the settings for suppressing the messages come from (eg. ini file or registry).
I also can see CustomData is supported by the devices, but I can’t find any related documentation on the Fujitsu website.
I’m pretty sure this is a Fujitsu thing and I was hoping maybe someone else found out how to do this, eg by using a custom TWAIN command.
I did send an email to Fujitsu support, but al I got so far is a usermanual :-(.
If you have any ideas, I’d be glad to hear them.TIA,
Eelco.I found and used this custom fujitsu cap using twirl:
0x8005
it’s an UINT16 that defaults to 2. You can deactivate it setting it to 0 or a BOOL=FALSE (not quite sure, it’s been a while since I developed the app).
Don’t know if it will deactivate those messages. I know for sure that errors when opening the device still pop up.
Just try and tell if it works. Hope it helps!
Hi fct,
Thanks for your response.
I will try to set that custom capability.
I have a few days off, but I will let you know how it worked out.Btw:
I took a look at Twirl as well and saw quite a few custom caps.
How did you find out about the meaning of these caps?Thx,
EelcoI used the UI of the scanner to find out. I wrote a small guide on that, like you can see in this topic:
Setting the custom capaility 8005 to 0 indeed did the job!
Thank you very much for tackling my problem.Btw:
The latest anwser I recieved from Fujitsu was “we have no TWAIN instruction to give you a solution.”
Maybe I used the wrong entry for getting support at Fujitsu.
I used ‘webmaster@fujitsu-europe.com‘ and ‘webmaster@fujitsu.de‘.
The first adres did not apear to be valid anymore (mail delivery problem?).
The second one gave me the answer I just mentioned.I wonder why their TWAIN documentation about custom caps is so hard to obtain.
Support for the scanner department of Fujitsu should be reachable here:
http://www.fujitsu.com/global/contact/computing/IMAGE_index.html
Also, depending on the company they are more or less open to disclosing their custom extensions.
Support for the scanner department of Fujitsu should be reachable here:
http://www.fujitsu.com/global/contact/computing/IMAGE_index.html
The link leads me to the email addresses I already mentioned. Only the german address gave me a (not helpfull) response.
Thanks anyway.
- AuthorPosts