This project has moved. For the latest updates, please go here.

Issue with the language of scanner driver

Nov 8, 2016 at 9:12 AM
I am using kodak scanner i2000 series.When selecting data source through saraff.twain it is displaying the Kodak's twain driver software interface in Russian language(hope the language mentioned is correct). How can i make it display the driver contents in English. When i try this outside saraff.twain software the Kodak's driver is displayed in English language only. Please assist with a soution.
Coordinator
Nov 8, 2016 at 11:35 AM
Hello, jiiva_bpy.
Try set a Twain32.Language property to TwLanguage.ENGLISH.
Marked as answer by SARAFF on 11/25/2016 at 11:11 AM
Nov 15, 2016 at 4:56 AM
thank you Saraff, now i got my twain devices interface in english language. And now am little struck with the scanning process where am not able to view the scanned images in the picturebox as soon as they are being scanned because the Kodak's scanner twain driver is still in display even after selecting the scan properties and clicking scan button so that am unable to view the scanned documents in the picturebox. So here i want the Kodak's interface to leave off while scanning the documents and i want my c# application to display scanned images dynamically.
Coordinator
Nov 15, 2016 at 3:31 PM
Hello, jiiva_bpy.
Try use a Buffered Memory Mode Transfer mode (see Options for Transferring Data). Otherwise, the image can only be obtained after scanning the page.
Jan 24 at 11:50 AM
SARAFF wrote:
Hello, jiiva_bpy.
Try set a Twain32.Language property to TwLanguage.ENGLISH.
hi
how can set this property ?

i use this code :
....
function LoadScanComponent() {
        try {

            if (AxHost && AxHost.object) {

                AxHost.WorkingDirectory = location.href.substr(0, location.href.lastIndexOf("/"));
                AxHost.ApplicationTypeName = "Saraff.Twain.Arshivan.dll!Saraff.Twain.Arshivan.ScanComponent";
                AxHost.AddComponentParameter(AxHost.WorkingDirectory + "/TwainHandler.ashx")

                AxHost.Load();
                FillDS();
                SelectDS();
                $("#btnOk").prop('disabled', true);
                if($("#hidAppendCase").val().toLowerCase()=="false")
                {
                    $("#acquireAppendButton").prop('disabled', true);
                }
                else
                {
                    $("#acquireAppendButton").prop('disabled', false);
                }
            }
        } catch (ex) {
            alert(ex.message);
        }
    }

    function __Acquire() {
        AxHost.PerformMethod(AxHost.CreateMethodDescriptor("Acquire"));
    }
....
Coordinator
Jan 25 at 10:06 AM
Hello, hjeishi1360.
You must implement method that will set a Twain32.Language property in a Saraff.Twain.Arshivan.ScanComponent class. And invoke it from JS (see Method Invocation)