Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Sunday, February 7, 2016 2:54:10 AM(UTC)

hmofaz  
hmofaz

Groups: Registered
Posts: 13


Hello,

I use L_TwainSelectSource to select a scanning source.
The popup windows allows me to select a WIA drivers, when I click on one of them and try to scan afterwardsusing L_TwainAcquire nothing happens.
My questions
1. Is there an option to filter WIA drivers from showing in the source selection?
2. Why scanning with WIA drive does not work? I understood it should have worked correctly as well...

Thanks in advance,
Hezi
hmofaz attached the following image(s):
ScanCapture.JPG
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Friday, February 12, 2016 12:05:17 PM(UTC)

Roberto  
Roberto

Groups: Registered, Tech Support, Administrators
Posts: 39

Thanks: 2 times
Was thanked: 3 time(s) in 3 post(s)

Hello Hezi,

Twain and WIA are not intended to communicate with one another. It is possible to use the Twain compatiblity layer to access some WIA functionality; however, you would not have full access to WIA functionality. Twain drivers are the most common for scanning devices, if your device is both Twain and WIA capable you would be better off installing the Twain drivers for this device.

I would first consult the manufacturers website to see if Twain drivers are available for your device, or if you already have these installed try the free twacker utlilty to narrow the issue down. Twacker is written using pure TWAIN code.

Twacker can be downloaded from here:

http://www.twain.org/docs/530fe0db85f7511c51000503/Twack-32.msi (32 bit)
http://www.twain.org/docs/530fe0db85f7511c51000504/Twack-64.msi (64 bit)

In general, if a scanner works with Twacker, it should work with LEADTOOLS. If the scanner has the same problem in Twacker, then the problem lies in the Twain driver and you should contact the manufacturer.

If you are able to successfully aquire a page with the Twacker utility and the issue persists in LEADTOOLS please send us an email at support@leadtools.com with full details regarding the issue, this way we can prioritize our support for your issue.
Roberto Rodriguez
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
#3 Posted : Friday, February 12, 2016 12:21:45 PM(UTC)

Roberto  
Roberto

Groups: Registered, Tech Support, Administrators
Posts: 39

Thanks: 2 times
Was thanked: 3 time(s) in 3 post(s)

Addtionally LEADTOOLS has support for WIA. You can take a look at this tutorial if you decide to move away from Twain. https://www.leadtools.co...wiaacquiringanimage.html
Roberto Rodriguez
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
#4 Posted : Saturday, February 13, 2016 10:30:17 PM(UTC)

hmofaz  
hmofaz

Groups: Registered
Posts: 13


Hello,

I understand Twain is more accepted protocol and I don't want to add WIA support.
What I want is to filter WIA drivers when I execute L_TwainSelectSource.
My client doesn't understand much about this protocols, if they see a driver they can choose, they expect it would work and scan.
(Especially when it works in "Windows Fax and Scan" program)

So, how can I filter WIA drivers when executing L_TwainSelectSource???
 
#5 Posted : Friday, February 26, 2016 11:45:26 AM(UTC)

Roberto  
Roberto

Groups: Registered, Tech Support, Administrators
Posts: 39

Thanks: 2 times
Was thanked: 3 time(s) in 3 post(s)

Unfortunately LEADTOOLS does not have the functionality to to filter sources programmatically. However, I believe if you are using Twain version 2 any non Twain source will simply be ignored internally and not listed. You can set the Twain version using L_TwainSetVersion https://www.leadtools.co...i/l_twainsetversion.html

Twain version enumeration:
https://www.leadtools.com/help/leadtools/v19/twain/api/twain_version.html

If this issue persists, you would prefer prioritized assistance or simply one on one support from the LEADTOOLS team please send an email to support@leadtools.com with the following information:
1. The company you work for
2. The LEADTOOLS serial number(s) you own (if you are evaluating, just say so)
3. The name(s) of the developer(s) using the serial number
4. A link to this forum post

Please do not post any sensitive information ( Serial #s, Developer Keys/Licenses ) here in the forums.
Roberto Rodriguez
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.080 seconds.