function onScannerLoaded(status) {
    if (status.get_status() !== ImageGear.Web.Isis.ImGearIsisStatus.Completed) {
        alert(status.get_statusMessage());
    }
    // The scanner can now be accessed through the ImGearIsisScannerSession scanner property.
    var scanner = scannerSession.get_scanner();
    // You could use the getTag method or getAllTags method here
    // to get the current scanner settings.
}
var select = document.getElementById('scannerSelect');
var selectedScanner = scanners.getScanner(select.selectedIndex);
// Set the scanner that is selected in the connected list.
scannerSession.setScanner(selectedScanner, onScannerLoaded);