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

Suppress messages from Fujitsu twain driver

Forums › TWAIN Classic › Suppress messages from Fujitsu twain driver

  • This topic has 8 replies, 3 voices, and was last updated 10 years, 9 months ago by eelco.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • May 19, 2010 at 8:34 am #22608 Reply
    eelco
    Participant
    • Topics - 1
    • Replies - 4
    • Total Posts - 5

    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.

    May 19, 2010 at 6:17 pm #25262 Reply
    dpenney
    Participant
    • Topics - 3
    • Replies - 66
    • Total Posts - 69

    @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.
    –

    May 20, 2010 at 8:32 am #25263 Reply
    eelco
    Participant
    • Topics - 1
    • Replies - 4
    • Total Posts - 5

    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.

    May 20, 2010 at 12:33 pm #25264 Reply
    fct
    Participant
    • Topics - 0
    • Replies - 24
    • Total Posts - 24

    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!

    May 20, 2010 at 1:14 pm #25265 Reply
    eelco
    Participant
    • Topics - 1
    • Replies - 4
    • Total Posts - 5

    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,
    Eelco

    May 20, 2010 at 2:30 pm #25266 Reply
    fct
    Participant
    • Topics - 0
    • Replies - 24
    • Total Posts - 24

    I used the UI of the scanner to find out. I wrote a small guide on that, like you can see in this topic:

    http://www.twainforum.org/viewtopic.php?t=4154

    May 25, 2010 at 1:00 pm #25267 Reply
    eelco
    Participant
    • Topics - 1
    • Replies - 4
    • Total Posts - 5

    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.

    May 27, 2010 at 9:36 am #25268 Reply
    fct
    Participant
    • Topics - 0
    • Replies - 24
    • Total Posts - 24

    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.

    May 27, 2010 at 11:26 am #25269 Reply
    eelco
    Participant
    • Topics - 1
    • Replies - 4
    • Total Posts - 5

    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.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Reply #25266 in Suppress messages from Fujitsu twain driver
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

  • Scanner starts transfer when console gets closed (CITRIX)
  • Kodak RFS 3600
  • Didn’t save enough file scan
  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • 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.