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 : Tuesday, March 2, 2010 7:40:50 AM(UTC)
Remy_Cnet

Groups: Registered
Posts: 4


I use Leadtools V16.5 and C#

how we can know if the scanner is connected and operationnal ?
how we can know if the data source (scanner) is enable correctly in our application ? or correctly open ?

If we load a template file for a specific scanner and the data source is not enable. the fonction twainSession.LoadTemplateFile(string)  loop , loop, loop, ....

Thanks




 

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 : Wednesday, March 3, 2010 5:18:09 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

To see if the Twain Data Source Manager itself is working with at least one data source, you can use the Leadtools.Twain.TwainSession.IsAvailable() method.
If you want to check a specific data source (Twain Driver) in a Twain session, use the CAP_DEVICEONLINE capability (TwainCapabilityType.DeviceOnline).
 
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.067 seconds.