Home › Forums › TWAIN Classic › Fujitsu drivers (4120Cdj) disappearing
- This topic has 9 replies, 3 voices, and was last updated 14 years, 2 months ago by clivew.
- AuthorPosts
Like some others I am at my wits end trying to figure out why my product is not working correctly at customers with Fujitsu scanners.
After installing the latest drivers sometimes the TWAIN and WIA drivers both show up in the Select Sources dialog, sometimes they do not.
If only the WIA driver appears and I use it once it disappears again before I can use it the second time.On my test laptop I can get it working provided I choose the TWAIN driver. At my customers the TWAIN driver is missing in my application; but shows up on my skeleton code that does nothing but display the “Select Source” dialog.
I have uninstalled/reinstalled the drivers several times.
The only other difference I can think of is that my test laptop also has a couple of Canon drivers installed; but not connected.Has anyone come up with either a solution or a work around?
This only affects my customers with Fujitsu scanners.Hi,
>After installing the latest drivers sometimes the TWAIN and WIA drivers both show up in the Select Sources dialog, sometimes they do not.
Do you still remember the differences on operations, environments, etc that may lead to the different behaviors of the application?
Also, what OS are you using? If you are using Windows Vista/7, the lack of permission may cause the problem. If this is the case, you can try running the application as administrator to see if helps.
__________________________
Catherine Sea
TWAIN .NET Component | TWAIN ActiveX/Plug-inHi Catherine,
So far I can not figure out the problem.
It is XP SP3 fully updated. Not an admin. problem.I have advanced(???) to the spot where I have two laptops one that works fine and one that exhibits my customers behavior.
Initially the only two differences I know of are
1. That the one that works uses “Oracle Instant Client” as oppose to the full Oracle Client.
2. That the one that works also has two Canon drivers installed.My intentions tomorrow (unless you have better advice) are
1. Make a full image of the one that fails, so I can get back to it at will.
2. See if I can see any differences in what is loaded in memory using systernals tools.
3. Install a Canon driver (who knows?).
4. Install the Oracle Instant Client in place of the full one.I’m hoping item 2 is a charm.
The other possibility is to wrap an alternate TWAIN component in a class of my own to make it API compatible with my current code and see if that changes anything.
All suggestions welcome.
Thanks again,
CliveWhat application are you using to scan with? Is it a TWAIN2 application?
If the application is a TWAIN 1.x and using the twain_32.dll DSM then there is a log file twain.log in the users %temp% folder.
If it is a TWAIN 2 application then logging can be enabled. WIA-TWAIN DS do not show up in the TWAIN2 select source dialog. The wia.ds file is not TWAIN compliant.
http://www.twainforum.org/viewtopic.php?t=4138Jim Watters
Its our own application using TWAIN 1.
We use a library called ImageLib from Skyline.
TWAIN.log on both machines is identical except that the one that works sees/loads the ‘Fujitsu’ driver and the one that doesn’t loads the ‘WIA’ driver.After renaming wiatwain.ds as per one suggestion. WIA driver still appeared in list.
Also spoke to Fujitsu tech. support who claimed ALL their drivers were built on top of WIA. Don’t know if that is completely true of course.
More Info:
There does not appear to be a*.ds file for the Fujitsu on the machine that works.
Where does it get its info?The machine that did not work did have a *.ds file; but when I renamed it (*.dsx) it made no difference at all.
When do DS files get loaded and are they cached?
i.e. Do I need to reboot to see the result of the renamed ds file?Every time an application does a OpenDSM, the DSM traverses the twain_32 folder and enumerates all the *.DS files that exist that match the SupportedGroups requested.
If you watch the Fujitsu folder and unplug/replug the USB or cycle the power of the scanner. Do files disappear and reappear?
Does the machine that is not working with TWAIN work with WIA?
Jim Watters
Its very confusing.
1. Yes you are correct about the ds file appearing and disappearing.
2. I see both drivers in most simple applications.
3. My application that runs in a dynamically loaded DLL sees only the WIA driver and I can scan as many docs as I like until I close my form.
After that, if I tell the form to load again it sees no drivers at all.
If I close the host application and re-open it then I see the WIA driver only.BTW: The one machine that runs properly seems to have a lot fewer background apps. running.
Just can not figure out:
a. Why I can not see the regular driver.
b. Why the WIA driver gets lost.
c. If I open another simple app. I have just to load the select source dialog
it sees both drivers, even while my real program (still open) sees none.Bizarre in the extreme!!!
After much debugging and testing over and over…
1. I can see all the drivers in “select source” until before I do an Oracle login.
2. Immediately after the login the Fujitsu driver is missing but the WIA still shows.
3. Next time around (without closing) they are both gone.Here is the weird part:
I change to using the Oracle 10g Instant Client and it starts working.
However, after the first iteration the WIA driver disappears as before; but the Fujitsu driver remains viewable and usable.Unfortunately, it seems some other parts of the application may not like the instant client.
- AuthorPosts