Tech Support Forum banner
Status
Not open for further replies.

Problem in Kodak Scanner Driver

7.3K views 2 replies 2 participants last post by  AlessandroASQ  
#1 ·
Hi,

Recently I bought the scanner Kodak i2600 to use with the software FileDirector. But I having some issues configuring the scanner.

Looking to the source-code, the software executes the following code:

TwCapability cap = new TwCapability(CapabilityID, TwOn.One);
if (Lib.DSCap(this.appid, this.srcds, TwDG.Control, TwDAT.Capability, TwMSG.GetCurrent, cap) != TwRC..Success)
{
throw new ApplicationExeption("TWAIN CapGet: Get error! CapID=" + CapabilityID.ToString());
}


And this exception executes every time.

************** Exception Text **************
System.ApplicationException: TWAIN CapGet: Get error! CapID=ICAP_BRIGHTNESS
at DSDMS.Scanner.ScannerDriver.TwainCore.CapGet(TwCap CapabilityID)
at DSDMS.Scanner.ScannerDriver.TWAIN.SettingsTWAIN._GetTwainSetting(eSetting SettingID, TwCap TwainSettingID)
at DSDMS.Scanner.ScannerDriver.TWAIN.SettingsTWAIN.GetTwainSetting(eSetting SettingID)
at DSDMS.Scanner.ScannerDriver.TWAIN.SettingsTWAIN.GetSetting(eSetting SettingID)
at DSDMS.Scanner.ScannerDriver.TabTWAINSettingsRepository.SettingsToTab()
at DSDMS.Scanner.ScannerDriver.SetupScanner.SettingsToForm()
at DSDMS.Scanner.ScannerDriver.SetupScanner.SetupScanner_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)

Running the EZTCheck - EZTwain Pro Test Tool, I could notice that there are inconsistance between SUPPORTEDCAPS and function CAPGET, because the capabilities ICAP_BRIGHTNESS, ICAP_ORIENTATION, ICAP_THRESHOLD, ICAP_JPEGPIXELTYPE, ICAP_OVERSCAN, ICAP_AUTOMATICDESKEW, ICAP_JPEGQUALITY. You can see the log attached.




So how should I proceed? I do not have the source code of the FileDirector, so I can not fix it.

Has anyone seen this problem before?
 
#3 ·
The software has a poor error treatment.

1) The software calls the function GetCapabilities()
2) The driver returns that the capability ICAP_BRIGHTNESS exists
3) So, the software calls the DSCap() to retrieve the information about the ICAP_BRIGHTNESS
4) and the function doesn't return Success
5) The software throws an exception.


The driver shouldn't return that the capability ICAP_BRIGHTNESS exists, isn't?
 
Status
Not open for further replies.
You have insufficient privileges to reply here.