Customize scan settings

Before you start an actual scan, you can choose how you want to scan your documents. Typically, you can change all the settings in the scanner’s built-in User Interface. Take the Virtual scanner for example:

Explore-the-Features-1

All these settings might be overwhelming to end users, especially for those without a technical background. With Dynamic Web TWAIN, you can customize all these settings in your JavaScript code. For example:

DWObject.SelectSource();
DWObject.OpenSource();// You should customize the settings after opening a source
DWObject.IfShowUI = false;// Hide the User Interface of the scanner
DWObject.IfFeederEnabled = true;// Use the document feeder to scan in batches
DWObject.IfDuplexEnabled = false;// Scan in Simplex mode (only 1 side of the page)
DWObject.PixelType = EnumDWT_PixelType.TWPT_GRAY; // Scan pages in GRAY
DWObject.Resolution = 200; // Scan pages in 200 DPI
DWObject.AcquireImage();// Start scanning

Starting in v15.0, the above can be simplified to

DWObject.startScan({
    scanner: "name of the scanner to use",
    ui: {
        bShowUI: false
    },
    settings: {
        bFeeder: true,
        bDuplex: false,
        pixelType: EnumDWT_PixelType.TWPT_GRAY,
        resolution: 200
    }
});

results matching ""

    No results matching ""

    results matching ""

      No results matching ""