?
Solved

How can I set the default Twain Device in Windows XP?

Posted on 2008-06-09
2
Medium Priority
?
13,475 Views
Last Modified: 2013-12-27
Hello all,

I have (2) scanners that I need to get working with (2) different applications to deploy to over 500 workstations. Unfortunately I had no control over the selection of scanners, I'm just left with the task of getting them to work. Hopefully someone from this great community can assist.

Hardware: Fujitsu fi-5120 scanner, Fujitsu fi-5000n network adapter, ScanShell 800n card scanner

Application 'A' (Specialty EHR program) uses ISIS drivers for scanning Documents using the fi-5120.
Application 'A' uses TWAIN drivers for scanning IDs using the 800n card scanner. TWAIN source CANNOT be selected through software - it uses the default TWAIN device.

Application 'B' (Microsoft Office Document Scanning) uses TWAIN for scanning documents for copying/faxing. TWAIN source CAN be selected through software.

All computers run XP SP2

I have no issues with MODS. Everything works fine and I can set/keep the defaults.
Its Application 'A' that has the issues

Scenario 1 -
Fujitsu fi-5120 plugged in USB
ScanShell Plugged in USB
Result: Everything works fine. Application 'A' recognizes the 5120 for ISIS scanning and the 800n for TWAIN ID scanning.

Scenario 2 -
Fujitsu fi-5120 plugged into Fujitsu fi-5000n network adapter
ScanShell plugged in USB
Result: Application 'A' always recognizes fi-5000n as TWAIN and will not let me select the 800n


I know I can use a 3rd program to select a TWAIN source as the 800n. This will allow App 'A' to work until they need to use the 5000N/5120 with MODS. Once this scanner is used, App 'A' now recognizes the 5120 instead of the 800n in TWAIN. The 5000n software always turns the 5120 into the default Twain device.

I have searched all over for a registry or ini setting that Windows uses for its Default Twain device, and can't find anything.
Application 'A' has no such setting in registry or config file for a default scanner. And their support team says 'We dont support more than 1 twain device attached to the computer'
Fujitsu was worthless and wasn't even aware their product worked with ISIS.

What I need to accomplish is to tell windows to Always use the Scanshell 800n as the default Twain Device. (I can set the MODS default through registry settings, so this program won't be affected)

Anyone have any ideas?

Thanks,
Jeff
0
Comment
Question by:byoungberg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:byoungberg
ID: 21796225
So I found the solution in case others run into a similar problem:

HKCU\Software\Microsoft\Windows NT\Twain is the location of the Windows Default Twain Device

String name 'Default Source'  and the value is the path of the the .ds file for the scanner (ex. C:\WINDOWS\Twain_32\CSSN800N\CSSN800N.DS)

This key only seems to appear if there is more than 1 twain device connected.

To prevent one scanner from 'overwriting' this value and thus replacing the default, set permissions on the key. I did a deny to everyone (you can still modify permissions of the key to change it when needed).

Windows will now always recognize the scanner of your choice as Default, and a new scanner installed or used will not overwrite it.

0
 

Accepted Solution

by:
EE_AutoDeleter earned 0 total points
ID: 21978945
byoungberg,
Because you have presented a solution to your own problem which may be helpful to future searches, this question is now PAQed and your points have been refunded.

EE_AutoDeleter
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently purchased an HP EliteBook 2540p notebook/laptop. It has two video ports on it – VGA and DisplayPort. HP offers an optional docking station for the 2540p that also has both a VGA port and a DisplayPort. There are numerous online reports do…
It started not too long ago. It was at first annoying. My keystrokes seemed to be randomly generated, not the ones I typed on the keyboard. For some reason this only happened in certain applications (especially browsers such as IE11, Firefox and Chr…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month9 days, 14 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question