Problem with Samsung network scanner

Jun 13, 2013 at 9:53 AM
I've tried to use the library with a network scanner Samsung. It doesn't works, i've traced the code and all seems all right, i get always TwRC.Success. I'm investigating about Twain.
Jun 13, 2013 at 10:38 AM
Well, i have found a solution.

In the method PreFilterMessage from the class TwainSource.cs, i have removed the code for the case TwainCommand.Null.

case TwainCommand.Null:
{
_twainCommandNullCount++;
//if (_twainCommandNullCount > 25)
//{
//    _twainCommandNullCount = 0;
//    EndingScan();
//    _twain.CloseSrc();
//}
break;
}

That works for my scanner.
Apr 2, 2014 at 2:25 AM
I'm reviewing TWAIN lately, and this one seems great, thanks for sharing your solution.

Kind regards,
Gabbrielle