INFO - Starting gscan2pdf 1.3.0 INFO - Log level DEBUG INFO - Using nl_NL.UTF-8 locale INFO - Startup LC_NUMERIC C INFO - Reading config from /home/ar/.gscan2pdf INFO - Perl version v5.18.2 INFO - Glib-Perl version 1.304 INFO - Built for Glib 2.39.2 INFO - Running with Glib 2.40.2 INFO - Gtk2-Perl version 1.249 INFO - Built for GTK 2.24.23 INFO - Running with GTK 2.24.23 INFO - Gscan2pdf::Document version 1.3.0 INFO - Using GtkImageView version 1.6.4 INFO - Using Gtk2::ImageView version 0.05 INFO - Using PDF::API2 version 2.020 INFO - Using Sane version 1.0.23 INFO - Using libsane-perl version 0.05 DEBUG - $VAR1 = { 'default-scan-options' => [ { 'adf-mode' => 'Duplex' }, { 'resolution' => '200' }, { 'auto-eject' => '' } ], 'unsharp sigma' => '1', 'default profile' => undef, 'quality' => '75', 'thumb panel' => '100', 'downsample dpi' => '150', 'image type' => 'pdf', 'visible-scan-options' => { 'gain' => '1', 'y' => '1', 'Paper size' => '1', 'wait-for-button' => '1', 'contrast' => '1', 'pagewidth' => '1', 'x' => '1', 'adf-mode' => '1', 'resolution' => '1', 'l' => '1', 'mode' => '1', 'calibration-cache' => '1', 'adf_mode' => '1', 'page-width' => '1', 'threshold' => '1', 'overscan-top' => '1', 'page-height' => '1', 'button-wait' => '1', 'batch-scan' => '1', 'overscan-bottom' => '1', 'compression' => '1', 'brightness' => '1', 'pageheight' => '1', 'speed' => '1', 't' => '1', 'source' => '1' }, 'startup warning' => '1', 'unsharp amount' => '1', 'Blank threshold' => '0.005', 'version' => '1.3.0', 'OCR on scan' => '', 'layout' => 'single', 'SANE version' => '1.0.23', 'unsharp threshold' => '0.05', 'scan-reload-triggers' => 'mode', 'device' => 'epkowa:interpreter:003:004', 'resolution' => '300', 'scan_window_height' => '649', 'keywords' => '', 'ocr engine' => 'ocropus', 'auto-open-scan-dialog' => '1', 'cache options' => '1', 'Page range' => 'all', 'window_width' => '1301', 'restore window' => '1', 'window_maximize' => '1', 'default filename' => '%y-%m-%d %a-%t', 'frontend' => 'libsane-perl', 'threshold tool' => '80', 'date offset' => '-107', 'subject' => '', 'Dark threshold' => '0.12', 'selection' => [ '0', '7', '2544', '3279' ], 'rotate facing' => '0', 'profile' => { 'dubbelzijdig' => [ { 'adf-mode' => 'Duplex' }, { 'resolution' => '200' }, { 'auto-eject' => '' } ], 'dubbel' => undef }, 'unpaper on scan' => '', 'pdf font' => '/usr/share/fonts/truetype/abyssinica/AbyssinicaSIL-R.ttf', 'cwd' => '/net/ds/volume1/g1accounting/2015/apr2015/Woning', 'downsample' => '', 'libsane-perl version' => '0.05', 'unsharp radius' => '0', 'author' => 'MVGM ', 'pages to scan' => '0', 'Paper' => { 'A4' => { 'l' => '0', 'x' => '210', 't' => '0', 'y' => '297' }, 'US Letter' => { 'l' => '0', 'x' => '216', 't' => '0', 'y' => '279' }, 'US Legal' => { 'x' => '216', 't' => '0', 'l' => '0', 'y' => '356' } }, 'cycle sane handle' => '1', 'scan_window_width' => '816', 'window_x' => '65', 'device blacklist' => '', 'scan prefix' => '', 'cache' => undef, 'window_height' => '744', 'view files toggle' => '1', 'window_y' => '24', 'user_defined_tools' => 'gimp %i', 'title' => 'Mijn MVGM.nl autorisatiecode', 'OCR output' => 'replace', 'Paper size' => 'A4', 'rotate reverse' => '0', 'pdf compression' => 'auto' }; INFO - Found tesseract version 3.03. INFO - Found Image::Magick INFO - Found ImageMagick INFO - Found scanadf INFO - Found xdg-email INFO - Found cjb2 (djvu) INFO - Found libtiff INFO - Found unpaper v0.4.2 INFO - Found tesseract INFO - Checking /tmp for crashed sessions INFO - Using /tmp/gscan2pdf-nqd8 for temporary files DEBUG - Set logger in Gscan2pdf::Dialog::Scan::Sane DEBUG - Set logger in Gscan2pdf::Dialog::Scan DEBUG - Started setting dir from undef to /tmp/gscan2pdf-nqd8 DEBUG - Finished setting dir from undef to /tmp/gscan2pdf-nqd8 DEBUG - Started setting num_pages from 1 to 0 DEBUG - Finished setting num_pages from 1 to 0 INFO - Found tesseract language eng INFO - Found tesseract language equ INFO - Found tesseract language osd INFO - Sane->get_devices returned: $VAR1 = [ { 'vendor' => 'Epson', 'name' => 'epkowa:interpreter:003:004', 'model' => 'GT-S80', 'type' => 'flatbed scanner' } ]; DEBUG - Started setting device_list from undef to $VAR1 = [ { 'vendor' => 'Epson', 'name' => 'epkowa:interpreter:003:004', 'model' => 'GT-S80', 'type' => 'flatbed scanner' } ]; INFO - signal 'changed-device-list' emitted with data: $VAR1 = [ { 'vendor' => 'Epson', 'name' => 'epkowa:interpreter:003:004', 'model' => 'GT-S80', 'label' => 'Epson GT-S80', 'type' => 'flatbed scanner' } ]; DEBUG - Started setting device from to epkowa:interpreter:003:004 INFO - signal 'changed-device' emitted with data: 'epkowa:interpreter:003:004' DEBUG - Finished setting device from to epkowa:interpreter:003:004 DEBUG - Finished setting device_list from undef to $VAR1 = [ { 'vendor' => 'Epson', 'name' => 'epkowa:interpreter:003:004', 'model' => 'GT-S80', 'label' => 'Epson GT-S80', 'type' => 'flatbed scanner' } ]; DEBUG - opening device 'epkowa:interpreter:003:004': Success INFO - signal 'finished-process' emitted with data: open_device DEBUG - Sane->get_option_descriptor returned: $VAR1 = bless( { 'hash' => { 'red-gamma-table' => { 'val' => [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255 ], 'type' => 1, 'index' => 22, 'cap' => 5, 'name' => 'red-gamma-table', 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'max_values' => 256, 'title' => 'Red intensity', 'constraint_type' => 1, 'unit' => 0, 'desc' => 'Gamma-correction table for the red band.' }, 'zoom' => { 'title' => 'Zoom', 'unit' => 0, 'constraint_type' => 1, 'desc' => 'Defines the zoom factor the scanner will use', 'max_values' => 1, 'constraint' => { 'quant' => 0, 'min' => 50, 'max' => 200 }, 'index' => 21, 'cap' => 37, 'name' => 'zoom', 'type' => 1 }, 'cct-8' => { 'cap' => 77, 'name' => 'cct-8', 'index' => 37, 'type' => 2, 'val' => '0', 'desc' => 'Adds to blue based on green level', 'title' => 'Shift green to blue', 'constraint_type' => 1, 'unit' => 0, 'max_values' => 1, 'constraint' => { 'max' => '2', 'min' => '-2', 'quant' => '0' } }, 'auto-area-segmentation' => { 'max_values' => 1, 'desc' => '', 'unit' => 0, 'title' => 'Auto area segmentation', 'constraint_type' => 0, 'type' => 0, 'name' => 'auto-area-segmentation', 'cap' => 37, 'index' => 19 }, 'y-resolution' => { 'unit' => 4, 'constraint_type' => 2, 'title' => 'Y-resolution', 'desc' => 'Sets the vertical resolution of the scanned image.', 'constraint' => [ 100, 200, 300, 400, 600 ], 'max_values' => 1, 'index' => 14, 'cap' => 69, 'name' => 'y-resolution', 'type' => 1, 'val' => 300 }, 'br-x' => { 'cap' => 5, 'name' => 'br-x', 'index' => 46, 'type' => 2, 'val' => '215.899993896484', 'desc' => 'Bottom-right x position of scan area.', 'constraint_type' => 1, 'title' => 'Bottom-right x', 'unit' => 3, 'max_values' => 1, 'constraint' => { 'max' => '215.899993896484', 'min' => '0', 'quant' => '0' } }, 'cct-5' => { 'type' => 2, 'name' => 'cct-5', 'cap' => 77, 'index' => 34, 'val' => '1', 'max_values' => 1, 'constraint' => { 'quant' => '0', 'min' => '-2', 'max' => '2' }, 'desc' => 'Controls green level', 'unit' => 0, 'constraint_type' => 1, 'title' => 'Green' }, 'scan-area' => { 'val' => 'Maximum', 'type' => 3, 'name' => 'scan-area', 'cap' => 5, 'index' => 43, 'max_values' => 1, 'constraint' => [ 'Maximum', 'A4', 'A5 Landscape', 'A5 Portrait', 'B5', 'Legal', 'Letter', 'Executive', 'CD' ], 'desc' => 'Select an area to scan based on well-known media sizes.', 'title' => 'Scan area', 'unit' => 0, 'constraint_type' => 3 }, 'focus-position' => { 'index' => 53, 'cap' => 101, 'name' => 'focus-position', 'type' => 3, 'constraint_type' => 3, 'unit' => 0, 'title' => 'Focus Position', 'desc' => 'Sets the focus position to either the glass or 2.5mm above the glass', 'constraint' => [ 'Focus on glass', 'Focus 2.5mm above glass' ], 'max_values' => 1 }, 'color-correction' => { 'desc' => 'Sets the color correction table for the selected output device.', 'constraint_type' => 3, 'title' => 'Color correction', 'unit' => 0, 'max_values' => 1, 'constraint' => [ 'User defined' ], 'name' => 'color-correction', 'cap' => 101, 'index' => 11, 'type' => 3 }, 'film-type' => { 'max_values' => 1, 'constraint' => [ 'Positive Film', 'Negative Film' ], 'desc' => '', 'title' => 'Film type', 'constraint_type' => 3, 'unit' => 0, 'type' => 3, 'name' => 'film-type', 'cap' => 37, 'index' => 52 }, 'speed' => { 'val' => 0, 'index' => 18, 'name' => 'speed', 'cap' => 5, 'type' => 0, 'unit' => 0, 'constraint_type' => 0, 'title' => 'Scan speed', 'desc' => 'Determines the speed at which the scan proceeds.', 'max_values' => 1 }, 'wait-for-button' => { 'constraint_type' => 0, 'title' => 'Wait for Button', 'unit' => 0, 'desc' => 'After sending the scan command, wait until the button on the scanner is pressed to actually start the scan process.', 'max_values' => 1, 'val' => 0, 'index' => 25, 'cap' => 69, 'name' => 'wait-for-button', 'type' => 0 }, 'auto-eject' => { 'val' => 1, 'type' => 0, 'index' => 51, 'cap' => 5, 'name' => 'auto-eject', 'max_values' => 1, 'title' => 'Auto eject', 'constraint_type' => 0, 'unit' => 0, 'desc' => 'Eject document after scanning' }, 'double-feed-detection-sensitivity' => { 'desc' => 'Sets the sensitivity with which multi-sheet page feeds are detected and reported as errors.', 'unit' => 0, 'title' => 'Double Feed Detection Sensitivity', 'constraint_type' => 3, 'max_values' => 1, 'constraint' => [ 'None', 'Low', 'High' ], 'val' => 'None', 'cap' => 69, 'name' => 'double-feed-detection-sensitivity', 'index' => 60, 'type' => 3 }, 'bay' => { 'constraint_type' => 3, 'title' => 'Bay', 'unit' => 0, 'desc' => 'Select bay to scan', 'max_values' => 1, 'constraint' => [ ' 1 ', ' 2 ', ' 3 ', ' 4 ', ' 5 ', ' 6 ' ], 'index' => 54, 'cap' => 37, 'name' => 'bay', 'type' => 3 }, 'cct-9' => { 'constraint' => { 'quant' => '0', 'max' => '2', 'min' => '-2' }, 'max_values' => 1, 'constraint_type' => 1, 'title' => 'Blue', 'unit' => 0, 'desc' => 'Control blue level', 'type' => 2, 'index' => 38, 'name' => 'cct-9', 'cap' => 77, 'val' => '1' }, 'contrast' => { 'type' => 1, 'index' => 8, 'name' => 'contrast', 'cap' => 13, 'val' => 0, 'constraint' => { 'quant' => 1, 'max' => 100, 'min' => -100 }, 'max_values' => 1, 'constraint_type' => 1, 'title' => 'Contrast', 'unit' => 0, 'desc' => 'Controls the contrast of the acquired image.' }, 'cct-1' => { 'cap' => 77, 'name' => 'cct-1', 'index' => 30, 'type' => 2, 'val' => '1', 'desc' => 'Controls red level', 'unit' => 0, 'title' => 'Red', 'constraint_type' => 1, 'max_values' => 1, 'constraint' => { 'max' => '2', 'min' => '-2', 'quant' => '0' } }, 'adf-mode' => { 'unit' => 0, 'title' => 'ADF Mode', 'constraint_type' => 3, 'desc' => 'Selects the ADF mode (simplex/duplex)', 'constraint' => [ 'Simplex', 'Duplex' ], 'max_values' => 1, 'val' => 'Simplex', 'index' => 56, 'name' => 'adf-mode', 'cap' => 5, 'type' => 3 }, 'clean' => { 'index' => 66, 'name' => 'clean', 'cap' => 101, 'type' => 4, 'unit' => 0, 'constraint_type' => 0, 'title' => 'Clean', 'desc' => 'Cleans the scanners reading section.', 'max_values' => 1 }, 'tl-x' => { 'type' => 2, 'cap' => 5, 'name' => 'tl-x', 'index' => 44, 'val' => '0', 'max_values' => 1, 'constraint' => { 'max' => '215.899993896484', 'min' => '0', 'quant' => '0' }, 'desc' => 'Top-left x position of scan area.', 'unit' => 3, 'title' => 'Top-left x', 'constraint_type' => 1 }, 'cct-6' => { 'type' => 2, 'index' => 35, 'cap' => 77, 'name' => 'cct-6', 'val' => '0', 'constraint' => { 'quant' => '0', 'min' => '-2', 'max' => '2' }, 'max_values' => 1, 'title' => 'Shift blue to green', 'constraint_type' => 1, 'unit' => 0, 'desc' => 'Adds to green based on blue level' }, 'ext-sane-status' => { 'type' => 1, 'index' => 61, 'name' => 'ext-sane-status', 'cap' => 68, 'val' => 0, 'max_values' => 1, 'constraint' => { 'quant' => 0, 'min' => 0, 'max' => 2 }, 'constraint_type' => 1, 'title' => 'Extended SANE Status', 'unit' => 0, 'desc' => 'Ugly kludge to provide additional status message strings to a frontend.' }, 'deskew' => { 'val' => 0, 'type' => 0, 'index' => 63, 'name' => 'deskew', 'cap' => 77, 'max_values' => 1, 'constraint_type' => 0, 'title' => 'Deskew', 'unit' => 0, 'desc' => 'Rotate image so it appears upright.' }, 'depth' => { 'max_values' => 1, 'constraint' => [ 8, 16 ], 'constraint_type' => 2, 'unit' => 0, 'title' => 'Bit depth', 'desc' => 'Number of bits per sample, typical values are 1 for "line-art" and 8 for multibit scans.', 'type' => 1, 'index' => 3, 'cap' => 5, 'name' => 'depth', 'val' => 8 }, 'preview' => { 'max_values' => 1, 'unit' => 0, 'title' => 'Preview', 'constraint_type' => 0, 'desc' => 'Request a preview-quality scan.', 'val' => 0, 'type' => 0, 'index' => 40, 'name' => 'preview', 'cap' => 5 }, 'calibrate' => { 'max_values' => 1, 'desc' => 'Performs color matching to make sure that the document\'s color tones are scanned correctly.', 'constraint_type' => 0, 'title' => 'Calibrate', 'unit' => 0, 'type' => 4, 'name' => 'calibrate', 'cap' => 101, 'index' => 65 }, 'eject' => { 'type' => 4, 'index' => 55, 'name' => 'eject', 'cap' => 5, 'max_values' => 1, 'title' => 'Eject', 'constraint_type' => 0, 'unit' => 0, 'desc' => 'Eject the sheet in the ADF' }, 'threshold' => { 'cap' => 37, 'name' => 'threshold', 'index' => 15, 'type' => 1, 'desc' => 'Select minimum-brightness to get a white point', 'title' => 'Threshold', 'unit' => 0, 'constraint_type' => 1, 'constraint' => { 'min' => 0, 'max' => 255, 'quant' => 0 }, 'max_values' => 1 }, 'gamma-correction' => { 'type' => 3, 'index' => 10, 'cap' => 5, 'name' => 'gamma-correction', 'val' => 'User defined (Gamma=1.8)', 'max_values' => 1, 'constraint' => [ 'User defined (Gamma=1.0)', 'User defined (Gamma=1.8)' ], 'unit' => 0, 'constraint_type' => 3, 'title' => 'Gamma Correction', 'desc' => 'Selects the gamma correction value from a list of pre-defined devices or the user defined table, which can be downloaded to the scanner' }, 'x-resolution' => { 'max_values' => 1, 'constraint' => [ 100, 200, 300, 400, 600 ], 'desc' => 'Sets the horizontal resolution of the scanned image.', 'constraint_type' => 2, 'unit' => 4, 'title' => 'X-resolution', 'type' => 1, 'cap' => 69, 'name' => 'x-resolution', 'index' => 13, 'val' => 300 }, 'preview-speed' => { 'unit' => 0, 'constraint_type' => 0, 'title' => 'Speed', 'desc' => '', 'max_values' => 1, 'val' => 0, 'index' => 41, 'name' => 'preview-speed', 'cap' => 5, 'type' => 0 }, 'brightness-method' => { 'type' => 3, 'cap' => 69, 'name' => 'brightness-method', 'index' => 6, 'val' => 'iscan', 'constraint' => [ 'iscan', 'gimp' ], 'max_values' => 1, 'desc' => 'Selects a method to change the brightness of the acquired image.', 'unit' => 0, 'title' => 'Brightness Method', 'constraint_type' => 3 }, 'cct-4' => { 'desc' => 'Adds to green based on red level', 'constraint_type' => 1, 'title' => 'Shift red to green', 'unit' => 0, 'constraint' => { 'quant' => '0', 'max' => '2', 'min' => '-2' }, 'max_values' => 1, 'name' => 'cct-4', 'cap' => 77, 'index' => 33, 'type' => 2, 'val' => '0' }, 'short-resolution' => { 'val' => 0, 'type' => 0, 'name' => 'short-resolution', 'cap' => 5, 'index' => 20, 'max_values' => 1, 'desc' => 'Display short resolution list', 'unit' => 0, 'constraint_type' => 0, 'title' => 'Short resolution list' }, 'monitor-button' => { 'val' => 0, 'type' => 0, 'name' => 'monitor-button', 'cap' => 68, 'index' => 26, 'max_values' => 1, 'desc' => 'Indicates whether a button on the scanner has been pressed.', 'unit' => 0, 'constraint_type' => 0, 'title' => 'Monitor Button' }, 'dropout' => { 'name' => 'dropout', 'cap' => 101, 'index' => 5, 'type' => 3, 'desc' => 'Selects the dropout.', 'unit' => 0, 'title' => 'Dropout', 'constraint_type' => 3, 'constraint' => [ 'None', 'Red', 'Green', 'Blue' ], 'max_values' => 1 }, 'halftoning' => { 'constraint' => [ 'None', 'Halftone A (Hard Tone)', 'Halftone B (Soft Tone)', 'Halftone C (Net Screen)' ], 'max_values' => 1, 'constraint_type' => 3, 'unit' => 0, 'title' => 'Halftoning', 'desc' => 'Selects the halftone.', 'type' => 3, 'index' => 4, 'name' => 'halftoning', 'cap' => 37 }, 'sharpness' => { 'type' => 1, 'index' => 9, 'cap' => 37, 'name' => 'sharpness', 'constraint' => { 'max' => 2, 'min' => -2, 'quant' => 0 }, 'max_values' => 1, 'unit' => 0, 'constraint_type' => 1, 'title' => 'Sharpness', 'desc' => '' }, 'source' => { 'unit' => 0, 'title' => 'Scan source', 'constraint_type' => 3, 'desc' => 'Selects the scan source (such as a document-feeder).', 'constraint' => [ 'Automatic Document Feeder' ], 'max_values' => 1, 'index' => 50, 'cap' => 37, 'name' => 'source', 'type' => 3 }, 'cct-3' => { 'index' => 32, 'name' => 'cct-3', 'cap' => 77, 'type' => 2, 'val' => '0', 'constraint_type' => 1, 'title' => 'Shift blue to red', 'unit' => 0, 'desc' => 'Adds to red based on blue level', 'constraint' => { 'min' => '-2', 'max' => '2', 'quant' => '0' }, 'max_values' => 1 }, 'mirror' => { 'type' => 0, 'name' => 'mirror', 'cap' => 37, 'index' => 17, 'max_values' => 1, 'desc' => 'Mirror the image.', 'constraint_type' => 0, 'title' => 'Mirror image', 'unit' => 0 }, 'tl-y' => { 'title' => 'Top-left y', 'constraint_type' => 1, 'unit' => 3, 'desc' => 'Top-left y position of scan area.', 'constraint' => { 'min' => '0', 'max' => '355.599990844727', 'quant' => '0' }, 'max_values' => 1, 'val' => '0', 'index' => 45, 'name' => 'tl-y', 'cap' => 5, 'type' => 2 }, 'brightness' => { 'val' => 0, 'type' => 1, 'cap' => 13, 'name' => 'brightness', 'index' => 7, 'max_values' => 1, 'constraint' => { 'min' => -100, 'max' => 100, 'quant' => 1 }, 'desc' => 'Controls the brightness of the acquired image.', 'constraint_type' => 1, 'unit' => 0, 'title' => 'Brightness' }, 'detect-doc-size' => { 'max_values' => 1, 'title' => 'Auto-detect document size', 'constraint_type' => 0, 'unit' => 0, 'desc' => 'Activates document size auto-detection. The scan area will be set to match the detected document size.', 'type' => 0, 'index' => 57, 'cap' => 101, 'name' => 'detect-doc-size' }, 'cct-2' => { 'desc' => 'Adds to red based on green level', 'unit' => 0, 'title' => 'Shift green to red', 'constraint_type' => 1, 'constraint' => { 'quant' => '0', 'max' => '2', 'min' => '-2' }, 'max_values' => 1, 'val' => '0', 'name' => 'cct-2', 'cap' => 77, 'index' => 31, 'type' => 2 }, 'br-y' => { 'val' => '355.599990844727', 'index' => 47, 'name' => 'br-y', 'cap' => 5, 'type' => 2, 'unit' => 3, 'title' => 'Bottom-right y', 'constraint_type' => 1, 'desc' => 'Bottom-right y position of scan area.', 'constraint' => { 'min' => '0', 'max' => '355.599990844727', 'quant' => '0' }, 'max_values' => 1 }, 'adf-duplex-direction-matches' => { 'val' => 1, 'index' => 62, 'cap' => 68, 'name' => 'adf-duplex-direction-matches', 'type' => 0, 'constraint_type' => 0, 'title' => 'ADF Duplex Direction Matches', 'unit' => 0, 'desc' => 'Indicates whether the device\'s ADF duplex mode, if available, scans in the same direction for the front and back.', 'max_values' => 1 }, 'polling-time' => { 'max_values' => 1, 'constraint_type' => 0, 'title' => 'Polling Time', 'unit' => 6, 'desc' => 'Time between queries when waiting for device state changes.', 'type' => 1, 'index' => 27, 'cap' => 68, 'name' => 'polling-time', 'val' => 1000000 }, 'blue-gamma-table' => { 'val' => [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255 ], 'index' => 24, 'name' => 'blue-gamma-table', 'cap' => 5, 'type' => 1, 'constraint_type' => 1, 'unit' => 0, 'title' => 'Blue intensity', 'desc' => 'Gamma-correction table for the blue band.', 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'max_values' => 256 }, 'cct-7' => { 'desc' => 'Adds to blue based on red level', 'unit' => 0, 'constraint_type' => 1, 'title' => 'Shift red to blue', 'constraint' => { 'max' => '2', 'min' => '-2', 'quant' => '0' }, 'max_values' => 1, 'val' => '0', 'cap' => 77, 'name' => 'cct-7', 'index' => 36, 'type' => 2 }, 'needs-polling' => { 'max_values' => 1, 'desc' => 'Indicates whether the scanner needs to poll.', 'title' => 'Needs Polling', 'unit' => 0, 'constraint_type' => 0, 'type' => 0, 'cap' => 68, 'name' => 'needs-polling', 'index' => 28, 'val' => 0 }, 'green-gamma-table' => { 'max_values' => 256, 'constraint' => { 'min' => 0, 'max' => 255, 'quant' => 0 }, 'desc' => 'Gamma-correction table for the green band.', 'constraint_type' => 1, 'unit' => 0, 'title' => 'Green intensity', 'val' => [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255 ], 'type' => 1, 'name' => 'green-gamma-table', 'cap' => 5, 'index' => 23 }, 'scan-area-is-valid' => { 'val' => 1, 'type' => 0, 'index' => 58, 'name' => 'scan-area-is-valid', 'cap' => 68, 'max_values' => 1, 'title' => 'Scan Area Is Valid', 'constraint_type' => 0, 'unit' => 0, 'desc' => 'Indicates whether the current scan area settings are valid.' }, 'autocrop' => { 'max_values' => 1, 'unit' => 0, 'title' => 'Trim image to paper size', 'constraint_type' => 0, 'desc' => 'Determines empty margins in the scanned image and removes them. This normally reduces the image to the size of the original document but may remove more.', 'val' => 0, 'type' => 0, 'index' => 64, 'name' => 'autocrop', 'cap' => 77 }, 'adf-auto-scan' => { 'desc' => 'Skips per sheet device setup for faster throughput.', 'unit' => 0, 'constraint_type' => 0, 'title' => 'ADF Auto Scan', 'max_values' => 1, 'val' => 0, 'name' => 'adf-auto-scan', 'cap' => 69, 'index' => 59, 'type' => 0 }, 'mode' => { 'val' => 'Color', 'type' => 3, 'index' => 2, 'name' => 'mode', 'cap' => 5, 'constraint' => [ 'Binary', 'Gray', 'Color' ], 'max_values' => 1, 'unit' => 0, 'title' => 'Scan mode', 'constraint_type' => 3, 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).' }, 'quick-format' => { 'constraint' => [ 'Maximum', 'A4', 'A5 Landscape', 'A5 Portrait', 'B5', 'Legal', 'Letter', 'Executive', 'CD' ], 'max_values' => 1, 'desc' => 'Select an area to scan based on well-known media sizes. (DEPRECATED)', 'unit' => 0, 'constraint_type' => 3, 'title' => 'Quick format', 'val' => 'Maximum', 'type' => 3, 'cap' => 5, 'name' => 'quick-format', 'index' => 48 }, 'resolution' => { 'type' => 1, 'cap' => 5, 'name' => 'resolution', 'index' => 12, 'val' => 300, 'constraint' => [ 100, 200, 300, 400, 600 ], 'max_values' => 1, 'desc' => 'Sets the resolution of the scanned image.', 'title' => 'Scan resolution', 'constraint_type' => 2, 'unit' => 4 } }, 'array' => [ { 'index' => 0 }, { 'index' => 1, 'cap' => 0, 'type' => 5, 'title' => 'Scan Mode', 'constraint_type' => 0, 'unit' => 0, 'desc' => '', 'max_values' => 1 }, $VAR1->{'hash'}{'mode'}, $VAR1->{'hash'}{'depth'}, $VAR1->{'hash'}{'halftoning'}, $VAR1->{'hash'}{'dropout'}, $VAR1->{'hash'}{'brightness-method'}, $VAR1->{'hash'}{'brightness'}, $VAR1->{'hash'}{'contrast'}, $VAR1->{'hash'}{'sharpness'}, $VAR1->{'hash'}{'gamma-correction'}, $VAR1->{'hash'}{'color-correction'}, $VAR1->{'hash'}{'resolution'}, $VAR1->{'hash'}{'x-resolution'}, $VAR1->{'hash'}{'y-resolution'}, $VAR1->{'hash'}{'threshold'}, { 'index' => 16, 'cap' => 64, 'type' => 5, 'constraint_type' => 0, 'title' => 'Advanced', 'unit' => 0, 'desc' => '', 'max_values' => 1 }, $VAR1->{'hash'}{'mirror'}, $VAR1->{'hash'}{'speed'}, $VAR1->{'hash'}{'auto-area-segmentation'}, $VAR1->{'hash'}{'short-resolution'}, $VAR1->{'hash'}{'zoom'}, $VAR1->{'hash'}{'red-gamma-table'}, $VAR1->{'hash'}{'green-gamma-table'}, $VAR1->{'hash'}{'blue-gamma-table'}, $VAR1->{'hash'}{'wait-for-button'}, $VAR1->{'hash'}{'monitor-button'}, $VAR1->{'hash'}{'polling-time'}, $VAR1->{'hash'}{'needs-polling'}, { 'type' => 5, 'index' => 29, 'cap' => 64, 'max_values' => 1, 'title' => 'Color correction coefficients', 'constraint_type' => 0, 'unit' => 0, 'desc' => 'Matrix multiplication of RGB' }, $VAR1->{'hash'}{'cct-1'}, $VAR1->{'hash'}{'cct-2'}, $VAR1->{'hash'}{'cct-3'}, $VAR1->{'hash'}{'cct-4'}, $VAR1->{'hash'}{'cct-5'}, $VAR1->{'hash'}{'cct-6'}, $VAR1->{'hash'}{'cct-7'}, $VAR1->{'hash'}{'cct-8'}, $VAR1->{'hash'}{'cct-9'}, { 'max_values' => 1, 'desc' => '', 'title' => 'Preview', 'constraint_type' => 0, 'unit' => 0, 'type' => 5, 'cap' => 64, 'index' => 39 }, $VAR1->{'hash'}{'preview'}, $VAR1->{'hash'}{'preview-speed'}, { 'max_values' => 1, 'desc' => '', 'constraint_type' => 0, 'title' => 'Geometry', 'unit' => 0, 'type' => 5, 'cap' => 64, 'index' => 42 }, $VAR1->{'hash'}{'scan-area'}, $VAR1->{'hash'}{'tl-x'}, $VAR1->{'hash'}{'tl-y'}, $VAR1->{'hash'}{'br-x'}, $VAR1->{'hash'}{'br-y'}, $VAR1->{'hash'}{'quick-format'}, { 'type' => 5, 'cap' => 64, 'index' => 49, 'max_values' => 1, 'desc' => '', 'unit' => 0, 'title' => 'Optional equipment', 'constraint_type' => 0 }, $VAR1->{'hash'}{'source'}, $VAR1->{'hash'}{'auto-eject'}, $VAR1->{'hash'}{'film-type'}, $VAR1->{'hash'}{'focus-position'}, $VAR1->{'hash'}{'bay'}, $VAR1->{'hash'}{'eject'}, $VAR1->{'hash'}{'adf-mode'}, $VAR1->{'hash'}{'detect-doc-size'}, $VAR1->{'hash'}{'scan-area-is-valid'}, $VAR1->{'hash'}{'adf-auto-scan'}, $VAR1->{'hash'}{'double-feed-detection-sensitivity'}, $VAR1->{'hash'}{'ext-sane-status'}, $VAR1->{'hash'}{'adf-duplex-direction-matches'}, $VAR1->{'hash'}{'deskew'}, $VAR1->{'hash'}{'autocrop'}, $VAR1->{'hash'}{'calibrate'}, $VAR1->{'hash'}{'clean'} ], 'geometry' => { 'x' => '215.899993896484', 't' => 0, 'l' => 0, 'y' => '355.599990844727' } }, 'Gscan2pdf::Scanner::Options' ); INFO - signal 'finished-process' emitted with data: find_scan_options DEBUG - Started setting available_scan_options from undef to Gscan2pdf::Scanner::Options=HASH(0x29e1208) DEBUG - Started setting paper_formats from undef to $VAR1 = { 'A4' => { 'l' => '0', 'x' => '210', 't' => '0', 'y' => '297' }, 'US Letter' => { 'l' => '0', 'x' => '216', 't' => '0', 'y' => '279' }, 'US Legal' => { 'x' => '216', 't' => '0', 'l' => '0', 'y' => '356' } }; DEBUG - Finished setting paper_formats from undef to $VAR1 = { 'A4' => { 'l' => 0, 'x' => 210, 't' => 0, 'y' => 297 }, 'US Letter' => { 'l' => 0, 'x' => 216, 't' => 0, 'y' => 279 }, 'US Legal' => { 'x' => 216, 't' => 0, 'l' => 0, 'y' => 356 } }; DEBUG - Started setting paper from undef to A4 INFO - sane_set_option 46 (br-x) to 210 returned status Success with info 4 INFO - sane_set_option 47 (br-y) to 297 returned status Success with info 4 DEBUG - Finished setting paper from undef to A4 DEBUG - Started setting current_scan_options from $VAR1 = [ { 'br-x' => '210' }, { 'br-y' => '297' } ]; to $VAR1 = [ { 'adf-mode' => 'Duplex' }, { 'resolution' => '200' }, { 'auto-eject' => '' } ]; INFO - sane_set_option 56 (adf-mode) to Duplex returned status Success with info 6 DEBUG - Finished setting current_scan_options from $VAR1 = [ { 'br-x' => '210' }, { 'br-y' => '297' } ]; to $VAR1 = [ { 'resolution' => '200' }, { 'auto-eject' => '' }, { 'adf-mode' => 'Duplex' } ]; DEBUG - Finished setting available_scan_options from undef to Gscan2pdf::Scanner::Options=HASH(0x29e1208) INFO - signal 'finished-process' emitted with data: set_option INFO - signal 'finished-process' emitted with data: set_option DEBUG - Sane->get_option_descriptor returned: $VAR1 = bless( { 'geometry' => { 'y' => '355.599990844727', 'l' => 0, 't' => 0, 'x' => '215.899993896484' }, 'array' => [ { 'index' => 0 }, { 'max_values' => 1, 'constraint_type' => 0, 'title' => 'Scan Mode', 'unit' => 0, 'desc' => '', 'type' => 5, 'index' => 1, 'cap' => 0 }, { 'constraint' => [ 'Binary', 'Gray', 'Color' ], 'max_values' => 1, 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', 'constraint_type' => 3, 'title' => 'Scan mode', 'unit' => 0, 'val' => 'Color', 'type' => 3, 'cap' => 5, 'name' => 'mode', 'index' => 2 }, { 'max_values' => 1, 'constraint' => [ 8, 16 ], 'title' => 'Bit depth', 'constraint_type' => 2, 'unit' => 0, 'desc' => 'Number of bits per sample, typical values are 1 for "line-art" and 8 for multibit scans.', 'val' => 8, 'type' => 1, 'index' => 3, 'name' => 'depth', 'cap' => 5 }, { 'type' => 3, 'cap' => 37, 'name' => 'halftoning', 'index' => 4, 'val' => 'None', 'constraint' => [ 'None', 'Halftone A (Hard Tone)', 'Halftone B (Soft Tone)', 'Halftone C (Net Screen)' ], 'max_values' => 1, 'desc' => 'Selects the halftone.', 'title' => 'Halftoning', 'constraint_type' => 3, 'unit' => 0 }, { 'max_values' => 1, 'constraint' => [ 'None', 'Red', 'Green', 'Blue' ], 'unit' => 0, 'title' => 'Dropout', 'constraint_type' => 3, 'desc' => 'Selects the dropout.', 'type' => 3, 'index' => 5, 'cap' => 101, 'name' => 'dropout', 'val' => 'None' }, { 'desc' => 'Selects a method to change the brightness of the acquired image.', 'title' => 'Brightness Method', 'unit' => 0, 'constraint_type' => 3, 'max_values' => 1, 'constraint' => [ 'iscan', 'gimp' ], 'val' => 'iscan', 'name' => 'brightness-method', 'cap' => 69, 'index' => 6, 'type' => 3 }, { 'type' => 1, 'index' => 7, 'name' => 'brightness', 'cap' => 13, 'val' => 0, 'constraint' => { 'min' => -100, 'max' => 100, 'quant' => 1 }, 'max_values' => 1, 'title' => 'Brightness', 'constraint_type' => 1, 'unit' => 0, 'desc' => 'Controls the brightness of the acquired image.' }, { 'val' => 0, 'index' => 8, 'cap' => 13, 'name' => 'contrast', 'type' => 1, 'title' => 'Contrast', 'constraint_type' => 1, 'unit' => 0, 'desc' => 'Controls the contrast of the acquired image.', 'max_values' => 1, 'constraint' => { 'min' => -100, 'max' => 100, 'quant' => 1 } }, { 'index' => 9, 'cap' => 37, 'name' => 'sharpness', 'type' => 1, 'val' => 0, 'unit' => 0, 'title' => 'Sharpness', 'constraint_type' => 1, 'desc' => '', 'max_values' => 1, 'constraint' => { 'max' => 2, 'min' => -2, 'quant' => 0 } }, { 'desc' => 'Selects the gamma correction value from a list of pre-defined devices or the user defined table, which can be downloaded to the scanner', 'title' => 'Gamma Correction', 'unit' => 0, 'constraint_type' => 3, 'constraint' => [ 'User defined (Gamma=1.0)', 'User defined (Gamma=1.8)' ], 'max_values' => 1, 'name' => 'gamma-correction', 'cap' => 5, 'index' => 10, 'type' => 3, 'val' => 'User defined (Gamma=1.8)' }, { 'val' => 'User defined', 'type' => 3, 'cap' => 101, 'name' => 'color-correction', 'index' => 11, 'max_values' => 1, 'constraint' => [ 'User defined' ], 'desc' => 'Sets the color correction table for the selected output device.', 'title' => 'Color correction', 'constraint_type' => 3, 'unit' => 0 }, { 'type' => 1, 'index' => 12, 'name' => 'resolution', 'cap' => 5, 'val' => 300, 'max_values' => 1, 'constraint' => [ 100, 200, 300, 400, 600 ], 'title' => 'Scan resolution', 'constraint_type' => 2, 'unit' => 4, 'desc' => 'Sets the resolution of the scanned image.' }, { 'constraint' => [ 100, 200, 300, 400, 600 ], 'max_values' => 1, 'constraint_type' => 2, 'title' => 'X-resolution', 'unit' => 4, 'desc' => 'Sets the horizontal resolution of the scanned image.', 'type' => 1, 'index' => 13, 'cap' => 69, 'name' => 'x-resolution', 'val' => 300 }, { 'constraint' => [ 100, 200, 300, 400, 600 ], 'max_values' => 1, 'desc' => 'Sets the vertical resolution of the scanned image.', 'title' => 'Y-resolution', 'unit' => 4, 'constraint_type' => 2, 'type' => 1, 'cap' => 69, 'name' => 'y-resolution', 'index' => 14, 'val' => 300 }, { 'constraint' => { 'quant' => 0, 'min' => 0, 'max' => 255 }, 'max_values' => 1, 'unit' => 0, 'constraint_type' => 1, 'title' => 'Threshold', 'desc' => 'Select minimum-brightness to get a white point', 'val' => 128, 'type' => 1, 'index' => 15, 'name' => 'threshold', 'cap' => 37 }, { 'max_values' => 1, 'title' => 'Advanced', 'constraint_type' => 0, 'unit' => 0, 'desc' => '', 'type' => 5, 'index' => 16, 'cap' => 64 }, { 'cap' => 37, 'name' => 'mirror', 'index' => 17, 'type' => 0, 'val' => 0, 'desc' => 'Mirror the image.', 'title' => 'Mirror image', 'unit' => 0, 'constraint_type' => 0, 'max_values' => 1 }, { 'max_values' => 1, 'unit' => 0, 'title' => 'Scan speed', 'constraint_type' => 0, 'desc' => 'Determines the speed at which the scan proceeds.', 'val' => 0, 'type' => 0, 'index' => 18, 'cap' => 5, 'name' => 'speed' }, { 'cap' => 37, 'name' => 'auto-area-segmentation', 'index' => 19, 'type' => 0, 'val' => 0, 'desc' => '', 'constraint_type' => 0, 'unit' => 0, 'title' => 'Auto area segmentation', 'max_values' => 1 }, { 'val' => 0, 'type' => 0, 'index' => 20, 'cap' => 5, 'name' => 'short-resolution', 'max_values' => 1, 'constraint_type' => 0, 'unit' => 0, 'title' => 'Short resolution list', 'desc' => 'Display short resolution list' }, { 'desc' => 'Defines the zoom factor the scanner will use', 'constraint_type' => 1, 'title' => 'Zoom', 'unit' => 0, 'max_values' => 1, 'constraint' => { 'quant' => 0, 'min' => 50, 'max' => 200 }, 'val' => 100, 'name' => 'zoom', 'cap' => 37, 'index' => 21, 'type' => 1 }, { 'val' => [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255 ], 'index' => 22, 'name' => 'red-gamma-table', 'cap' => 5, 'type' => 1, 'title' => 'Red intensity', 'constraint_type' => 1, 'unit' => 0, 'desc' => 'Gamma-correction table for the red band.', 'constraint' => { 'quant' => 0, 'min' => 0, 'max' => 255 }, 'max_values' => 256 }, { 'max_values' => 256, 'constraint' => { 'min' => 0, 'max' => 255, 'quant' => 0 }, 'desc' => 'Gamma-correction table for the green band.', 'unit' => 0, 'constraint_type' => 1, 'title' => 'Green intensity', 'val' => [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255 ], 'type' => 1, 'cap' => 5, 'name' => 'green-gamma-table', 'index' => 23 }, { 'type' => 1, 'index' => 24, 'cap' => 5, 'name' => 'blue-gamma-table', 'val' => [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255 ], 'max_values' => 256, 'constraint' => { 'min' => 0, 'max' => 255, 'quant' => 0 }, 'constraint_type' => 1, 'title' => 'Blue intensity', 'unit' => 0, 'desc' => 'Gamma-correction table for the blue band.' }, { 'title' => 'Wait for Button', 'unit' => 0, 'constraint_type' => 0, 'desc' => 'After sending the scan command, wait until the button on the scanner is pressed to actually start the scan process.', 'max_values' => 1, 'index' => 25, 'cap' => 69, 'name' => 'wait-for-button', 'type' => 0, 'val' => 0 }, { 'index' => 26, 'name' => 'monitor-button', 'cap' => 68, 'type' => 0, 'val' => 0, 'unit' => 0, 'constraint_type' => 0, 'title' => 'Monitor Button', 'desc' => 'Indicates whether a button on the scanner has been pressed.', 'max_values' => 1 }, { 'val' => 1000000, 'type' => 1, 'index' => 27, 'name' => 'polling-time', 'cap' => 68, 'max_values' => 1, 'constraint_type' => 0, 'title' => 'Polling Time', 'unit' => 6, 'desc' => 'Time between queries when waiting for device state changes.' }, { 'cap' => 68, 'name' => 'needs-polling', 'index' => 28, 'type' => 0, 'val' => 0, 'desc' => 'Indicates whether the scanner needs to poll.', 'title' => 'Needs Polling', 'unit' => 0, 'constraint_type' => 0, 'max_values' => 1 }, { 'index' => 29, 'cap' => 64, 'type' => 5, 'unit' => 0, 'constraint_type' => 0, 'title' => 'Color correction coefficients', 'desc' => 'Matrix multiplication of RGB', 'max_values' => 1 }, { 'index' => 30, 'name' => 'cct-1', 'cap' => 77, 'type' => 2, 'val' => '1', 'constraint_type' => 1, 'unit' => 0, 'title' => 'Red', 'desc' => 'Controls red level', 'constraint' => { 'quant' => '0', 'min' => '-2', 'max' => '2' }, 'max_values' => 1 }, { 'val' => '0', 'type' => 2, 'index' => 31, 'cap' => 77, 'name' => 'cct-2', 'max_values' => 1, 'constraint' => { 'quant' => '0', 'min' => '-2', 'max' => '2' }, 'constraint_type' => 1, 'unit' => 0, 'title' => 'Shift green to red', 'desc' => 'Adds to red based on green level' }, { 'index' => 32, 'cap' => 77, 'name' => 'cct-3', 'type' => 2, 'val' => '0', 'unit' => 0, 'constraint_type' => 1, 'title' => 'Shift blue to red', 'desc' => 'Adds to red based on blue level', 'constraint' => { 'max' => '2', 'min' => '-2', 'quant' => '0' }, 'max_values' => 1 }, { 'max_values' => 1, 'constraint' => { 'quant' => '0', 'max' => '2', 'min' => '-2' }, 'desc' => 'Adds to green based on red level', 'unit' => 0, 'title' => 'Shift red to green', 'constraint_type' => 1, 'type' => 2, 'cap' => 77, 'name' => 'cct-4', 'index' => 33, 'val' => '0' }, { 'type' => 2, 'name' => 'cct-5', 'cap' => 77, 'index' => 34, 'val' => '1', 'max_values' => 1, 'constraint' => { 'quant' => '0', 'min' => '-2', 'max' => '2' }, 'desc' => 'Controls green level', 'title' => 'Green', 'unit' => 0, 'constraint_type' => 1 }, { 'val' => '0', 'type' => 2, 'cap' => 77, 'name' => 'cct-6', 'index' => 35, 'constraint' => { 'min' => '-2', 'max' => '2', 'quant' => '0' }, 'max_values' => 1, 'desc' => 'Adds to green based on blue level', 'title' => 'Shift blue to green', 'constraint_type' => 1, 'unit' => 0 }, { 'name' => 'cct-7', 'cap' => 77, 'index' => 36, 'type' => 2, 'val' => '0', 'desc' => 'Adds to blue based on red level', 'unit' => 0, 'constraint_type' => 1, 'title' => 'Shift red to blue', 'constraint' => { 'quant' => '0', 'max' => '2', 'min' => '-2' }, 'max_values' => 1 }, { 'constraint' => { 'min' => '-2', 'max' => '2', 'quant' => '0' }, 'max_values' => 1, 'unit' => 0, 'title' => 'Shift green to blue', 'constraint_type' => 1, 'desc' => 'Adds to blue based on green level', 'val' => '0', 'type' => 2, 'index' => 37, 'name' => 'cct-8', 'cap' => 77 }, { 'desc' => 'Control blue level', 'unit' => 0, 'constraint_type' => 1, 'title' => 'Blue', 'max_values' => 1, 'constraint' => { 'max' => '2', 'min' => '-2', 'quant' => '0' }, 'val' => '1', 'name' => 'cct-9', 'cap' => 77, 'index' => 38, 'type' => 2 }, { 'type' => 5, 'cap' => 64, 'index' => 39, 'max_values' => 1, 'desc' => '', 'title' => 'Preview', 'unit' => 0, 'constraint_type' => 0 }, { 'val' => 0, 'type' => 0, 'index' => 40, 'name' => 'preview', 'cap' => 5, 'max_values' => 1, 'unit' => 0, 'title' => 'Preview', 'constraint_type' => 0, 'desc' => 'Request a preview-quality scan.' }, { 'desc' => '', 'constraint_type' => 0, 'unit' => 0, 'title' => 'Speed', 'max_values' => 1, 'name' => 'preview-speed', 'cap' => 5, 'index' => 41, 'type' => 0, 'val' => 0 }, { 'desc' => '', 'constraint_type' => 0, 'title' => 'Geometry', 'unit' => 0, 'max_values' => 1, 'cap' => 64, 'index' => 42, 'type' => 5 }, { 'title' => 'Scan area', 'constraint_type' => 3, 'unit' => 0, 'desc' => 'Select an area to scan based on well-known media sizes.', 'constraint' => [ 'Maximum', 'A4', 'A5 Landscape', 'A5 Portrait', 'B5', 'Legal', 'Letter', 'Executive', 'CD' ], 'max_values' => 1, 'index' => 43, 'name' => 'scan-area', 'cap' => 5, 'type' => 3, 'val' => 'Maximum' }, { 'desc' => 'Top-left x position of scan area.', 'unit' => 3, 'title' => 'Top-left x', 'constraint_type' => 1, 'constraint' => { 'min' => '0', 'max' => '215.899993896484', 'quant' => '0' }, 'max_values' => 1, 'name' => 'tl-x', 'cap' => 5, 'index' => 44, 'type' => 2, 'val' => '0' }, { 'type' => 2, 'index' => 45, 'cap' => 5, 'name' => 'tl-y', 'val' => '0', 'max_values' => 1, 'constraint' => { 'max' => '355.599990844727', 'min' => '0', 'quant' => '0' }, 'constraint_type' => 1, 'title' => 'Top-left y', 'unit' => 3, 'desc' => 'Top-left y position of scan area.' }, { 'unit' => 3, 'constraint_type' => 1, 'title' => 'Bottom-right x', 'desc' => 'Bottom-right x position of scan area.', 'constraint' => { 'min' => '0', 'max' => '215.899993896484', 'quant' => '0' }, 'max_values' => 1, 'val' => '215.899993896484', 'index' => 46, 'name' => 'br-x', 'cap' => 5, 'type' => 2 }, { 'title' => 'Bottom-right y', 'unit' => 3, 'constraint_type' => 1, 'desc' => 'Bottom-right y position of scan area.', 'constraint' => { 'quant' => '0', 'max' => '355.599990844727', 'min' => '0' }, 'max_values' => 1, 'index' => 47, 'cap' => 5, 'name' => 'br-y', 'type' => 2, 'val' => '355.599990844727' }, { 'max_values' => 1, 'constraint' => [ 'Maximum', 'A4', 'A5 Landscape', 'A5 Portrait', 'B5', 'Legal', 'Letter', 'Executive', 'CD' ], 'constraint_type' => 3, 'title' => 'Quick format', 'unit' => 0, 'desc' => 'Select an area to scan based on well-known media sizes. (DEPRECATED)', 'type' => 3, 'index' => 48, 'name' => 'quick-format', 'cap' => 5, 'val' => 'Maximum' }, { 'max_values' => 1, 'desc' => '', 'constraint_type' => 0, 'title' => 'Optional equipment', 'unit' => 0, 'type' => 5, 'cap' => 64, 'index' => 49 }, { 'max_values' => 1, 'constraint' => [ 'Automatic Document Feeder' ], 'constraint_type' => 3, 'unit' => 0, 'title' => 'Scan source', 'desc' => 'Selects the scan source (such as a document-feeder).', 'type' => 3, 'index' => 50, 'cap' => 37, 'name' => 'source', 'val' => 'Automatic Document Feeder' }, { 'desc' => 'Eject document after scanning', 'unit' => 0, 'constraint_type' => 0, 'title' => 'Auto eject', 'max_values' => 1, 'name' => 'auto-eject', 'cap' => 5, 'index' => 51, 'type' => 0, 'val' => 1 }, { 'constraint' => [ 'Positive Film', 'Negative Film' ], 'max_values' => 1, 'desc' => '', 'constraint_type' => 3, 'unit' => 0, 'title' => 'Film type', 'val' => 'Positive Film', 'type' => 3, 'cap' => 37, 'name' => 'film-type', 'index' => 52 }, { 'type' => 3, 'index' => 53, 'name' => 'focus-position', 'cap' => 101, 'val' => 'Focus on glass', 'max_values' => 1, 'constraint' => [ 'Focus on glass', 'Focus 2.5mm above glass' ], 'unit' => 0, 'constraint_type' => 3, 'title' => 'Focus Position', 'desc' => 'Sets the focus position to either the glass or 2.5mm above the glass' }, { 'val' => ' 1 ', 'type' => 3, 'index' => 54, 'name' => 'bay', 'cap' => 37, 'constraint' => [ ' 1 ', ' 2 ', ' 3 ', ' 4 ', ' 5 ', ' 6 ' ], 'max_values' => 1, 'unit' => 0, 'constraint_type' => 3, 'title' => 'Bay', 'desc' => 'Select bay to scan' }, { 'title' => 'Eject', 'unit' => 0, 'constraint_type' => 0, 'desc' => 'Eject the sheet in the ADF', 'max_values' => 1, 'index' => 55, 'name' => 'eject', 'cap' => 5, 'type' => 4 }, { 'type' => 3, 'index' => 56, 'name' => 'adf-mode', 'cap' => 5, 'val' => 'Duplex', 'constraint' => [ 'Simplex', 'Duplex' ], 'max_values' => 1, 'unit' => 0, 'title' => 'ADF Mode', 'constraint_type' => 3, 'desc' => 'Selects the ADF mode (simplex/duplex)' }, { 'val' => 0, 'name' => 'detect-doc-size', 'cap' => 101, 'index' => 57, 'type' => 0, 'desc' => 'Activates document size auto-detection. The scan area will be set to match the detected document size.', 'unit' => 0, 'constraint_type' => 0, 'title' => 'Auto-detect document size', 'max_values' => 1 }, { 'name' => 'scan-area-is-valid', 'cap' => 68, 'index' => 58, 'type' => 0, 'val' => 1, 'desc' => 'Indicates whether the current scan area settings are valid.', 'unit' => 0, 'title' => 'Scan Area Is Valid', 'constraint_type' => 0, 'max_values' => 1 }, { 'unit' => 0, 'constraint_type' => 0, 'title' => 'ADF Auto Scan', 'desc' => 'Skips per sheet device setup for faster throughput.', 'max_values' => 1, 'index' => 59, 'cap' => 69, 'name' => 'adf-auto-scan', 'type' => 0, 'val' => 0 }, { 'type' => 3, 'cap' => 69, 'name' => 'double-feed-detection-sensitivity', 'index' => 60, 'val' => 'None', 'max_values' => 1, 'constraint' => [ 'None', 'Low', 'High' ], 'desc' => 'Sets the sensitivity with which multi-sheet page feeds are detected and reported as errors.', 'unit' => 0, 'title' => 'Double Feed Detection Sensitivity', 'constraint_type' => 3 }, { 'desc' => 'Ugly kludge to provide additional status message strings to a frontend.', 'title' => 'Extended SANE Status', 'unit' => 0, 'constraint_type' => 1, 'max_values' => 1, 'constraint' => { 'quant' => 0, 'max' => 2, 'min' => 0 }, 'val' => 0, 'cap' => 68, 'name' => 'ext-sane-status', 'index' => 61, 'type' => 1 }, { 'val' => 1, 'type' => 0, 'index' => 62, 'name' => 'adf-duplex-direction-matches', 'cap' => 68, 'max_values' => 1, 'unit' => 0, 'title' => 'ADF Duplex Direction Matches', 'constraint_type' => 0, 'desc' => 'Indicates whether the device\'s ADF duplex mode, if available, scans in the same direction for the front and back.' }, { 'max_values' => 1, 'desc' => 'Rotate image so it appears upright.', 'unit' => 0, 'title' => 'Deskew', 'constraint_type' => 0, 'val' => 0, 'type' => 0, 'name' => 'deskew', 'cap' => 77, 'index' => 63 }, { 'val' => 0, 'cap' => 77, 'name' => 'autocrop', 'index' => 64, 'type' => 0, 'desc' => 'Determines empty margins in the scanned image and removes them. This normally reduces the image to the size of the original document but may remove more.', 'constraint_type' => 0, 'unit' => 0, 'title' => 'Trim image to paper size', 'max_values' => 1 }, { 'title' => 'Calibrate', 'unit' => 0, 'constraint_type' => 0, 'desc' => 'Performs color matching to make sure that the document\'s color tones are scanned correctly.', 'max_values' => 1, 'index' => 65, 'name' => 'calibrate', 'cap' => 101, 'type' => 4 }, { 'desc' => 'Cleans the scanners reading section.', 'title' => 'Clean', 'constraint_type' => 0, 'unit' => 0, 'max_values' => 1, 'name' => 'clean', 'cap' => 101, 'index' => 66, 'type' => 4 } ], 'hash' => { 'zoom' => $VAR1->{'array'}[21], 'red-gamma-table' => $VAR1->{'array'}[22], 'auto-area-segmentation' => $VAR1->{'array'}[19], 'cct-8' => $VAR1->{'array'}[37], 'y-resolution' => $VAR1->{'array'}[14], 'br-x' => $VAR1->{'array'}[46], 'cct-5' => $VAR1->{'array'}[34], 'scan-area' => $VAR1->{'array'}[43], 'color-correction' => $VAR1->{'array'}[11], 'focus-position' => $VAR1->{'array'}[53], 'film-type' => $VAR1->{'array'}[52], 'speed' => $VAR1->{'array'}[18], 'wait-for-button' => $VAR1->{'array'}[25], 'auto-eject' => $VAR1->{'array'}[51], 'double-feed-detection-sensitivity' => $VAR1->{'array'}[60], 'bay' => $VAR1->{'array'}[54], 'cct-9' => $VAR1->{'array'}[38], 'cct-1' => $VAR1->{'array'}[30], 'contrast' => $VAR1->{'array'}[8], 'adf-mode' => $VAR1->{'array'}[56], 'clean' => $VAR1->{'array'}[66], 'tl-x' => $VAR1->{'array'}[44], 'cct-6' => $VAR1->{'array'}[35], 'deskew' => $VAR1->{'array'}[63], 'ext-sane-status' => $VAR1->{'array'}[61], 'depth' => $VAR1->{'array'}[3], 'preview' => $VAR1->{'array'}[40], 'calibrate' => $VAR1->{'array'}[65], 'eject' => $VAR1->{'array'}[55], 'gamma-correction' => $VAR1->{'array'}[10], 'threshold' => $VAR1->{'array'}[15], 'x-resolution' => $VAR1->{'array'}[13], 'cct-4' => $VAR1->{'array'}[33], 'preview-speed' => $VAR1->{'array'}[41], 'brightness-method' => $VAR1->{'array'}[6], 'short-resolution' => $VAR1->{'array'}[20], 'monitor-button' => $VAR1->{'array'}[26], 'dropout' => $VAR1->{'array'}[5], 'halftoning' => $VAR1->{'array'}[4], 'source' => $VAR1->{'array'}[50], 'sharpness' => $VAR1->{'array'}[9], 'cct-3' => $VAR1->{'array'}[32], 'mirror' => $VAR1->{'array'}[17], 'tl-y' => $VAR1->{'array'}[45], 'brightness' => $VAR1->{'array'}[7], 'detect-doc-size' => $VAR1->{'array'}[57], 'cct-2' => $VAR1->{'array'}[31], 'br-y' => $VAR1->{'array'}[47], 'adf-duplex-direction-matches' => $VAR1->{'array'}[62], 'polling-time' => $VAR1->{'array'}[27], 'blue-gamma-table' => $VAR1->{'array'}[24], 'cct-7' => $VAR1->{'array'}[36], 'needs-polling' => $VAR1->{'array'}[28], 'green-gamma-table' => $VAR1->{'array'}[23], 'autocrop' => $VAR1->{'array'}[64], 'scan-area-is-valid' => $VAR1->{'array'}[58], 'adf-auto-scan' => $VAR1->{'array'}[59], 'mode' => $VAR1->{'array'}[2], 'quick-format' => $VAR1->{'array'}[48], 'resolution' => $VAR1->{'array'}[12] } }, 'Gscan2pdf::Scanner::Options' ); INFO - signal 'finished-process' emitted with data: set_option INFO - sane_set_option 12 (resolution) to 200 returned status Success with info 6 DEBUG - Sane->get_option_descriptor returned: $VAR1 = bless( { 'hash' => { 'tl-y' => { 'val' => '0', 'name' => 'tl-y', 'cap' => 5, 'index' => 45, 'type' => 2, 'desc' => 'Top-left y position of scan area.', 'constraint_type' => 1, 'unit' => 3, 'title' => 'Top-left y', 'max_values' => 1, 'constraint' => { 'max' => '355.599990844727', 'min' => '0', 'quant' => '0' } }, 'brightness' => { 'val' => 0, 'index' => 7, 'name' => 'brightness', 'cap' => 13, 'type' => 1, 'constraint_type' => 1, 'title' => 'Brightness', 'unit' => 0, 'desc' => 'Controls the brightness of the acquired image.', 'max_values' => 1, 'constraint' => { 'quant' => 1, 'max' => 100, 'min' => -100 } }, 'mirror' => { 'val' => 0, 'type' => 0, 'index' => 17, 'cap' => 37, 'name' => 'mirror', 'max_values' => 1, 'title' => 'Mirror image', 'unit' => 0, 'constraint_type' => 0, 'desc' => 'Mirror the image.' }, 'cct-3' => { 'val' => '0', 'type' => 2, 'index' => 32, 'name' => 'cct-3', 'cap' => 77, 'max_values' => 1, 'constraint' => { 'quant' => '0', 'max' => '2', 'min' => '-2' }, 'title' => 'Shift blue to red', 'constraint_type' => 1, 'unit' => 0, 'desc' => 'Adds to red based on blue level' }, 'sharpness' => { 'desc' => '', 'constraint_type' => 1, 'title' => 'Sharpness', 'unit' => 0, 'max_values' => 1, 'constraint' => { 'max' => 2, 'min' => -2, 'quant' => 0 }, 'val' => 0, 'name' => 'sharpness', 'cap' => 37, 'index' => 9, 'type' => 1 }, 'source' => { 'val' => 'Automatic Document Feeder', 'type' => 3, 'index' => 50, 'name' => 'source', 'cap' => 37, 'constraint' => [ 'Automatic Document Feeder' ], 'max_values' => 1, 'unit' => 0, 'title' => 'Scan source', 'constraint_type' => 3, 'desc' => 'Selects the scan source (such as a document-feeder).' }, 'halftoning' => { 'title' => 'Halftoning', 'constraint_type' => 3, 'unit' => 0, 'desc' => 'Selects the halftone.', 'max_values' => 1, 'constraint' => [ 'None', 'Halftone A (Hard Tone)', 'Halftone B (Soft Tone)', 'Halftone C (Net Screen)' ], 'val' => 'None', 'index' => 4, 'cap' => 37, 'name' => 'halftoning', 'type' => 3 }, 'dropout' => { 'max_values' => 1, 'constraint' => [ 'None', 'Red', 'Green', 'Blue' ], 'desc' => 'Selects the dropout.', 'constraint_type' => 3, 'unit' => 0, 'title' => 'Dropout', 'val' => 'None', 'type' => 3, 'name' => 'dropout', 'cap' => 101, 'index' => 5 }, 'monitor-button' => { 'max_values' => 1, 'desc' => 'Indicates whether a button on the scanner has been pressed.', 'unit' => 0, 'title' => 'Monitor Button', 'constraint_type' => 0, 'type' => 0, 'name' => 'monitor-button', 'cap' => 68, 'index' => 26, 'val' => 0 }, 'short-resolution' => { 'val' => 0, 'type' => 0, 'index' => 20, 'cap' => 5, 'name' => 'short-resolution', 'max_values' => 1, 'constraint_type' => 0, 'title' => 'Short resolution list', 'unit' => 0, 'desc' => 'Display short resolution list' }, 'preview-speed' => { 'type' => 0, 'name' => 'preview-speed', 'cap' => 5, 'index' => 41, 'val' => 0, 'max_values' => 1, 'desc' => '', 'constraint_type' => 0, 'title' => 'Speed', 'unit' => 0 }, 'cct-4' => { 'val' => '0', 'type' => 2, 'index' => 33, 'name' => 'cct-4', 'cap' => 77, 'constraint' => { 'quant' => '0', 'max' => '2', 'min' => '-2' }, 'max_values' => 1, 'title' => 'Shift red to green', 'unit' => 0, 'constraint_type' => 1, 'desc' => 'Adds to green based on red level' }, 'brightness-method' => { 'val' => 'iscan', 'cap' => 69, 'name' => 'brightness-method', 'index' => 6, 'type' => 3, 'desc' => 'Selects a method to change the brightness of the acquired image.', 'constraint_type' => 3, 'title' => 'Brightness Method', 'unit' => 0, 'max_values' => 1, 'constraint' => [ 'iscan', 'gimp' ] }, 'x-resolution' => { 'type' => 1, 'index' => 13, 'name' => 'x-resolution', 'cap' => 69, 'val' => 200, 'constraint' => [ 100, 200, 300, 400, 600 ], 'max_values' => 1, 'constraint_type' => 2, 'title' => 'X-resolution', 'unit' => 4, 'desc' => 'Sets the horizontal resolution of the scanned image.' }, 'threshold' => { 'unit' => 0, 'constraint_type' => 1, 'title' => 'Threshold', 'desc' => 'Select minimum-brightness to get a white point', 'constraint' => { 'quant' => 0, 'max' => 255, 'min' => 0 }, 'max_values' => 1, 'index' => 15, 'cap' => 37, 'name' => 'threshold', 'type' => 1, 'val' => 128 }, 'gamma-correction' => { 'desc' => 'Selects the gamma correction value from a list of pre-defined devices or the user defined table, which can be downloaded to the scanner', 'unit' => 0, 'title' => 'Gamma Correction', 'constraint_type' => 3, 'max_values' => 1, 'constraint' => [ 'User defined (Gamma=1.0)', 'User defined (Gamma=1.8)' ], 'name' => 'gamma-correction', 'cap' => 5, 'index' => 10, 'type' => 3, 'val' => 'User defined (Gamma=1.8)' }, 'eject' => { 'max_values' => 1, 'title' => 'Eject', 'constraint_type' => 0, 'unit' => 0, 'desc' => 'Eject the sheet in the ADF', 'type' => 4, 'index' => 55, 'cap' => 5, 'name' => 'eject' }, 'calibrate' => { 'desc' => 'Performs color matching to make sure that the document\'s color tones are scanned correctly.', 'unit' => 0, 'constraint_type' => 0, 'title' => 'Calibrate', 'max_values' => 1, 'cap' => 101, 'name' => 'calibrate', 'index' => 65, 'type' => 4 }, 'preview' => { 'type' => 0, 'name' => 'preview', 'cap' => 5, 'index' => 40, 'val' => 0, 'max_values' => 1, 'desc' => 'Request a preview-quality scan.', 'constraint_type' => 0, 'unit' => 0, 'title' => 'Preview' }, 'depth' => { 'constraint_type' => 2, 'unit' => 0, 'title' => 'Bit depth', 'desc' => 'Number of bits per sample, typical values are 1 for "line-art" and 8 for multibit scans.', 'constraint' => [ 8, 16 ], 'max_values' => 1, 'val' => 8, 'index' => 3, 'name' => 'depth', 'cap' => 5, 'type' => 1 }, 'quick-format' => { 'title' => 'Quick format', 'unit' => 0, 'constraint_type' => 3, 'desc' => 'Select an area to scan based on well-known media sizes. (DEPRECATED)', 'max_values' => 1, 'constraint' => [ 'Maximum', 'A4', 'A5 Landscape', 'A5 Portrait', 'B5', 'Legal', 'Letter', 'Executive', 'CD' ], 'index' => 48, 'name' => 'quick-format', 'cap' => 5, 'type' => 3, 'val' => 'Maximum' }, 'resolution' => { 'type' => 1, 'cap' => 5, 'name' => 'resolution', 'index' => 12, 'val' => 200, 'max_values' => 1, 'constraint' => [ 100, 200, 300, 400, 600 ], 'desc' => 'Sets the resolution of the scanned image.', 'unit' => 4, 'constraint_type' => 2, 'title' => 'Scan resolution' }, 'mode' => { 'index' => 2, 'cap' => 5, 'name' => 'mode', 'type' => 3, 'val' => 'Color', 'constraint_type' => 3, 'title' => 'Scan mode', 'unit' => 0, 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', 'constraint' => [ 'Binary', 'Gray', 'Color' ], 'max_values' => 1 }, 'autocrop' => { 'val' => 0, 'type' => 0, 'name' => 'autocrop', 'cap' => 77, 'index' => 64, 'max_values' => 1, 'desc' => 'Determines empty margins in the scanned image and removes them. This normally reduces the image to the size of the original document but may remove more.', 'constraint_type' => 0, 'title' => 'Trim image to paper size', 'unit' => 0 }, 'adf-auto-scan' => { 'cap' => 69, 'name' => 'adf-auto-scan', 'index' => 59, 'type' => 0, 'val' => 0, 'desc' => 'Skips per sheet device setup for faster throughput.', 'title' => 'ADF Auto Scan', 'constraint_type' => 0, 'unit' => 0, 'max_values' => 1 }, 'scan-area-is-valid' => { 'max_values' => 1, 'desc' => 'Indicates whether the current scan area settings are valid.', 'constraint_type' => 0, 'title' => 'Scan Area Is Valid', 'unit' => 0, 'val' => 1, 'type' => 0, 'name' => 'scan-area-is-valid', 'cap' => 68, 'index' => 58 }, 'cct-7' => { 'unit' => 0, 'title' => 'Shift red to blue', 'constraint_type' => 1, 'desc' => 'Adds to blue based on red level', 'max_values' => 1, 'constraint' => { 'quant' => '0', 'max' => '2', 'min' => '-2' }, 'val' => '0', 'index' => 36, 'name' => 'cct-7', 'cap' => 77, 'type' => 2 }, 'needs-polling' => { 'index' => 28, 'cap' => 68, 'name' => 'needs-polling', 'type' => 0, 'val' => 0, 'unit' => 0, 'constraint_type' => 0, 'title' => 'Needs Polling', 'desc' => 'Indicates whether the scanner needs to poll.', 'max_values' => 1 }, 'green-gamma-table' => { 'title' => 'Green intensity', 'constraint_type' => 1, 'unit' => 0, 'desc' => 'Gamma-correction table for the green band.', 'max_values' => 256, 'constraint' => { 'quant' => 0, 'min' => 0, 'max' => 255 }, 'val' => [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255 ], 'index' => 23, 'name' => 'green-gamma-table', 'cap' => 5, 'type' => 1 }, 'blue-gamma-table' => { 'type' => 1, 'name' => 'blue-gamma-table', 'cap' => 5, 'index' => 24, 'val' => [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255 ], 'max_values' => 256, 'constraint' => { 'min' => 0, 'max' => 255, 'quant' => 0 }, 'desc' => 'Gamma-correction table for the blue band.', 'constraint_type' => 1, 'unit' => 0, 'title' => 'Blue intensity' }, 'polling-time' => { 'type' => 1, 'cap' => 68, 'name' => 'polling-time', 'index' => 27, 'val' => 1000000, 'max_values' => 1, 'desc' => 'Time between queries when waiting for device state changes.', 'constraint_type' => 0, 'title' => 'Polling Time', 'unit' => 6 }, 'adf-duplex-direction-matches' => { 'desc' => 'Indicates whether the device\'s ADF duplex mode, if available, scans in the same direction for the front and back.', 'constraint_type' => 0, 'unit' => 0, 'title' => 'ADF Duplex Direction Matches', 'max_values' => 1, 'val' => 1, 'name' => 'adf-duplex-direction-matches', 'cap' => 68, 'index' => 62, 'type' => 0 }, 'br-y' => { 'type' => 2, 'index' => 47, 'cap' => 5, 'name' => 'br-y', 'val' => '355.599990844727', 'constraint' => { 'quant' => '0', 'max' => '355.599990844727', 'min' => '0' }, 'max_values' => 1, 'title' => 'Bottom-right y', 'unit' => 3, 'constraint_type' => 1, 'desc' => 'Bottom-right y position of scan area.' }, 'cct-2' => { 'desc' => 'Adds to red based on green level', 'title' => 'Shift green to red', 'unit' => 0, 'constraint_type' => 1, 'constraint' => { 'min' => '-2', 'max' => '2', 'quant' => '0' }, 'max_values' => 1, 'val' => '0', 'name' => 'cct-2', 'cap' => 77, 'index' => 31, 'type' => 2 }, 'detect-doc-size' => { 'val' => 0, 'type' => 0, 'index' => 57, 'name' => 'detect-doc-size', 'cap' => 101, 'max_values' => 1, 'constraint_type' => 0, 'title' => 'Auto-detect document size', 'unit' => 0, 'desc' => 'Activates document size auto-detection. The scan area will be set to match the detected document size.' }, 'speed' => { 'val' => 0, 'type' => 0, 'name' => 'speed', 'cap' => 5, 'index' => 18, 'max_values' => 1, 'desc' => 'Determines the speed at which the scan proceeds.', 'title' => 'Scan speed', 'constraint_type' => 0, 'unit' => 0 }, 'film-type' => { 'constraint' => [ 'Positive Film', 'Negative Film' ], 'max_values' => 1, 'constraint_type' => 3, 'unit' => 0, 'title' => 'Film type', 'desc' => '', 'type' => 3, 'index' => 52, 'cap' => 37, 'name' => 'film-type', 'val' => 'Positive Film' }, 'focus-position' => { 'cap' => 101, 'name' => 'focus-position', 'index' => 53, 'type' => 3, 'val' => 'Focus on glass', 'desc' => 'Sets the focus position to either the glass or 2.5mm above the glass', 'constraint_type' => 3, 'unit' => 0, 'title' => 'Focus Position', 'max_values' => 1, 'constraint' => [ 'Focus on glass', 'Focus 2.5mm above glass' ] }, 'color-correction' => { 'unit' => 0, 'constraint_type' => 3, 'title' => 'Color correction', 'desc' => 'Sets the color correction table for the selected output device.', 'max_values' => 1, 'constraint' => [ 'User defined' ], 'val' => 'User defined', 'index' => 11, 'name' => 'color-correction', 'cap' => 101, 'type' => 3 }, 'scan-area' => { 'title' => 'Scan area', 'constraint_type' => 3, 'unit' => 0, 'desc' => 'Select an area to scan based on well-known media sizes.', 'constraint' => [ 'Maximum', 'A4', 'A5 Landscape', 'A5 Portrait', 'B5', 'Legal', 'Letter', 'Executive', 'CD' ], 'max_values' => 1, 'index' => 43, 'cap' => 5, 'name' => 'scan-area', 'type' => 3, 'val' => 'Maximum' }, 'cct-5' => { 'type' => 2, 'cap' => 77, 'name' => 'cct-5', 'index' => 34, 'val' => '1', 'constraint' => { 'quant' => '0', 'min' => '-2', 'max' => '2' }, 'max_values' => 1, 'desc' => 'Controls green level', 'title' => 'Green', 'constraint_type' => 1, 'unit' => 0 }, 'br-x' => { 'index' => 46, 'name' => 'br-x', 'cap' => 5, 'type' => 2, 'val' => '215.899993896484', 'unit' => 3, 'title' => 'Bottom-right x', 'constraint_type' => 1, 'desc' => 'Bottom-right x position of scan area.', 'max_values' => 1, 'constraint' => { 'quant' => '0', 'min' => '0', 'max' => '215.899993896484' } }, 'y-resolution' => { 'val' => 200, 'cap' => 69, 'name' => 'y-resolution', 'index' => 14, 'type' => 1, 'desc' => 'Sets the vertical resolution of the scanned image.', 'constraint_type' => 2, 'unit' => 4, 'title' => 'Y-resolution', 'constraint' => [ 100, 200, 300, 400, 600 ], 'max_values' => 1 }, 'cct-8' => { 'constraint' => { 'quant' => '0', 'max' => '2', 'min' => '-2' }, 'max_values' => 1, 'desc' => 'Adds to blue based on green level', 'title' => 'Shift green to blue', 'constraint_type' => 1, 'unit' => 0, 'val' => '0', 'type' => 2, 'name' => 'cct-8', 'cap' => 77, 'index' => 37 }, 'auto-area-segmentation' => { 'val' => 0, 'type' => 0, 'index' => 19, 'cap' => 37, 'name' => 'auto-area-segmentation', 'max_values' => 1, 'constraint_type' => 0, 'title' => 'Auto area segmentation', 'unit' => 0, 'desc' => '' }, 'red-gamma-table' => { 'type' => 1, 'name' => 'red-gamma-table', 'cap' => 5, 'index' => 22, 'val' => [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255 ], 'constraint' => { 'quant' => 0, 'min' => 0, 'max' => 255 }, 'max_values' => 256, 'desc' => 'Gamma-correction table for the red band.', 'unit' => 0, 'title' => 'Red intensity', 'constraint_type' => 1 }, 'zoom' => { 'constraint' => { 'quant' => 0, 'max' => 200, 'min' => 50 }, 'max_values' => 1, 'desc' => 'Defines the zoom factor the scanner will use', 'constraint_type' => 1, 'unit' => 0, 'title' => 'Zoom', 'type' => 1, 'name' => 'zoom', 'cap' => 37, 'index' => 21, 'val' => 100 }, 'ext-sane-status' => { 'val' => 0, 'index' => 61, 'cap' => 68, 'name' => 'ext-sane-status', 'type' => 1, 'unit' => 0, 'constraint_type' => 1, 'title' => 'Extended SANE Status', 'desc' => 'Ugly kludge to provide additional status message strings to a frontend.', 'max_values' => 1, 'constraint' => { 'quant' => 0, 'min' => 0, 'max' => 2 } }, 'deskew' => { 'val' => 0, 'index' => 63, 'cap' => 77, 'name' => 'deskew', 'type' => 0, 'title' => 'Deskew', 'unit' => 0, 'constraint_type' => 0, 'desc' => 'Rotate image so it appears upright.', 'max_values' => 1 }, 'cct-6' => { 'max_values' => 1, 'constraint' => { 'quant' => '0', 'min' => '-2', 'max' => '2' }, 'title' => 'Shift blue to green', 'constraint_type' => 1, 'unit' => 0, 'desc' => 'Adds to green based on blue level', 'type' => 2, 'index' => 35, 'name' => 'cct-6', 'cap' => 77, 'val' => '0' }, 'tl-x' => { 'unit' => 3, 'title' => 'Top-left x', 'constraint_type' => 1, 'desc' => 'Top-left x position of scan area.', 'max_values' => 1, 'constraint' => { 'quant' => '0', 'max' => '215.899993896484', 'min' => '0' }, 'index' => 44, 'cap' => 5, 'name' => 'tl-x', 'type' => 2, 'val' => '0' }, 'clean' => { 'type' => 4, 'index' => 66, 'cap' => 101, 'name' => 'clean', 'max_values' => 1, 'constraint_type' => 0, 'title' => 'Clean', 'unit' => 0, 'desc' => 'Cleans the scanners reading section.' }, 'adf-mode' => { 'constraint' => [ 'Simplex', 'Duplex' ], 'max_values' => 1, 'unit' => 0, 'title' => 'ADF Mode', 'constraint_type' => 3, 'desc' => 'Selects the ADF mode (simplex/duplex)', 'type' => 3, 'index' => 56, 'cap' => 5, 'name' => 'adf-mode', 'val' => 'Duplex' }, 'cct-1' => { 'constraint' => { 'quant' => '0', 'min' => '-2', 'max' => '2' }, 'max_values' => 1, 'constraint_type' => 1, 'title' => 'Red', 'unit' => 0, 'desc' => 'Controls red level', 'type' => 2, 'index' => 30, 'name' => 'cct-1', 'cap' => 77, 'val' => '1' }, 'contrast' => { 'desc' => 'Controls the contrast of the acquired image.', 'constraint_type' => 1, 'title' => 'Contrast', 'unit' => 0, 'max_values' => 1, 'constraint' => { 'quant' => 1, 'min' => -100, 'max' => 100 }, 'val' => 0, 'cap' => 13, 'name' => 'contrast', 'index' => 8, 'type' => 1 }, 'cct-9' => { 'constraint_type' => 1, 'title' => 'Blue', 'unit' => 0, 'desc' => 'Control blue level', 'max_values' => 1, 'constraint' => { 'min' => '-2', 'max' => '2', 'quant' => '0' }, 'val' => '1', 'index' => 38, 'name' => 'cct-9', 'cap' => 77, 'type' => 2 }, 'bay' => { 'constraint' => [ ' 1 ', ' 2 ', ' 3 ', ' 4 ', ' 5 ', ' 6 ' ], 'max_values' => 1, 'desc' => 'Select bay to scan', 'unit' => 0, 'title' => 'Bay', 'constraint_type' => 3, 'val' => ' 1 ', 'type' => 3, 'cap' => 37, 'name' => 'bay', 'index' => 54 }, 'auto-eject' => { 'val' => 1, 'index' => 51, 'name' => 'auto-eject', 'cap' => 5, 'type' => 0, 'unit' => 0, 'constraint_type' => 0, 'title' => 'Auto eject', 'desc' => 'Eject document after scanning', 'max_values' => 1 }, 'double-feed-detection-sensitivity' => { 'constraint' => [ 'None', 'Low', 'High' ], 'max_values' => 1, 'unit' => 0, 'constraint_type' => 3, 'title' => 'Double Feed Detection Sensitivity', 'desc' => 'Sets the sensitivity with which multi-sheet page feeds are detected and reported as errors.', 'val' => 'None', 'type' => 3, 'index' => 60, 'name' => 'double-feed-detection-sensitivity', 'cap' => 69 }, 'wait-for-button' => { 'max_values' => 1, 'desc' => 'After sending the scan command, wait until the button on the scanner is pressed to actually start the scan process.', 'title' => 'Wait for Button', 'unit' => 0, 'constraint_type' => 0, 'type' => 0, 'name' => 'wait-for-button', 'cap' => 69, 'index' => 25, 'val' => 0 } }, 'geometry' => { 'x' => '215.899993896484', 't' => 0, 'l' => 0, 'y' => '355.599990844727' }, 'array' => [ { 'index' => 0 }, { 'cap' => 0, 'index' => 1, 'type' => 5, 'desc' => '', 'constraint_type' => 0, 'unit' => 0, 'title' => 'Scan Mode', 'max_values' => 1 }, $VAR1->{'hash'}{'mode'}, $VAR1->{'hash'}{'depth'}, $VAR1->{'hash'}{'halftoning'}, $VAR1->{'hash'}{'dropout'}, $VAR1->{'hash'}{'brightness-method'}, $VAR1->{'hash'}{'brightness'}, $VAR1->{'hash'}{'contrast'}, $VAR1->{'hash'}{'sharpness'}, $VAR1->{'hash'}{'gamma-correction'}, $VAR1->{'hash'}{'color-correction'}, $VAR1->{'hash'}{'resolution'}, $VAR1->{'hash'}{'x-resolution'}, $VAR1->{'hash'}{'y-resolution'}, $VAR1->{'hash'}{'threshold'}, { 'cap' => 64, 'index' => 16, 'type' => 5, 'desc' => '', 'unit' => 0, 'title' => 'Advanced', 'constraint_type' => 0, 'max_values' => 1 }, $VAR1->{'hash'}{'mirror'}, $VAR1->{'hash'}{'speed'}, $VAR1->{'hash'}{'auto-area-segmentation'}, $VAR1->{'hash'}{'short-resolution'}, $VAR1->{'hash'}{'zoom'}, $VAR1->{'hash'}{'red-gamma-table'}, $VAR1->{'hash'}{'green-gamma-table'}, $VAR1->{'hash'}{'blue-gamma-table'}, $VAR1->{'hash'}{'wait-for-button'}, $VAR1->{'hash'}{'monitor-button'}, $VAR1->{'hash'}{'polling-time'}, $VAR1->{'hash'}{'needs-polling'}, { 'max_values' => 1, 'constraint_type' => 0, 'unit' => 0, 'title' => 'Color correction coefficients', 'desc' => 'Matrix multiplication of RGB', 'type' => 5, 'index' => 29, 'cap' => 64 }, $VAR1->{'hash'}{'cct-1'}, $VAR1->{'hash'}{'cct-2'}, $VAR1->{'hash'}{'cct-3'}, $VAR1->{'hash'}{'cct-4'}, $VAR1->{'hash'}{'cct-5'}, $VAR1->{'hash'}{'cct-6'}, $VAR1->{'hash'}{'cct-7'}, $VAR1->{'hash'}{'cct-8'}, $VAR1->{'hash'}{'cct-9'}, { 'desc' => '', 'title' => 'Preview', 'unit' => 0, 'constraint_type' => 0, 'max_values' => 1, 'cap' => 64, 'index' => 39, 'type' => 5 }, $VAR1->{'hash'}{'preview'}, $VAR1->{'hash'}{'preview-speed'}, { 'type' => 5, 'index' => 42, 'cap' => 64, 'max_values' => 1, 'unit' => 0, 'constraint_type' => 0, 'title' => 'Geometry', 'desc' => '' }, $VAR1->{'hash'}{'scan-area'}, $VAR1->{'hash'}{'tl-x'}, $VAR1->{'hash'}{'tl-y'}, $VAR1->{'hash'}{'br-x'}, $VAR1->{'hash'}{'br-y'}, $VAR1->{'hash'}{'quick-format'}, { 'type' => 5, 'index' => 49, 'cap' => 64, 'max_values' => 1, 'constraint_type' => 0, 'title' => 'Optional equipment', 'unit' => 0, 'desc' => '' }, $VAR1->{'hash'}{'source'}, $VAR1->{'hash'}{'auto-eject'}, $VAR1->{'hash'}{'film-type'}, $VAR1->{'hash'}{'focus-position'}, $VAR1->{'hash'}{'bay'}, $VAR1->{'hash'}{'eject'}, $VAR1->{'hash'}{'adf-mode'}, $VAR1->{'hash'}{'detect-doc-size'}, $VAR1->{'hash'}{'scan-area-is-valid'}, $VAR1->{'hash'}{'adf-auto-scan'}, $VAR1->{'hash'}{'double-feed-detection-sensitivity'}, $VAR1->{'hash'}{'ext-sane-status'}, $VAR1->{'hash'}{'adf-duplex-direction-matches'}, $VAR1->{'hash'}{'deskew'}, $VAR1->{'hash'}{'autocrop'}, $VAR1->{'hash'}{'calibrate'}, $VAR1->{'hash'}{'clean'} ] }, 'Gscan2pdf::Scanner::Options' ); INFO - signal 'finished-process' emitted with data: set_option WARN - Argument "" isn't numeric in numeric ne (!=) at /usr/share/perl5/Gscan2pdf/Dialog/Scan/Sane.pm line 731. WARN - Argument "" isn't numeric in subroutine entry at /usr/share/perl5/Gscan2pdf/Frontend/Sane.pm line 430. INFO - sane_set_option 51 (auto-eject) to returned status Success with info 0 INFO - signal 'finished-process' emitted with data: set_option DEBUG - Started setting page_number_increment from 1 to 2 DEBUG - Started setting max_pages from 0 to -1 DEBUG - Finished setting max_pages from 0 to -1 DEBUG - Finished setting page_number_increment from 1 to 2 INFO - rotate facing 0 INFO - rotate reverse 0 INFO - unpaper INFO - OCR INFO - gscan2pdf: scanning image of size 1696x2799 pixels at 24 bits/pixel INFO - gscan2pdf: acquiring RGB frame INFO - gscan2pdf: min/max graylevel value = 255/0 INFO - gscan2pdf: read 14241312 bytes in total INFO - Scanned page /tmp/gscan2pdf-nqd8/out1.pnm. (scanner status = 5) DEBUG - $VAR1 = []; INFO - Importing scan with resolution=200 INFO - Header suggests 14241349 INFO - Expecting 14241349, found 14241349 INFO - New page filename /tmp/gscan2pdf-nqd8/out1.pnm, format Portable anymap INFO - Added /tmp/gscan2pdf-nqd8/ehJIfVK6Tk.pnm at page 1 with resolution 200 DEBUG - Started setting page_number_start from 1 to 3 DEBUG - Finished setting page_number_start from 1 to 3 INFO - gscan2pdf: sane_start: Invalid argument INFO - signal 'process-error' emitted with data: scan_pages Invalid argument DEBUG - $VAR1 = [ [ 1, bless( {}, 'Gtk2::Gdk::Pixbuf' ), bless( { 'h' => 2799, 'delete' => 1, 'format' => 'Portable anymap', 'window' => bless( {}, 'Gtk2::Window' ), 'dir' => bless( { 'DIRNAME' => '/tmp/gscan2pdf-nqd8', 'LAUNCHPID' => 3091, 'REALNAME' => '/tmp/gscan2pdf-nqd8', 'CLEANUP' => 1 }, 'File::Temp::Dir' ), 'w' => 1696, 'filename' => bless( \*{'File::Temp::$fh'}, 'File::Temp' ), 'resolution' => 200 }, 'Gscan2pdf::Page' ) ] ]; DEBUG - Started setting page_number_start from 3 to 1 DEBUG - Finished setting page_number_start from 3 to 1 INFO - Wrote config to /home/ar/.gscan2pdf INFO - Killing Sane thread(s) INFO - Killing document thread(s) DEBUG - Quitting