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 : Friday, November 5, 2010 6:51:43 AM(UTC)
rgromero

Groups: Registered
Posts: 2


Hi,

I have a .NET 2003 application that is working with a Cannon Scanner (multi function copier), we are going to change to a Konica Minolta bizhub 423, i installed the driver but now i am getting this error "Error -566" when the following line of code is executed.

Dim i As Leadtools.Twain.TwainCapability = twainSession.GetCapability(TwainCapabilityType.DeviceOnline, TwainGetCapabilityMode.GetCurrent)

does somebody know what could be the error?

I am using leadtools 14.
 

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 : Saturday, November 6, 2010 11:56:32 PM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,034

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

This error means that the Twain Required capability is not supported.
Try to use the Twain device using the standard Twain test utility from the Twain Working Group. This program is called Twacker and you can get it from here: http://www.twain.org/devfiles/twack.zip

Try to Get/Set the capabilities you are interested in as follows:
In the Twacker application:
1) From the File => Select Source, choose the new scanner.
2) From the Special menu => choose 1. Load/Open SM
3) From the Special menu => choose 2. Open Source
4) From the Special menu => choose 3. Send
4) Get/Set the capability as shown in the attached example.


Guest attached the following image(s):
Twacker.png
 
#3 Posted : Monday, November 8, 2010 4:43:40 AM(UTC)
rgromero

Groups: Registered
Posts: 2


Thanks Adam.

Attached is the result of the test. What do you recommend? Do i have to change the code or the driver?

rgromero attached the following image(s):
result.JPG
 
#4 Posted : Monday, November 8, 2010 5:58:02 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,034

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

The CAP_DEVICEONLINE is required by the Twain specification to be supported by All image Sources (scanners and cameras). This means if your Twain driver does not support it correctly using the Twacker standard test tool, you could try to contact the scanner's vendors to see if there's an updated driver that does not have this problem.
 
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-2020, Yet Another Forum.NET
This page was generated in 0.160 seconds.