gscan2pdf --log=log > gscan2pdf.log INFO - Starting gscan2pdf 1.3.2 INFO - Log level DEBUG INFO - Using nl_NL.UTF-8 locale INFO - Startup LC_NUMERIC C INFO - Reading config from /home/kat/.gscan2pdf INFO - You are running ubuntu, version 14.04 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.2 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 = { 'unsharp radius' => '0', 'threshold tool' => '80', 'unpaper options' => { 'no-deskew' => '', 'deskew-scan-direction' => 'left,right', 'border-margin' => '0,0', 'no-border-scan' => '', 'no-mask-scan' => '', 'white-threshold' => '0.9', 'no-noisefilter' => '', 'no-border-align' => '', 'no-grayfilter' => '', 'no-blackfilter' => '', 'layout' => 'single', 'output-pages' => '1', 'black-threshold' => '0.33', 'no-blurfilter' => '' }, 'window_maximize' => '1', 'available-tmp-warning' => '10', 'author' => '', 'ocr engine' => 'tesseract', 'default filename' => '%a %y-%m-%d - %t', 'user_defined_tools' => 'gimp %i', 'libsane-perl version' => '0.05', 'cycle sane handle' => '', 'scan prefix' => '', 'window_y' => '24', 'layout' => 'single', 'startup warning' => '1', 'SANE version' => '1.0.23', 'Dark threshold' => '0.12', 'Paper size' => 'A4', 'cwd' => '/net/ds/volume1/g1accounting/2015/Maart2015/Zakelijk', 'scan-reload-triggers' => 'mode', 'quality' => '75', 'selection' => [ '15', '2', '2467', '3310' ], 'rotate facing' => '0', 'visible-scan-options' => { 'threshold' => '1', 'Paper size' => '1', 'y' => '1', 'compression' => '1', 'overscan-bottom' => '1', 'pageheight' => '1', 'overscan-top' => '1', 'adf_mode' => '1', 'adf-mode' => '1', 'button-wait' => '1', 'page-width' => '1', 'wait-for-button' => '1', 'gain' => '1', 'x' => '1', 'resolution' => '1', 'batch-scan' => '1', 'calibration-cache' => '1', 't' => '1', 'page-height' => '1', 'mode' => '1', 'l' => '1', 'brightness' => '1', 'source' => '1', 'pagewidth' => '1', 'contrast' => '1', 'speed' => '1' }, 'Paper' => { 'US Letter' => { 't' => '0', 'y' => '279', 'x' => '216', 'l' => '0' }, 'A4' => { 'l' => '0', 'x' => '210', 't' => '0', 'y' => '297' }, 'US Legal' => { 'y' => '356', 't' => '0', 'l' => '0', 'x' => '216' } }, 'resolution' => '75', 'pages to scan' => '0', 'ocr language' => 'eng', 'keywords' => '', 'Page range' => 'selected', 'device' => 'epkowa:interpreter:001:007', 'unsharp sigma' => '1', 'cache options' => '1', 'pdf font' => '/usr/share/fonts/truetype/abyssinica/AbyssinicaSIL-R.ttf', 'date offset' => '-4', 'unpaper on scan' => '', 'default-scan-options' => [ { 'br-x' => '210' }, { 'br-y' => '297' }, { 'adf-mode' => 'Duplex' }, { 'resolution' => '200' } ], 'window_height' => '1576', 'OCR output' => 'replace', 'window_width' => '2495', 'scan_window_width' => '816', 'OCR on scan' => '', 'unsharp amount' => '1', 'auto-open-scan-dialog' => '1', 'pdf compression' => 'auto', 'image type' => 'pdf', 'version' => '1.3.2', 'title' => '', 'window_x' => '65', 'frontend' => 'libsane-perl', 'rotate reverse' => '0', 'scan_window_height' => '649', 'subject' => '', 'downsample' => '', 'downsample dpi' => '150', 'profile' => {}, 'thumb panel' => '100', 'Blank threshold' => '0.005', 'restore window' => '1', 'view files toggle' => '', 'unsharp threshold' => '0.05' }; 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-SN6R for temporary files DEBUG - Set logger in Gscan2pdf::Dialog::Scan::Sane DEBUG - Set logger in Gscan2pdf::Dialog::Scan INFO - Found tesseract language eng INFO - Found tesseract language osd INFO - Found tesseract language equ INFO - Sane->get_devices returned: $VAR1 = [ { 'type' => 'all-in-one', 'name' => 'hpaio:/usb/Photosmart_7510_series?serial=CN25L3409705PX', 'vendor' => 'Hewlett-Packard', 'model' => 'Photosmart_7510_series' }, { 'vendor' => 'Epson', 'model' => 'GT-S80', 'type' => 'flatbed scanner', 'name' => 'epkowa:interpreter:001:008' } ]; DEBUG - Started setting device_list from undef to $VAR1 = [ { 'type' => 'all-in-one', 'name' => 'hpaio:/usb/Photosmart_7510_series?serial=CN25L3409705PX', 'vendor' => 'Hewlett-Packard', 'model' => 'Photosmart_7510_series' }, { 'vendor' => 'Epson', 'model' => 'GT-S80', 'type' => 'flatbed scanner', 'name' => 'epkowa:interpreter:001:008' } ]; INFO - signal 'changed-device-list' emitted with data: $VAR1 = [ { 'model' => 'Photosmart_7510_series', 'vendor' => 'Hewlett-Packard', 'label' => 'Hewlett-Packard Photosmart_7510_series', 'name' => 'hpaio:/usb/Photosmart_7510_series?serial=CN25L3409705PX', 'type' => 'all-in-one' }, { 'model' => 'GT-S80', 'vendor' => 'Epson', 'label' => 'Epson GT-S80', 'name' => 'epkowa:interpreter:001:008', 'type' => 'flatbed scanner' } ]; DEBUG - Started setting device from to hpaio:/usb/Photosmart_7510_series?serial=CN25L3409705PX INFO - signal 'changed-device' emitted with data: 'hpaio:/usb/Photosmart_7510_series?serial=CN25L3409705PX' DEBUG - Finished setting device from to hpaio:/usb/Photosmart_7510_series?serial=CN25L3409705PX DEBUG - Finished setting device_list from undef to $VAR1 = [ { 'model' => 'Photosmart_7510_series', 'vendor' => 'Hewlett-Packard', 'label' => 'Hewlett-Packard Photosmart_7510_series', 'name' => 'hpaio:/usb/Photosmart_7510_series?serial=CN25L3409705PX', 'type' => 'all-in-one' }, { 'model' => 'GT-S80', 'vendor' => 'Epson', 'label' => 'Epson GT-S80', 'name' => 'epkowa:interpreter:001:008', 'type' => 'flatbed scanner' } ]; DEBUG - opening device 'hpaio:/usb/Photosmart_7510_series?serial=CN25L3409705PX': Success INFO - signal 'finished-process' emitted with data: open_device DEBUG - Sane->get_option_descriptor returned: $VAR1 = bless( { 'hash' => { 'contrast' => { 'unit' => 0, 'type' => 1, 'constraint' => { 'min' => 0, 'quant' => 0, 'max' => 2000 }, 'desc' => 'Controls the contrast of the acquired image.', 'index' => 7, 'val' => 1000, 'name' => 'contrast', 'constraint_type' => 1, 'max_values' => 1, 'cap' => 69, 'title' => 'Contrast' }, 'br-y' => { 'max_values' => 1, 'constraint_type' => 1, 'title' => 'Bottom-right y', 'cap' => 5, 'val' => '297.010681152344', 'index' => 14, 'name' => 'br-y', 'desc' => 'Bottom-right y position of scan area.', 'constraint' => { 'quant' => '0', 'min' => '0', 'max' => '297.010681152344' }, 'type' => 2, 'unit' => 3 }, 'tl-x' => { 'unit' => 3, 'type' => 2, 'constraint' => { 'min' => '0', 'quant' => '0', 'max' => '215.900009155273' }, 'desc' => 'Top-left x position of scan area.', 'name' => 'tl-x', 'index' => 11, 'val' => '0', 'constraint_type' => 1, 'max_values' => 1, 'cap' => 5, 'title' => 'Top-left x' }, 'source' => { 'title' => 'Scan source', 'cap' => 5, 'constraint_type' => 3, 'max_values' => 1, 'desc' => 'Selects the scan source (such as a document-feeder).', 'constraint' => [ 'Flatbed', 'ADF' ], 'val' => 'Flatbed', 'index' => 4, 'name' => 'source', 'unit' => 0, 'type' => 3 }, 'brightness' => { 'max_values' => 1, 'constraint_type' => 1, 'cap' => 69, 'title' => 'Brightness', 'unit' => 0, 'type' => 1, 'constraint' => { 'max' => 2000, 'min' => 0, 'quant' => 0 }, 'desc' => 'Controls the brightness of the acquired image.', 'name' => 'brightness', 'index' => 6, 'val' => 1000 }, 'mode' => { 'unit' => 0, 'type' => 3, 'constraint' => [ 'Lineart', 'Gray', 'Color' ], 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', 'val' => 'Lineart', 'index' => 2, 'name' => 'mode', 'cap' => 5, 'title' => 'Scan mode', 'max_values' => 1, 'constraint_type' => 3 }, 'mode-group' => { 'constraint_type' => 0, 'max_values' => 0, 'cap' => 0, 'title' => 'Scan mode', 'unit' => 0, 'type' => 5, 'name' => 'mode-group', 'index' => 1 }, 'advanced-group' => { 'cap' => 64, 'title' => 'Advanced', 'max_values' => 0, 'constraint_type' => 0, 'unit' => 0, 'type' => 5, 'index' => 5, 'name' => 'advanced-group' }, 'resolution' => { 'val' => 75, 'index' => 3, 'name' => 'resolution', 'desc' => 'Sets the resolution of the scanned image.', 'constraint' => [ 75, 100, 200, 300, 600 ], 'type' => 1, 'unit' => 4, 'title' => 'Scan resolution', 'cap' => 5, 'constraint_type' => 2, 'max_values' => 1 }, 'jpeg-quality' => { 'constraint_type' => 1, 'max_values' => 1, 'title' => 'JPEG compression factor', 'cap' => 101, 'constraint' => { 'quant' => 0, 'min' => 0, 'max' => 100 }, 'desc' => 'Sets the scanner JPEG compression factor. Larger numbers mean better compression, and smaller numbers mean better image quality.', 'index' => 9, 'name' => 'jpeg-quality', 'unit' => 0, 'type' => 1 }, 'tl-y' => { 'title' => 'Top-left y', 'cap' => 5, 'constraint_type' => 1, 'max_values' => 1, 'name' => 'tl-y', 'index' => 12, 'val' => '0', 'constraint' => { 'max' => '297.010681152344', 'quant' => '0', 'min' => '0' }, 'desc' => 'Top-left y position of scan area.', 'type' => 2, 'unit' => 3 }, 'compression' => { 'title' => 'Compression', 'cap' => 69, 'constraint_type' => 3, 'max_values' => 1, 'desc' => 'Selects the scanner compression method for faster scans, possibly at the expense of image quality.', 'constraint' => [ 'JPEG' ], 'index' => 8, 'name' => 'compression', 'val' => 'JPEG', 'unit' => 0, 'type' => 3 }, 'geometry-group' => { 'index' => 10, 'name' => 'geometry-group', 'type' => 5, 'unit' => 0, 'title' => 'Geometry', 'cap' => 64, 'constraint_type' => 0, 'max_values' => 0 }, 'br-x' => { 'type' => 2, 'unit' => 3, 'index' => 13, 'name' => 'br-x', 'val' => '215.900009155273', 'desc' => 'Bottom-right x position of scan area.', 'constraint' => { 'min' => '0', 'quant' => '0', 'max' => '215.900009155273' }, 'cap' => 5, 'title' => 'Bottom-right x', 'constraint_type' => 1, 'max_values' => 1 } }, 'array' => [ { 'index' => 0 }, $VAR1->{'hash'}{'mode-group'}, $VAR1->{'hash'}{'mode'}, $VAR1->{'hash'}{'resolution'}, $VAR1->{'hash'}{'source'}, $VAR1->{'hash'}{'advanced-group'}, $VAR1->{'hash'}{'brightness'}, $VAR1->{'hash'}{'contrast'}, $VAR1->{'hash'}{'compression'}, $VAR1->{'hash'}{'jpeg-quality'}, $VAR1->{'hash'}{'geometry-group'}, $VAR1->{'hash'}{'tl-x'}, $VAR1->{'hash'}{'tl-y'}, $VAR1->{'hash'}{'br-x'}, $VAR1->{'hash'}{'br-y'} ], 'geometry' => { 'y' => '297.010681152344', 't' => 0, 'x' => '215.900009155273', 'l' => 0 } }, '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(0x43e28f0) DEBUG - Started setting paper_formats from undef to $VAR1 = { 'US Letter' => { 't' => '0', 'y' => '279', 'x' => '216', 'l' => '0' }, 'A4' => { 'l' => '0', 'x' => '210', 't' => '0', 'y' => '297' }, 'US Legal' => { 'y' => '356', 't' => '0', 'l' => '0', 'x' => '216' } }; DEBUG - Finished setting paper_formats from undef to $VAR1 = { 'US Letter' => { 't' => 0, 'y' => 279, 'x' => 216, 'l' => 0 }, 'A4' => { 'l' => 0, 'x' => 210, 't' => 0, 'y' => 297 }, 'US Legal' => { 'y' => 356, 't' => 0, 'l' => 0, 'x' => 216 } }; DEBUG - Started setting paper from undef to A4 INFO - sane_set_option 13 (br-x) to 210 returned status Success with info 4 DEBUG - Finished setting paper from undef to A4 INFO - sane_set_option 14 (br-y) to 297 returned status Success with info 4 DEBUG - Started setting current_scan_options from $VAR1 = [ { 'br-x' => '210' }, { 'br-y' => '297' } ]; to $VAR1 = [ { 'br-x' => '210' }, { 'br-y' => '297' }, { 'adf-mode' => 'Duplex' }, { 'resolution' => '200' } ]; WARN - Widget for option 'adf-mode' undefined. INFO - sane_set_option 3 (resolution) to 200 returned status Success with info 4 DEBUG - Finished setting current_scan_options from $VAR1 = [ { 'br-x' => '210' }, { 'br-y' => '297' } ]; to $VAR1 = [ { 'br-x' => '210' }, { 'br-y' => '297' }, { 'adf-mode' => 'Duplex' }, { 'resolution' => 200 } ]; DEBUG - Finished setting available_scan_options from undef to Gscan2pdf::Scanner::Options=HASH(0x43e28f0) INFO - signal 'finished-process' emitted with data: set_option INFO - signal 'finished-process' emitted with data: set_option INFO - signal 'finished-process' emitted with data: set_option DEBUG - Started setting device from hpaio:/usb/Photosmart_7510_series?serial=CN25L3409705PX to epkowa:interpreter:001:008 INFO - signal 'changed-device' emitted with data: 'epkowa:interpreter:001:008' DEBUG - Finished setting device from hpaio:/usb/Photosmart_7510_series?serial=CN25L3409705PX to epkowa:interpreter:001:008 DEBUG - opening device 'epkowa:interpreter:001:008': Success INFO - signal 'finished-process' emitted with data: open_device DEBUG - Sane->get_option_descriptor returned: $VAR1 = bless( { 'hash' => { 'preview' => { 'max_values' => 1, 'constraint_type' => 0, 'cap' => 5, 'title' => 'Preview', 'unit' => 0, 'type' => 0, 'desc' => 'Request a preview-quality scan.', 'val' => 0, 'index' => 40, 'name' => 'preview' }, 'calibrate' => { 'cap' => 101, 'title' => 'Calibrate', 'constraint_type' => 0, 'max_values' => 1, 'type' => 4, 'unit' => 0, 'index' => 65, 'name' => 'calibrate', 'desc' => 'Performs color matching to make sure that the document\'s color tones are scanned correctly.' }, 'autocrop' => { 'index' => 64, 'name' => 'autocrop', 'val' => 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.', 'type' => 0, 'unit' => 0, 'title' => 'Trim image to paper size', 'cap' => 77, 'max_values' => 1, 'constraint_type' => 0 }, 'adf-duplex-direction-matches' => { 'cap' => 68, 'title' => 'ADF Duplex Direction Matches', 'constraint_type' => 0, 'max_values' => 1, 'unit' => 0, 'type' => 0, 'desc' => 'Indicates whether the device\'s ADF duplex mode, if available, scans in the same direction for the front and back.', 'val' => 1, 'index' => 62, 'name' => 'adf-duplex-direction-matches' }, 'adf-mode' => { 'name' => 'adf-mode', 'index' => 56, 'val' => 'Simplex', 'desc' => 'Selects the ADF mode (simplex/duplex)', 'constraint' => [ 'Simplex', 'Duplex' ], 'type' => 3, 'unit' => 0, 'title' => 'ADF Mode', 'cap' => 5, 'constraint_type' => 3, 'max_values' => 1 }, 'auto-eject' => { 'desc' => 'Eject document after scanning', 'name' => 'auto-eject', 'index' => 51, 'val' => 1, 'unit' => 0, 'type' => 0, 'title' => 'Auto eject', 'cap' => 5, 'max_values' => 1, 'constraint_type' => 0 }, 'detect-doc-size' => { 'type' => 0, 'unit' => 0, 'name' => 'detect-doc-size', 'index' => 57, 'desc' => 'Activates document size auto-detection. The scan area will be set to match the detected document size.', 'cap' => 101, 'title' => 'Auto-detect document size', 'max_values' => 1, 'constraint_type' => 0 }, 'threshold' => { 'unit' => 0, 'type' => 1, 'constraint' => { 'min' => 0, 'quant' => 0, 'max' => 255 }, 'desc' => 'Select minimum-brightness to get a white point', 'index' => 15, 'name' => 'threshold', 'cap' => 37, 'title' => 'Threshold', 'constraint_type' => 1, 'max_values' => 1 }, 'sharpness' => { 'type' => 1, 'unit' => 0, 'name' => 'sharpness', 'index' => 9, 'desc' => '', 'constraint' => { 'quant' => 0, 'min' => -2, 'max' => 2 }, 'constraint_type' => 1, 'max_values' => 1, 'cap' => 37, 'title' => 'Sharpness' }, 'bay' => { 'constraint_type' => 3, 'max_values' => 1, 'cap' => 37, 'title' => 'Bay', 'type' => 3, 'unit' => 0, 'name' => 'bay', 'index' => 54, 'desc' => 'Select bay to scan', 'constraint' => [ ' 1 ', ' 2 ', ' 3 ', ' 4 ', ' 5 ', ' 6 ' ] }, 'y-resolution' => { 'val' => 300, 'index' => 14, 'name' => 'y-resolution', 'constraint' => [ 100, 200, 300, 400, 600 ], 'desc' => 'Sets the vertical resolution of the scanned image.', 'type' => 1, 'unit' => 4, 'title' => 'Y-resolution', 'cap' => 69, 'max_values' => 1, 'constraint_type' => 2 }, 'scan-area' => { 'type' => 3, 'unit' => 0, 'name' => 'scan-area', 'index' => 43, 'val' => 'Maximum', 'constraint' => [ 'Maximum', 'A4', 'A5 Landscape', 'A5 Portrait', 'B5', 'Legal', 'Letter', 'Executive', 'CD' ], 'desc' => 'Select an area to scan based on well-known media sizes.', 'cap' => 5, 'title' => 'Scan area', 'constraint_type' => 3, 'max_values' => 1 }, 'short-resolution' => { 'constraint_type' => 0, 'max_values' => 1, 'cap' => 5, 'title' => 'Short resolution list', 'unit' => 0, 'type' => 0, 'desc' => 'Display short resolution list', 'val' => 0, 'index' => 20, 'name' => 'short-resolution' }, 'green-gamma-table' => { 'unit' => 0, 'type' => 1, 'constraint' => { 'max' => 255, 'quant' => 0, 'min' => 0 }, 'desc' => 'Gamma-correction table for the green band.', 'index' => 23, 'name' => 'green-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 ], 'cap' => 5, 'title' => 'Green intensity', 'max_values' => 256, 'constraint_type' => 1 }, 'deskew' => { 'type' => 0, 'unit' => 0, 'val' => 0, 'index' => 63, 'name' => 'deskew', 'desc' => 'Rotate image so it appears upright.', 'max_values' => 1, 'constraint_type' => 0, 'cap' => 77, 'title' => 'Deskew' }, 'quick-format' => { 'index' => 48, 'name' => 'quick-format', 'val' => 'Maximum', 'constraint' => [ 'Maximum', 'A4', 'A5 Landscape', 'A5 Portrait', 'B5', 'Legal', 'Letter', 'Executive', 'CD' ], 'desc' => 'Select an area to scan based on well-known media sizes. (DEPRECATED)', 'type' => 3, 'unit' => 0, 'title' => 'Quick format', 'cap' => 5, 'max_values' => 1, 'constraint_type' => 3 }, 'polling-time' => { 'desc' => 'Time between queries when waiting for device state changes.', 'name' => 'polling-time', 'index' => 27, 'val' => 1000000, 'unit' => 6, 'type' => 1, 'title' => 'Polling Time', 'cap' => 68, 'max_values' => 1, 'constraint_type' => 0 }, 'cct-2' => { 'constraint_type' => 1, 'max_values' => 1, 'title' => 'Shift green to red', 'cap' => 77, 'index' => 31, 'name' => 'cct-2', 'val' => '0', 'constraint' => { 'quant' => '0', 'min' => '-2', 'max' => '2' }, 'desc' => 'Adds to red based on green level', 'type' => 2, 'unit' => 0 }, 'adf-auto-scan' => { 'name' => 'adf-auto-scan', 'index' => 59, 'val' => 0, 'desc' => 'Skips per sheet device setup for faster throughput.', 'type' => 0, 'unit' => 0, 'title' => 'ADF Auto Scan', 'cap' => 69, 'constraint_type' => 0, 'max_values' => 1 }, 'double-feed-detection-sensitivity' => { 'unit' => 0, 'type' => 3, 'desc' => 'Sets the sensitivity with which multi-sheet page feeds are detected and reported as errors.', 'constraint' => [ 'None', 'Low', 'High' ], 'index' => 60, 'val' => 'None', 'name' => 'double-feed-detection-sensitivity', 'cap' => 69, 'title' => 'Double Feed Detection Sensitivity', 'max_values' => 1, 'constraint_type' => 3 }, 'contrast' => { 'constraint' => { 'max' => 100, 'quant' => 1, 'min' => -100 }, 'desc' => 'Controls the contrast of the acquired image.', 'name' => 'contrast', 'index' => 8, 'val' => 0, 'unit' => 0, 'type' => 1, 'title' => 'Contrast', 'cap' => 13, 'constraint_type' => 1, 'max_values' => 1 }, 'cct-8' => { 'type' => 2, 'unit' => 0, 'index' => 37, 'name' => 'cct-8', 'val' => '0', 'constraint' => { 'quant' => '0', 'min' => '-2', 'max' => '2' }, 'desc' => 'Adds to blue based on green level', 'max_values' => 1, 'constraint_type' => 1, 'cap' => 77, 'title' => 'Shift green to blue' }, 'source' => { 'title' => 'Scan source', 'cap' => 37, 'max_values' => 1, 'constraint_type' => 3, 'desc' => 'Selects the scan source (such as a document-feeder).', 'constraint' => [ 'Automatic Document Feeder' ], 'name' => 'source', 'index' => 50, 'unit' => 0, 'type' => 3 }, 'clean' => { 'title' => 'Clean', 'cap' => 101, 'constraint_type' => 0, 'max_values' => 1, 'desc' => 'Cleans the scanners reading section.', 'index' => 66, 'name' => 'clean', 'unit' => 0, 'type' => 4 }, 'eject' => { 'cap' => 5, 'title' => 'Eject', 'constraint_type' => 0, 'max_values' => 1, 'type' => 4, 'unit' => 0, 'name' => 'eject', 'index' => 55, 'desc' => 'Eject the sheet in the ADF' }, 'preview-speed' => { 'max_values' => 1, 'constraint_type' => 0, 'title' => 'Speed', 'cap' => 5, 'desc' => '', 'index' => 41, 'val' => 0, 'name' => 'preview-speed', 'unit' => 0, 'type' => 0 }, 'br-x' => { 'constraint_type' => 1, 'max_values' => 1, 'title' => 'Bottom-right x', 'cap' => 5, 'name' => 'br-x', 'index' => 46, 'val' => '215.899993896484', 'desc' => 'Bottom-right x position of scan area.', 'constraint' => { 'max' => '215.899993896484', 'quant' => '0', 'min' => '0' }, 'type' => 2, 'unit' => 3 }, 'monitor-button' => { 'type' => 0, 'unit' => 0, 'index' => 26, 'val' => 0, 'name' => 'monitor-button', 'desc' => 'Indicates whether a button on the scanner has been pressed.', 'constraint_type' => 0, 'max_values' => 1, 'cap' => 68, 'title' => 'Monitor Button' }, 'auto-area-segmentation' => { 'constraint_type' => 0, 'max_values' => 1, 'cap' => 37, 'title' => 'Auto area segmentation', 'unit' => 0, 'type' => 0, 'desc' => '', 'name' => 'auto-area-segmentation', 'index' => 19 }, 'halftoning' => { 'index' => 4, 'name' => 'halftoning', 'constraint' => [ 'None', 'Halftone A (Hard Tone)', 'Halftone B (Soft Tone)', 'Halftone C (Net Screen)' ], 'desc' => 'Selects the halftone.', 'type' => 3, 'unit' => 0, 'title' => 'Halftoning', 'cap' => 37, 'constraint_type' => 3, 'max_values' => 1 }, 'brightness-method' => { 'unit' => 0, 'type' => 3, 'desc' => 'Selects a method to change the brightness of the acquired image.', 'constraint' => [ 'iscan', 'gimp' ], 'index' => 6, 'val' => 'iscan', 'name' => 'brightness-method', 'cap' => 69, 'title' => 'Brightness Method', 'max_values' => 1, 'constraint_type' => 3 }, 'cct-1' => { 'desc' => 'Controls red level', 'constraint' => { 'max' => '2', 'quant' => '0', 'min' => '-2' }, 'index' => 30, 'val' => '1', 'name' => 'cct-1', 'unit' => 0, 'type' => 2, 'constraint_type' => 1, 'max_values' => 1, 'title' => 'Red', 'cap' => 77 }, 'br-y' => { 'title' => 'Bottom-right y', 'cap' => 5, 'max_values' => 1, 'constraint_type' => 1, 'val' => '355.599990844727', 'index' => 47, 'name' => 'br-y', 'constraint' => { 'quant' => '0', 'min' => '0', 'max' => '355.599990844727' }, 'desc' => 'Bottom-right y position of scan area.', 'type' => 2, 'unit' => 3 }, 'tl-x' => { 'type' => 2, 'unit' => 3, 'val' => '0', 'index' => 44, 'name' => 'tl-x', 'desc' => 'Top-left x position of scan area.', 'constraint' => { 'min' => '0', 'quant' => '0', 'max' => '215.899993896484' }, 'max_values' => 1, 'constraint_type' => 1, 'cap' => 5, 'title' => 'Top-left x' }, 'focus-position' => { 'max_values' => 1, 'constraint_type' => 3, 'cap' => 101, 'title' => 'Focus Position', 'type' => 3, 'unit' => 0, 'index' => 53, 'name' => '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' ] }, 'red-gamma-table' => { 'desc' => 'Gamma-correction table for the red band.', 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'name' => 'red-gamma-table', '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 ], 'unit' => 0, 'type' => 1, 'max_values' => 256, 'constraint_type' => 1, 'title' => 'Red intensity', 'cap' => 5 }, 'color-correction' => { 'cap' => 101, 'title' => 'Color correction', 'max_values' => 1, 'constraint_type' => 3, 'unit' => 0, 'type' => 3, 'desc' => 'Sets the color correction table for the selected output device.', 'constraint' => [ 'User defined' ], 'name' => 'color-correction', 'index' => 11 }, 'cct-3' => { 'val' => '0', 'index' => 32, 'name' => 'cct-3', 'constraint' => { 'max' => '2', 'min' => '-2', 'quant' => '0' }, 'desc' => 'Adds to red based on blue level', 'type' => 2, 'unit' => 0, 'title' => 'Shift blue to red', 'cap' => 77, 'max_values' => 1, 'constraint_type' => 1 }, 'tl-y' => { 'constraint' => { 'max' => '355.599990844727', 'min' => '0', 'quant' => '0' }, 'desc' => 'Top-left y position of scan area.', 'index' => 45, 'val' => '0', 'name' => 'tl-y', 'unit' => 3, 'type' => 2, 'title' => 'Top-left y', 'cap' => 5, 'constraint_type' => 1, 'max_values' => 1 }, 'dropout' => { 'max_values' => 1, 'constraint_type' => 3, 'cap' => 101, 'title' => 'Dropout', 'unit' => 0, 'type' => 3, 'desc' => 'Selects the dropout.', 'constraint' => [ 'None', 'Red', 'Green', 'Blue' ], 'name' => 'dropout', 'index' => 5 }, 'cct-9' => { 'constraint' => { 'quant' => '0', 'min' => '-2', 'max' => '2' }, 'desc' => 'Control blue level', 'index' => 38, 'name' => 'cct-9', 'val' => '1', 'unit' => 0, 'type' => 2, 'constraint_type' => 1, 'max_values' => 1, 'title' => 'Blue', 'cap' => 77 }, 'ext-sane-status' => { 'title' => 'Extended SANE Status', 'cap' => 68, 'max_values' => 1, 'constraint_type' => 1, 'index' => 61, 'name' => 'ext-sane-status', 'val' => 0, 'constraint' => { 'max' => 2, 'quant' => 0, 'min' => 0 }, 'desc' => 'Ugly kludge to provide additional status message strings to a frontend.', 'type' => 1, 'unit' => 0 }, 'cct-7' => { 'max_values' => 1, 'constraint_type' => 1, 'cap' => 77, 'title' => 'Shift red to blue', 'type' => 2, 'unit' => 0, 'name' => 'cct-7', 'index' => 36, 'val' => '0', 'constraint' => { 'quant' => '0', 'min' => '-2', 'max' => '2' }, 'desc' => 'Adds to blue based on red level' }, 'cct-4' => { 'val' => '0', 'index' => 33, 'name' => 'cct-4', 'desc' => 'Adds to green based on red level', 'constraint' => { 'min' => '-2', 'quant' => '0', 'max' => '2' }, 'type' => 2, 'unit' => 0, 'max_values' => 1, 'constraint_type' => 1, 'title' => 'Shift red to green', 'cap' => 77 }, 'mode' => { 'max_values' => 1, 'constraint_type' => 3, 'cap' => 5, 'title' => 'Scan mode', 'type' => 3, 'unit' => 0, 'index' => 2, 'name' => 'mode', 'val' => 'Color', 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', 'constraint' => [ 'Binary', 'Gray', 'Color' ] }, 'film-type' => { 'max_values' => 1, 'constraint_type' => 3, 'cap' => 37, 'title' => 'Film type', 'unit' => 0, 'type' => 3, 'desc' => '', 'constraint' => [ 'Positive Film', 'Negative Film' ], 'name' => 'film-type', 'index' => 52 }, 'cct-5' => { 'constraint_type' => 1, 'max_values' => 1, 'cap' => 77, 'title' => 'Green', 'type' => 2, 'unit' => 0, 'index' => 34, 'val' => '1', 'name' => 'cct-5', 'constraint' => { 'min' => '-2', 'quant' => '0', 'max' => '2' }, 'desc' => 'Controls green level' }, 'x-resolution' => { 'unit' => 4, 'type' => 1, 'desc' => 'Sets the horizontal resolution of the scanned image.', 'constraint' => [ 100, 200, 300, 400, 600 ], 'index' => 13, 'name' => 'x-resolution', 'val' => 300, 'cap' => 69, 'title' => 'X-resolution', 'constraint_type' => 2, 'max_values' => 1 }, 'mirror' => { 'index' => 17, 'name' => 'mirror', 'desc' => 'Mirror the image.', 'type' => 0, 'unit' => 0, 'constraint_type' => 0, 'max_values' => 1, 'title' => 'Mirror image', 'cap' => 37 }, 'depth' => { 'unit' => 0, 'type' => 1, 'desc' => 'Number of bits per sample, typical values are 1 for "line-art" and 8 for multibit scans.', 'constraint' => [ 8, 16 ], 'index' => 3, 'name' => 'depth', 'val' => 8, 'cap' => 5, 'title' => 'Bit depth', 'max_values' => 1, 'constraint_type' => 2 }, 'blue-gamma-table' => { 'type' => 1, 'unit' => 0, '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 ], 'name' => 'blue-gamma-table', 'desc' => 'Gamma-correction table for the blue band.', 'constraint' => { 'quant' => 0, 'min' => 0, 'max' => 255 }, 'cap' => 5, 'title' => 'Blue intensity', 'constraint_type' => 1, 'max_values' => 256 }, 'speed' => { 'desc' => 'Determines the speed at which the scan proceeds.', 'index' => 18, 'val' => 0, 'name' => 'speed', 'unit' => 0, 'type' => 0, 'constraint_type' => 0, 'max_values' => 1, 'title' => 'Scan speed', 'cap' => 5 }, 'gamma-correction' => { 'unit' => 0, 'type' => 3, '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', 'constraint' => [ 'User defined (Gamma=1.0)', 'User defined (Gamma=1.8)' ], 'name' => 'gamma-correction', 'index' => 10, 'val' => 'User defined (Gamma=1.8)', 'max_values' => 1, 'constraint_type' => 3, 'cap' => 5, 'title' => 'Gamma Correction' }, 'needs-polling' => { 'desc' => 'Indicates whether the scanner needs to poll.', 'index' => 28, 'name' => 'needs-polling', 'val' => 0, 'unit' => 0, 'type' => 0, 'title' => 'Needs Polling', 'cap' => 68, 'max_values' => 1, 'constraint_type' => 0 }, 'zoom' => { 'unit' => 0, 'type' => 1, 'constraint' => { 'max' => 200, 'min' => 50, 'quant' => 0 }, 'desc' => 'Defines the zoom factor the scanner will use', 'index' => 21, 'name' => 'zoom', 'constraint_type' => 1, 'max_values' => 1, 'cap' => 37, 'title' => 'Zoom' }, 'scan-area-is-valid' => { 'desc' => 'Indicates whether the current scan area settings are valid.', 'name' => 'scan-area-is-valid', 'index' => 58, 'val' => 1, 'unit' => 0, 'type' => 0, 'title' => 'Scan Area Is Valid', 'cap' => 68, 'constraint_type' => 0, 'max_values' => 1 }, 'brightness' => { 'title' => 'Brightness', 'cap' => 13, 'max_values' => 1, 'constraint_type' => 1, 'index' => 7, 'val' => 0, 'name' => 'brightness', 'desc' => 'Controls the brightness of the acquired image.', 'constraint' => { 'min' => -100, 'quant' => 1, 'max' => 100 }, 'type' => 1, 'unit' => 0 }, 'wait-for-button' => { 'max_values' => 1, 'constraint_type' => 0, 'title' => 'Wait for Button', 'cap' => 69, 'name' => 'wait-for-button', 'index' => 25, 'val' => 0, 'desc' => 'After sending the scan command, wait until the button on the scanner is pressed to actually start the scan process.', 'type' => 0, 'unit' => 0 }, 'resolution' => { 'index' => 12, 'name' => 'resolution', 'val' => 300, 'desc' => 'Sets the resolution of the scanned image.', 'constraint' => [ 100, 200, 300, 400, 600 ], 'type' => 1, 'unit' => 4, 'title' => 'Scan resolution', 'cap' => 5, 'max_values' => 1, 'constraint_type' => 2 }, 'cct-6' => { 'cap' => 77, 'title' => 'Shift blue to green', 'max_values' => 1, 'constraint_type' => 1, 'unit' => 0, 'type' => 2, 'desc' => 'Adds to green based on blue level', 'constraint' => { 'max' => '2', 'quant' => '0', 'min' => '-2' }, 'val' => '0', 'index' => 35, 'name' => 'cct-6' } }, 'array' => [ { 'index' => 0 }, { 'cap' => 0, 'title' => 'Scan Mode', 'max_values' => 1, 'constraint_type' => 0, 'unit' => 0, 'type' => 5, 'desc' => '', 'index' => 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'}, { 'title' => 'Advanced', 'cap' => 64, 'max_values' => 1, 'constraint_type' => 0, 'desc' => '', 'index' => 16, 'unit' => 0, 'type' => 5 }, $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'}, { 'index' => 29, 'desc' => 'Matrix multiplication of RGB', 'type' => 5, 'unit' => 0, 'title' => 'Color correction coefficients', 'cap' => 64, 'constraint_type' => 0, 'max_values' => 1 }, $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'}, { 'index' => 39, 'desc' => '', 'type' => 5, 'unit' => 0, 'title' => 'Preview', 'cap' => 64, 'constraint_type' => 0, 'max_values' => 1 }, $VAR1->{'hash'}{'preview'}, $VAR1->{'hash'}{'preview-speed'}, { 'constraint_type' => 0, 'max_values' => 1, 'cap' => 64, 'title' => 'Geometry', 'unit' => 0, 'type' => 5, 'desc' => '', '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'}, { 'unit' => 0, 'type' => 5, 'desc' => '', 'index' => 49, 'constraint_type' => 0, 'max_values' => 1, 'cap' => 64, 'title' => 'Optional equipment' }, $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' => { 't' => 0, 'y' => '355.599990844727', 'x' => '215.899993896484', 'l' => 0 } }, 'Gscan2pdf::Scanner::Options' ); INFO - signal 'finished-process' emitted with data: find_scan_options DEBUG - Started setting available_scan_options from Gscan2pdf::Scanner::Options=HASH(0x43e28f0) to Gscan2pdf::Scanner::Options=HASH(0x5351658) DEBUG - Started setting paper_formats from undef to $VAR1 = { 'US Letter' => { 't' => 0, 'y' => 279, 'x' => 216, 'l' => 0 }, 'A4' => { 'l' => 0, 'x' => 210, 't' => 0, 'y' => 297 }, 'US Legal' => { 'y' => 356, 't' => 0, 'l' => 0, 'x' => 216 } }; DEBUG - Finished setting paper_formats from undef to $VAR1 = { 'US Letter' => { 't' => 0, 'y' => 279, 'x' => 216, 'l' => 0 }, 'A4' => { 'l' => 0, 'x' => 210, 't' => 0, 'y' => 297 }, 'US Legal' => { 'y' => 356, 't' => 0, 'l' => 0, 'x' => 216 } }; DEBUG - Started setting paper from undef to A4 INFO - sane_set_option 46 (br-x) to 210 returned status Success with info 4 DEBUG - Finished setting paper from undef to A4 INFO - sane_set_option 47 (br-y) to 297 returned status Success with info 4 DEBUG - Started setting current_scan_options from $VAR1 = [ { 'br-x' => '210' }, { 'br-y' => '297' } ]; to $VAR1 = [ { 'br-x' => '210' }, { 'br-y' => '297' }, { 'adf-mode' => 'Duplex' }, { 'resolution' => 200 } ]; 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 = [ { 'br-x' => '210' }, { 'br-y' => '297' }, { 'resolution' => 200 }, { 'adf-mode' => 'Duplex' } ]; DEBUG - Finished setting available_scan_options from Gscan2pdf::Scanner::Options=HASH(0x43e28f0) to Gscan2pdf::Scanner::Options=HASH(0x5351658) 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' => { 'l' => 0, 'x' => '215.899993896484', 'y' => '355.599990844727', 't' => 0 }, 'array' => [ { 'index' => 0 }, { 'cap' => 0, 'title' => 'Scan Mode', 'constraint_type' => 0, 'max_values' => 1, 'type' => 5, 'unit' => 0, 'index' => 1, 'desc' => '' }, { 'index' => 2, 'name' => 'mode', 'val' => 'Color', 'constraint' => [ 'Binary', 'Gray', 'Color' ], 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', 'type' => 3, 'unit' => 0, 'max_values' => 1, 'constraint_type' => 3, 'title' => 'Scan mode', 'cap' => 5 }, { 'index' => 3, 'val' => 8, 'name' => 'depth', 'constraint' => [ 8, 16 ], 'desc' => 'Number of bits per sample, typical values are 1 for "line-art" and 8 for multibit scans.', 'type' => 1, 'unit' => 0, 'constraint_type' => 2, 'max_values' => 1, 'title' => 'Bit depth', 'cap' => 5 }, { 'unit' => 0, 'type' => 3, 'constraint' => [ 'None', 'Halftone A (Hard Tone)', 'Halftone B (Soft Tone)', 'Halftone C (Net Screen)' ], 'desc' => 'Selects the halftone.', 'index' => 4, 'name' => 'halftoning', 'val' => 'None', 'max_values' => 1, 'constraint_type' => 3, 'cap' => 37, 'title' => 'Halftoning' }, { 'max_values' => 1, 'constraint_type' => 3, 'cap' => 101, 'title' => 'Dropout', 'type' => 3, 'unit' => 0, 'val' => 'None', 'index' => 5, 'name' => 'dropout', 'desc' => 'Selects the dropout.', 'constraint' => [ 'None', 'Red', 'Green', 'Blue' ] }, { 'unit' => 0, 'type' => 3, 'constraint' => [ 'iscan', 'gimp' ], 'desc' => 'Selects a method to change the brightness of the acquired image.', 'val' => 'iscan', 'index' => 6, 'name' => 'brightness-method', 'max_values' => 1, 'constraint_type' => 3, 'cap' => 69, 'title' => 'Brightness Method' }, { 'name' => 'brightness', 'index' => 7, 'val' => 0, 'desc' => 'Controls the brightness of the acquired image.', 'constraint' => { 'quant' => 1, 'min' => -100, 'max' => 100 }, 'type' => 1, 'unit' => 0, 'title' => 'Brightness', 'cap' => 13, 'constraint_type' => 1, 'max_values' => 1 }, { 'title' => 'Contrast', 'cap' => 13, 'constraint_type' => 1, 'max_values' => 1, 'desc' => 'Controls the contrast of the acquired image.', 'constraint' => { 'max' => 100, 'quant' => 1, 'min' => -100 }, 'name' => 'contrast', 'index' => 8, 'val' => 0, 'unit' => 0, 'type' => 1 }, { 'unit' => 0, 'type' => 1, 'constraint' => { 'max' => 2, 'min' => -2, 'quant' => 0 }, 'desc' => '', 'name' => 'sharpness', 'index' => 9, 'val' => 0, 'cap' => 37, 'title' => 'Sharpness', 'constraint_type' => 1, 'max_values' => 1 }, { 'cap' => 5, 'title' => 'Gamma Correction', 'max_values' => 1, 'constraint_type' => 3, 'unit' => 0, 'type' => 3, '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', 'constraint' => [ 'User defined (Gamma=1.0)', 'User defined (Gamma=1.8)' ], 'index' => 10, 'name' => 'gamma-correction', 'val' => 'User defined (Gamma=1.8)' }, { 'cap' => 101, 'title' => 'Color correction', 'max_values' => 1, 'constraint_type' => 3, 'unit' => 0, 'type' => 3, 'constraint' => [ 'User defined' ], 'desc' => 'Sets the color correction table for the selected output device.', 'val' => 'User defined', 'index' => 11, 'name' => 'color-correction' }, { 'cap' => 5, 'title' => 'Scan resolution', 'max_values' => 1, 'constraint_type' => 2, 'type' => 1, 'unit' => 4, 'index' => 12, 'name' => 'resolution', 'val' => 300, 'constraint' => [ 100, 200, 300, 400, 600 ], 'desc' => 'Sets the resolution of the scanned image.' }, { 'constraint' => [ 100, 200, 300, 400, 600 ], 'desc' => 'Sets the horizontal resolution of the scanned image.', 'val' => 300, 'index' => 13, 'name' => 'x-resolution', 'unit' => 4, 'type' => 1, 'constraint_type' => 2, 'max_values' => 1, 'title' => 'X-resolution', 'cap' => 69 }, { 'constraint_type' => 2, 'max_values' => 1, 'title' => 'Y-resolution', 'cap' => 69, 'constraint' => [ 100, 200, 300, 400, 600 ], 'desc' => 'Sets the vertical resolution of the scanned image.', 'index' => 14, 'name' => 'y-resolution', 'val' => 300, 'unit' => 4, 'type' => 1 }, { 'index' => 15, 'val' => 128, 'name' => 'threshold', 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'desc' => 'Select minimum-brightness to get a white point', 'type' => 1, 'unit' => 0, 'constraint_type' => 1, 'max_values' => 1, 'title' => 'Threshold', 'cap' => 37 }, { 'desc' => '', 'index' => 16, 'unit' => 0, 'type' => 5, 'constraint_type' => 0, 'max_values' => 1, 'title' => 'Advanced', 'cap' => 64 }, { 'desc' => 'Mirror the image.', 'name' => 'mirror', 'index' => 17, 'val' => 0, 'unit' => 0, 'type' => 0, 'title' => 'Mirror image', 'cap' => 37, 'max_values' => 1, 'constraint_type' => 0 }, { 'title' => 'Scan speed', 'cap' => 5, 'constraint_type' => 0, 'max_values' => 1, 'name' => 'speed', 'index' => 18, 'val' => 0, 'desc' => 'Determines the speed at which the scan proceeds.', 'type' => 0, 'unit' => 0 }, { 'constraint_type' => 0, 'max_values' => 1, 'title' => 'Auto area segmentation', 'cap' => 37, 'val' => 0, 'index' => 19, 'name' => 'auto-area-segmentation', 'desc' => '', 'type' => 0, 'unit' => 0 }, { 'constraint_type' => 0, 'max_values' => 1, 'title' => 'Short resolution list', 'cap' => 5, 'desc' => 'Display short resolution list', 'val' => 0, 'index' => 20, 'name' => 'short-resolution', 'unit' => 0, 'type' => 0 }, { 'index' => 21, 'val' => 100, 'name' => 'zoom', 'constraint' => { 'min' => 50, 'quant' => 0, 'max' => 200 }, 'desc' => 'Defines the zoom factor the scanner will use', 'type' => 1, 'unit' => 0, 'constraint_type' => 1, 'max_values' => 1, 'title' => 'Zoom', 'cap' => 37 }, { 'type' => 1, 'unit' => 0, 'index' => 22, 'name' => '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 ], 'desc' => 'Gamma-correction table for the red band.', 'constraint' => { 'max' => 255, 'quant' => 0, 'min' => 0 }, 'cap' => 5, 'title' => 'Red intensity', 'max_values' => 256, 'constraint_type' => 1 }, { 'max_values' => 256, 'constraint_type' => 1, 'title' => 'Green intensity', 'cap' => 5, 'index' => 23, '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 ], 'name' => 'green-gamma-table', 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'desc' => 'Gamma-correction table for the green band.', 'type' => 1, 'unit' => 0 }, { 'max_values' => 256, 'constraint_type' => 1, 'title' => 'Blue intensity', 'cap' => 5, 'desc' => 'Gamma-correction table for the blue band.', 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'index' => 24, '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 ], 'unit' => 0, 'type' => 1 }, { 'desc' => 'After sending the scan command, wait until the button on the scanner is pressed to actually start the scan process.', 'name' => 'wait-for-button', 'index' => 25, 'val' => 0, 'unit' => 0, 'type' => 0, 'max_values' => 1, 'constraint_type' => 0, 'title' => 'Wait for Button', 'cap' => 69 }, { 'cap' => 68, 'title' => 'Monitor Button', 'constraint_type' => 0, 'max_values' => 1, 'unit' => 0, 'type' => 0, 'desc' => 'Indicates whether a button on the scanner has been pressed.', 'index' => 26, 'name' => 'monitor-button', 'val' => 0 }, { 'cap' => 68, 'title' => 'Polling Time', 'constraint_type' => 0, 'max_values' => 1, 'unit' => 6, 'type' => 1, 'desc' => 'Time between queries when waiting for device state changes.', 'name' => 'polling-time', 'index' => 27, 'val' => 1000000 }, { 'type' => 0, 'unit' => 0, 'index' => 28, 'name' => 'needs-polling', 'val' => 0, 'desc' => 'Indicates whether the scanner needs to poll.', 'cap' => 68, 'title' => 'Needs Polling', 'constraint_type' => 0, 'max_values' => 1 }, { 'cap' => 64, 'title' => 'Color correction coefficients', 'constraint_type' => 0, 'max_values' => 1, 'unit' => 0, 'type' => 5, 'desc' => 'Matrix multiplication of RGB', 'index' => 29 }, { 'constraint_type' => 1, 'max_values' => 1, 'cap' => 77, 'title' => 'Red', 'type' => 2, 'unit' => 0, 'index' => 30, 'name' => 'cct-1', 'val' => '1', 'desc' => 'Controls red level', 'constraint' => { 'max' => '2', 'min' => '-2', 'quant' => '0' } }, { 'title' => 'Shift green to red', 'cap' => 77, 'max_values' => 1, 'constraint_type' => 1, 'constraint' => { 'max' => '2', 'min' => '-2', 'quant' => '0' }, 'desc' => 'Adds to red based on green level', 'index' => 31, 'val' => '0', 'name' => 'cct-2', 'unit' => 0, 'type' => 2 }, { 'cap' => 77, 'title' => 'Shift blue to red', 'max_values' => 1, 'constraint_type' => 1, 'type' => 2, 'unit' => 0, 'val' => '0', 'index' => 32, 'name' => 'cct-3', 'constraint' => { 'min' => '-2', 'quant' => '0', 'max' => '2' }, 'desc' => 'Adds to red based on blue level' }, { 'constraint_type' => 1, 'max_values' => 1, 'title' => 'Shift red to green', 'cap' => 77, 'constraint' => { 'max' => '2', 'min' => '-2', 'quant' => '0' }, 'desc' => 'Adds to green based on red level', 'index' => 33, 'val' => '0', 'name' => 'cct-4', 'unit' => 0, 'type' => 2 }, { 'constraint' => { 'min' => '-2', 'quant' => '0', 'max' => '2' }, 'desc' => 'Controls green level', 'index' => 34, 'val' => '1', 'name' => 'cct-5', 'unit' => 0, 'type' => 2, 'max_values' => 1, 'constraint_type' => 1, 'title' => 'Green', 'cap' => 77 }, { 'max_values' => 1, 'constraint_type' => 1, 'title' => 'Shift blue to green', 'cap' => 77, 'name' => 'cct-6', 'index' => 35, 'val' => '0', 'desc' => 'Adds to green based on blue level', 'constraint' => { 'min' => '-2', 'quant' => '0', 'max' => '2' }, 'type' => 2, 'unit' => 0 }, { 'index' => 36, 'val' => '0', 'name' => 'cct-7', 'desc' => 'Adds to blue based on red level', 'constraint' => { 'quant' => '0', 'min' => '-2', 'max' => '2' }, 'type' => 2, 'unit' => 0, 'max_values' => 1, 'constraint_type' => 1, 'title' => 'Shift red to blue', 'cap' => 77 }, { 'constraint' => { 'max' => '2', 'quant' => '0', 'min' => '-2' }, 'desc' => 'Adds to blue based on green level', 'val' => '0', 'index' => 37, 'name' => 'cct-8', 'unit' => 0, 'type' => 2, 'title' => 'Shift green to blue', 'cap' => 77, 'constraint_type' => 1, 'max_values' => 1 }, { 'max_values' => 1, 'constraint_type' => 1, 'title' => 'Blue', 'cap' => 77, 'index' => 38, 'val' => '1', 'name' => 'cct-9', 'constraint' => { 'quant' => '0', 'min' => '-2', 'max' => '2' }, 'desc' => 'Control blue level', 'type' => 2, 'unit' => 0 }, { 'max_values' => 1, 'constraint_type' => 0, 'title' => 'Preview', 'cap' => 64, 'desc' => '', 'index' => 39, 'unit' => 0, 'type' => 5 }, { 'cap' => 5, 'title' => 'Preview', 'max_values' => 1, 'constraint_type' => 0, 'unit' => 0, 'type' => 0, 'desc' => 'Request a preview-quality scan.', 'index' => 40, 'val' => 0, 'name' => 'preview' }, { 'cap' => 5, 'title' => 'Speed', 'max_values' => 1, 'constraint_type' => 0, 'unit' => 0, 'type' => 0, 'desc' => '', 'val' => 0, 'index' => 41, 'name' => 'preview-speed' }, { 'cap' => 64, 'title' => 'Geometry', 'max_values' => 1, 'constraint_type' => 0, 'type' => 5, 'unit' => 0, 'index' => 42, 'desc' => '' }, { 'unit' => 0, 'type' => 3, 'constraint' => [ 'Maximum', 'A4', 'A5 Landscape', 'A5 Portrait', 'B5', 'Legal', 'Letter', 'Executive', 'CD' ], 'desc' => 'Select an area to scan based on well-known media sizes.', 'index' => 43, 'val' => 'Maximum', 'name' => 'scan-area', 'max_values' => 1, 'constraint_type' => 3, 'cap' => 5, 'title' => 'Scan area' }, { 'title' => 'Top-left x', 'cap' => 5, 'max_values' => 1, 'constraint_type' => 1, 'index' => 44, 'val' => '0', 'name' => 'tl-x', 'desc' => 'Top-left x position of scan area.', 'constraint' => { 'max' => '215.899993896484', 'quant' => '0', 'min' => '0' }, 'type' => 2, 'unit' => 3 }, { 'max_values' => 1, 'constraint_type' => 1, 'title' => 'Top-left y', 'cap' => 5, 'index' => 45, 'val' => '0', 'name' => 'tl-y', 'desc' => 'Top-left y position of scan area.', 'constraint' => { 'max' => '355.599990844727', 'quant' => '0', 'min' => '0' }, 'type' => 2, 'unit' => 3 }, { 'type' => 2, 'unit' => 3, 'index' => 46, 'name' => 'br-x', 'val' => '215.899993896484', 'desc' => 'Bottom-right x position of scan area.', 'constraint' => { 'max' => '215.899993896484', 'quant' => '0', 'min' => '0' }, 'constraint_type' => 1, 'max_values' => 1, 'cap' => 5, 'title' => 'Bottom-right x' }, { 'constraint_type' => 1, 'max_values' => 1, 'cap' => 5, 'title' => 'Bottom-right y', 'type' => 2, 'unit' => 3, 'name' => 'br-y', 'index' => 47, 'val' => '355.599990844727', 'constraint' => { 'max' => '355.599990844727', 'min' => '0', 'quant' => '0' }, 'desc' => 'Bottom-right y position of scan area.' }, { 'title' => 'Quick format', 'cap' => 5, 'max_values' => 1, 'constraint_type' => 3, 'desc' => 'Select an area to scan based on well-known media sizes. (DEPRECATED)', 'constraint' => [ 'Maximum', 'A4', 'A5 Landscape', 'A5 Portrait', 'B5', 'Legal', 'Letter', 'Executive', 'CD' ], 'index' => 48, 'name' => 'quick-format', 'val' => 'Maximum', 'unit' => 0, 'type' => 3 }, { 'cap' => 64, 'title' => 'Optional equipment', 'max_values' => 1, 'constraint_type' => 0, 'unit' => 0, 'type' => 5, 'desc' => '', 'index' => 49 }, { 'constraint_type' => 3, 'max_values' => 1, 'title' => 'Scan source', 'cap' => 37, 'constraint' => [ 'Automatic Document Feeder' ], 'desc' => 'Selects the scan source (such as a document-feeder).', 'index' => 50, 'val' => 'Automatic Document Feeder', 'name' => 'source', 'unit' => 0, 'type' => 3 }, { 'val' => 1, 'index' => 51, 'name' => 'auto-eject', 'desc' => 'Eject document after scanning', 'type' => 0, 'unit' => 0, 'title' => 'Auto eject', 'cap' => 5, 'constraint_type' => 0, 'max_values' => 1 }, { 'title' => 'Film type', 'cap' => 37, 'max_values' => 1, 'constraint_type' => 3, 'index' => 52, 'val' => 'Positive Film', 'name' => 'film-type', 'desc' => '', 'constraint' => [ 'Positive Film', 'Negative Film' ], 'type' => 3, 'unit' => 0 }, { 'type' => 3, 'unit' => 0, 'name' => 'focus-position', 'index' => 53, 'val' => 'Focus on glass', 'desc' => 'Sets the focus position to either the glass or 2.5mm above the glass', 'constraint' => [ 'Focus on glass', 'Focus 2.5mm above glass' ], 'cap' => 101, 'title' => 'Focus Position', 'constraint_type' => 3, 'max_values' => 1 }, { 'unit' => 0, 'type' => 3, 'desc' => 'Select bay to scan', 'constraint' => [ ' 1 ', ' 2 ', ' 3 ', ' 4 ', ' 5 ', ' 6 ' ], 'index' => 54, 'val' => ' 1 ', 'name' => 'bay', 'constraint_type' => 3, 'max_values' => 1, 'cap' => 37, 'title' => 'Bay' }, { 'unit' => 0, 'type' => 4, 'desc' => 'Eject the sheet in the ADF', 'name' => 'eject', 'index' => 55, 'max_values' => 1, 'constraint_type' => 0, 'cap' => 5, 'title' => 'Eject' }, { 'unit' => 0, 'type' => 3, 'desc' => 'Selects the ADF mode (simplex/duplex)', 'constraint' => [ 'Simplex', 'Duplex' ], 'index' => 56, 'val' => 'Duplex', 'name' => 'adf-mode', 'constraint_type' => 3, 'max_values' => 1, 'cap' => 5, 'title' => 'ADF Mode' }, { 'title' => 'Auto-detect document size', 'cap' => 101, 'constraint_type' => 0, 'max_values' => 1, 'desc' => 'Activates document size auto-detection. The scan area will be set to match the detected document size.', 'name' => 'detect-doc-size', 'index' => 57, 'val' => 0, 'unit' => 0, 'type' => 0 }, { 'constraint_type' => 0, 'max_values' => 1, 'title' => 'Scan Area Is Valid', 'cap' => 68, 'index' => 58, 'name' => 'scan-area-is-valid', 'val' => 1, 'desc' => 'Indicates whether the current scan area settings are valid.', 'type' => 0, 'unit' => 0 }, { 'type' => 0, 'unit' => 0, 'name' => 'adf-auto-scan', 'index' => 59, 'val' => 0, 'desc' => 'Skips per sheet device setup for faster throughput.', 'cap' => 69, 'title' => 'ADF Auto Scan', 'constraint_type' => 0, 'max_values' => 1 }, { 'type' => 3, 'unit' => 0, 'name' => 'double-feed-detection-sensitivity', 'index' => 60, 'val' => 'None', 'desc' => 'Sets the sensitivity with which multi-sheet page feeds are detected and reported as errors.', 'constraint' => [ 'None', 'Low', 'High' ], 'max_values' => 1, 'constraint_type' => 3, 'cap' => 69, 'title' => 'Double Feed Detection Sensitivity' }, { 'max_values' => 1, 'constraint_type' => 1, 'cap' => 68, 'title' => 'Extended SANE Status', 'type' => 1, 'unit' => 0, 'name' => 'ext-sane-status', 'index' => 61, 'val' => 0, 'constraint' => { 'quant' => 0, 'min' => 0, 'max' => 2 }, 'desc' => 'Ugly kludge to provide additional status message strings to a frontend.' }, { 'unit' => 0, 'type' => 0, 'desc' => 'Indicates whether the device\'s ADF duplex mode, if available, scans in the same direction for the front and back.', 'val' => 1, 'index' => 62, 'name' => 'adf-duplex-direction-matches', 'cap' => 68, 'title' => 'ADF Duplex Direction Matches', 'max_values' => 1, 'constraint_type' => 0 }, { 'constraint_type' => 0, 'max_values' => 1, 'title' => 'Deskew', 'cap' => 77, 'val' => 0, 'index' => 63, 'name' => 'deskew', 'desc' => 'Rotate image so it appears upright.', 'type' => 0, 'unit' => 0 }, { 'type' => 0, 'unit' => 0, 'name' => 'autocrop', 'index' => 64, 'val' => 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.', 'max_values' => 1, 'constraint_type' => 0, 'cap' => 77, 'title' => 'Trim image to paper size' }, { 'name' => 'calibrate', 'index' => 65, 'desc' => 'Performs color matching to make sure that the document\'s color tones are scanned correctly.', 'type' => 4, 'unit' => 0, 'title' => 'Calibrate', 'cap' => 101, 'max_values' => 1, 'constraint_type' => 0 }, { 'desc' => 'Cleans the scanners reading section.', 'name' => 'clean', 'index' => 66, 'unit' => 0, 'type' => 4, 'constraint_type' => 0, 'max_values' => 1, 'title' => 'Clean', 'cap' => 101 } ], 'hash' => { 'monitor-button' => $VAR1->{'array'}[26], 'br-x' => $VAR1->{'array'}[46], 'eject' => $VAR1->{'array'}[55], 'clean' => $VAR1->{'array'}[66], 'preview-speed' => $VAR1->{'array'}[41], 'source' => $VAR1->{'array'}[50], 'double-feed-detection-sensitivity' => $VAR1->{'array'}[60], 'contrast' => $VAR1->{'array'}[8], 'cct-8' => $VAR1->{'array'}[37], 'adf-auto-scan' => $VAR1->{'array'}[59], 'cct-2' => $VAR1->{'array'}[31], 'polling-time' => $VAR1->{'array'}[27], 'quick-format' => $VAR1->{'array'}[48], 'deskew' => $VAR1->{'array'}[63], 'green-gamma-table' => $VAR1->{'array'}[23], 'scan-area' => $VAR1->{'array'}[43], 'short-resolution' => $VAR1->{'array'}[20], 'y-resolution' => $VAR1->{'array'}[14], 'bay' => $VAR1->{'array'}[54], 'sharpness' => $VAR1->{'array'}[9], 'threshold' => $VAR1->{'array'}[15], 'detect-doc-size' => $VAR1->{'array'}[57], 'auto-eject' => $VAR1->{'array'}[51], 'adf-duplex-direction-matches' => $VAR1->{'array'}[62], 'adf-mode' => $VAR1->{'array'}[56], 'autocrop' => $VAR1->{'array'}[64], 'calibrate' => $VAR1->{'array'}[65], 'preview' => $VAR1->{'array'}[40], 'resolution' => $VAR1->{'array'}[12], 'cct-6' => $VAR1->{'array'}[35], 'wait-for-button' => $VAR1->{'array'}[25], 'brightness' => $VAR1->{'array'}[7], 'zoom' => $VAR1->{'array'}[21], 'scan-area-is-valid' => $VAR1->{'array'}[58], 'speed' => $VAR1->{'array'}[18], 'needs-polling' => $VAR1->{'array'}[28], 'gamma-correction' => $VAR1->{'array'}[10], 'depth' => $VAR1->{'array'}[3], 'blue-gamma-table' => $VAR1->{'array'}[24], 'x-resolution' => $VAR1->{'array'}[13], 'mirror' => $VAR1->{'array'}[17], 'cct-5' => $VAR1->{'array'}[34], 'film-type' => $VAR1->{'array'}[52], 'mode' => $VAR1->{'array'}[2], 'cct-4' => $VAR1->{'array'}[33], 'cct-7' => $VAR1->{'array'}[36], 'ext-sane-status' => $VAR1->{'array'}[61], 'cct-9' => $VAR1->{'array'}[38], 'dropout' => $VAR1->{'array'}[5], 'tl-y' => $VAR1->{'array'}[45], 'cct-3' => $VAR1->{'array'}[32], 'color-correction' => $VAR1->{'array'}[11], 'focus-position' => $VAR1->{'array'}[53], 'tl-x' => $VAR1->{'array'}[44], 'red-gamma-table' => $VAR1->{'array'}[22], 'br-y' => $VAR1->{'array'}[47], 'cct-1' => $VAR1->{'array'}[30], 'brightness-method' => $VAR1->{'array'}[6], 'auto-area-segmentation' => $VAR1->{'array'}[19], 'halftoning' => $VAR1->{'array'}[4] } }, '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( { 'geometry' => { 't' => 0, 'y' => '355.599990844727', 'x' => '215.899993896484', 'l' => 0 }, 'hash' => { 'preview' => { 'index' => 40, 'val' => 0, 'name' => 'preview', 'desc' => 'Request a preview-quality scan.', 'type' => 0, 'unit' => 0, 'title' => 'Preview', 'cap' => 5, 'constraint_type' => 0, 'max_values' => 1 }, 'calibrate' => { 'type' => 4, 'unit' => 0, 'index' => 65, 'name' => 'calibrate', 'desc' => 'Performs color matching to make sure that the document\'s color tones are scanned correctly.', 'cap' => 101, 'title' => 'Calibrate', 'max_values' => 1, 'constraint_type' => 0 }, 'autocrop' => { 'max_values' => 1, 'constraint_type' => 0, 'title' => 'Trim image to paper size', 'cap' => 77, '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.', 'name' => 'autocrop', 'index' => 64, 'val' => 0, 'unit' => 0, 'type' => 0 }, 'adf-duplex-direction-matches' => { 'title' => 'ADF Duplex Direction Matches', 'cap' => 68, 'max_values' => 1, 'constraint_type' => 0, 'desc' => 'Indicates whether the device\'s ADF duplex mode, if available, scans in the same direction for the front and back.', 'index' => 62, 'name' => 'adf-duplex-direction-matches', 'val' => 1, 'unit' => 0, 'type' => 0 }, 'auto-eject' => { 'unit' => 0, 'type' => 0, 'desc' => 'Eject document after scanning', 'index' => 51, 'val' => 1, 'name' => 'auto-eject', 'cap' => 5, 'title' => 'Auto eject', 'max_values' => 1, 'constraint_type' => 0 }, 'adf-mode' => { 'unit' => 0, 'type' => 3, 'constraint' => [ 'Simplex', 'Duplex' ], 'desc' => 'Selects the ADF mode (simplex/duplex)', 'name' => 'adf-mode', 'index' => 56, 'val' => 'Duplex', 'max_values' => 1, 'constraint_type' => 3, 'cap' => 5, 'title' => 'ADF Mode' }, 'detect-doc-size' => { 'title' => 'Auto-detect document size', 'cap' => 101, 'max_values' => 1, 'constraint_type' => 0, 'name' => 'detect-doc-size', 'index' => 57, 'val' => 0, 'desc' => 'Activates document size auto-detection. The scan area will be set to match the detected document size.', 'type' => 0, 'unit' => 0 }, 'threshold' => { 'unit' => 0, 'type' => 1, 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'desc' => 'Select minimum-brightness to get a white point', 'val' => 128, 'index' => 15, 'name' => 'threshold', 'cap' => 37, 'title' => 'Threshold', 'max_values' => 1, 'constraint_type' => 1 }, 'bay' => { 'type' => 3, 'unit' => 0, 'index' => 54, 'name' => 'bay', 'val' => ' 1 ', 'constraint' => [ ' 1 ', ' 2 ', ' 3 ', ' 4 ', ' 5 ', ' 6 ' ], 'desc' => 'Select bay to scan', 'cap' => 37, 'title' => 'Bay', 'max_values' => 1, 'constraint_type' => 3 }, 'sharpness' => { 'val' => 0, 'index' => 9, 'name' => 'sharpness', 'desc' => '', 'constraint' => { 'quant' => 0, 'min' => -2, 'max' => 2 }, 'type' => 1, 'unit' => 0, 'title' => 'Sharpness', 'cap' => 37, 'constraint_type' => 1, 'max_values' => 1 }, 'y-resolution' => { 'desc' => 'Sets the vertical resolution of the scanned image.', 'constraint' => [ 100, 200, 300, 400, 600 ], 'val' => 200, 'index' => 14, 'name' => 'y-resolution', 'unit' => 4, 'type' => 1, 'title' => 'Y-resolution', 'cap' => 69, 'constraint_type' => 2, 'max_values' => 1 }, 'short-resolution' => { 'desc' => 'Display short resolution list', 'name' => 'short-resolution', 'index' => 20, 'val' => 0, 'unit' => 0, 'type' => 0, 'title' => 'Short resolution list', 'cap' => 5, 'constraint_type' => 0, 'max_values' => 1 }, 'scan-area' => { 'title' => 'Scan area', 'cap' => 5, 'constraint_type' => 3, 'max_values' => 1, 'index' => 43, 'name' => 'scan-area', 'val' => 'Maximum', 'constraint' => [ 'Maximum', 'A4', 'A5 Landscape', 'A5 Portrait', 'B5', 'Legal', 'Letter', 'Executive', 'CD' ], 'desc' => 'Select an area to scan based on well-known media sizes.', 'type' => 3, 'unit' => 0 }, 'deskew' => { 'name' => 'deskew', 'index' => 63, 'val' => 0, 'desc' => 'Rotate image so it appears upright.', 'type' => 0, 'unit' => 0, 'title' => 'Deskew', 'cap' => 77, 'max_values' => 1, 'constraint_type' => 0 }, 'quick-format' => { 'type' => 3, 'unit' => 0, 'index' => 48, 'name' => 'quick-format', 'val' => 'Maximum', 'constraint' => [ 'Maximum', 'A4', 'A5 Landscape', 'A5 Portrait', 'B5', 'Legal', 'Letter', 'Executive', 'CD' ], 'desc' => 'Select an area to scan based on well-known media sizes. (DEPRECATED)', 'constraint_type' => 3, 'max_values' => 1, 'cap' => 5, 'title' => 'Quick format' }, 'green-gamma-table' => { 'cap' => 5, 'title' => 'Green intensity', 'constraint_type' => 1, 'max_values' => 256, 'type' => 1, 'unit' => 0, 'name' => 'green-gamma-table', 'index' => 23, '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 ], 'desc' => 'Gamma-correction table for the green band.', 'constraint' => { 'quant' => 0, 'min' => 0, 'max' => 255 } }, 'polling-time' => { 'cap' => 68, 'title' => 'Polling Time', 'constraint_type' => 0, 'max_values' => 1, 'type' => 1, 'unit' => 6, 'index' => 27, 'name' => 'polling-time', 'val' => 1000000, 'desc' => 'Time between queries when waiting for device state changes.' }, 'cct-2' => { 'constraint' => { 'quant' => '0', 'min' => '-2', 'max' => '2' }, 'desc' => 'Adds to red based on green level', 'index' => 31, 'name' => 'cct-2', 'val' => '0', 'unit' => 0, 'type' => 2, 'constraint_type' => 1, 'max_values' => 1, 'title' => 'Shift green to red', 'cap' => 77 }, 'adf-auto-scan' => { 'title' => 'ADF Auto Scan', 'cap' => 69, 'max_values' => 1, 'constraint_type' => 0, 'index' => 59, 'val' => 0, 'name' => 'adf-auto-scan', 'desc' => 'Skips per sheet device setup for faster throughput.', 'type' => 0, 'unit' => 0 }, 'double-feed-detection-sensitivity' => { 'constraint' => [ 'None', 'Low', 'High' ], 'desc' => 'Sets the sensitivity with which multi-sheet page feeds are detected and reported as errors.', 'index' => 60, 'name' => 'double-feed-detection-sensitivity', 'val' => 'None', 'unit' => 0, 'type' => 3, 'constraint_type' => 3, 'max_values' => 1, 'title' => 'Double Feed Detection Sensitivity', 'cap' => 69 }, 'contrast' => { 'max_values' => 1, 'constraint_type' => 1, 'title' => 'Contrast', 'cap' => 13, 'desc' => 'Controls the contrast of the acquired image.', 'constraint' => { 'max' => 100, 'quant' => 1, 'min' => -100 }, 'val' => 0, 'index' => 8, 'name' => 'contrast', 'unit' => 0, 'type' => 1 }, 'cct-8' => { 'constraint_type' => 1, 'max_values' => 1, 'cap' => 77, 'title' => 'Shift green to blue', 'unit' => 0, 'type' => 2, 'constraint' => { 'max' => '2', 'quant' => '0', 'min' => '-2' }, 'desc' => 'Adds to blue based on green level', 'name' => 'cct-8', 'index' => 37, 'val' => '0' }, 'source' => { 'max_values' => 1, 'constraint_type' => 3, 'cap' => 37, 'title' => 'Scan source', 'unit' => 0, 'type' => 3, 'desc' => 'Selects the scan source (such as a document-feeder).', 'constraint' => [ 'Automatic Document Feeder' ], 'name' => 'source', 'index' => 50, 'val' => 'Automatic Document Feeder' }, 'eject' => { 'title' => 'Eject', 'cap' => 5, 'max_values' => 1, 'constraint_type' => 0, 'name' => 'eject', 'index' => 55, 'desc' => 'Eject the sheet in the ADF', 'type' => 4, 'unit' => 0 }, 'clean' => { 'type' => 4, 'unit' => 0, 'name' => 'clean', 'index' => 66, 'desc' => 'Cleans the scanners reading section.', 'constraint_type' => 0, 'max_values' => 1, 'cap' => 101, 'title' => 'Clean' }, 'preview-speed' => { 'type' => 0, 'unit' => 0, 'index' => 41, 'val' => 0, 'name' => 'preview-speed', 'desc' => '', 'cap' => 5, 'title' => 'Speed', 'max_values' => 1, 'constraint_type' => 0 }, 'br-x' => { 'max_values' => 1, 'constraint_type' => 1, 'title' => 'Bottom-right x', 'cap' => 5, 'constraint' => { 'min' => '0', 'quant' => '0', 'max' => '215.899993896484' }, 'desc' => 'Bottom-right x position of scan area.', 'index' => 46, 'val' => '215.899993896484', 'name' => 'br-x', 'unit' => 3, 'type' => 2 }, 'monitor-button' => { 'max_values' => 1, 'constraint_type' => 0, 'title' => 'Monitor Button', 'cap' => 68, 'name' => 'monitor-button', 'index' => 26, 'val' => 0, 'desc' => 'Indicates whether a button on the scanner has been pressed.', 'type' => 0, 'unit' => 0 }, 'auto-area-segmentation' => { 'unit' => 0, 'type' => 0, 'desc' => '', 'index' => 19, 'name' => 'auto-area-segmentation', 'val' => 0, 'constraint_type' => 0, 'max_values' => 1, 'cap' => 37, 'title' => 'Auto area segmentation' }, 'halftoning' => { 'cap' => 37, 'title' => 'Halftoning', 'max_values' => 1, 'constraint_type' => 3, 'unit' => 0, 'type' => 3, 'constraint' => [ 'None', 'Halftone A (Hard Tone)', 'Halftone B (Soft Tone)', 'Halftone C (Net Screen)' ], 'desc' => 'Selects the halftone.', 'index' => 4, 'name' => 'halftoning', 'val' => 'None' }, 'cct-1' => { 'val' => '1', 'index' => 30, 'name' => 'cct-1', 'constraint' => { 'quant' => '0', 'min' => '-2', 'max' => '2' }, 'desc' => 'Controls red level', 'type' => 2, 'unit' => 0, 'title' => 'Red', 'cap' => 77, 'max_values' => 1, 'constraint_type' => 1 }, 'brightness-method' => { 'constraint_type' => 3, 'max_values' => 1, 'title' => 'Brightness Method', 'cap' => 69, 'constraint' => [ 'iscan', 'gimp' ], 'desc' => 'Selects a method to change the brightness of the acquired image.', 'index' => 6, 'val' => 'iscan', 'name' => 'brightness-method', 'unit' => 0, 'type' => 3 }, 'br-y' => { 'cap' => 5, 'title' => 'Bottom-right y', 'max_values' => 1, 'constraint_type' => 1, 'unit' => 3, 'type' => 2, 'constraint' => { 'max' => '355.599990844727', 'quant' => '0', 'min' => '0' }, 'desc' => 'Bottom-right y position of scan area.', 'index' => 47, 'val' => '355.599990844727', 'name' => 'br-y' }, 'red-gamma-table' => { 'unit' => 0, 'type' => 1, 'constraint' => { 'min' => 0, 'quant' => 0, 'max' => 255 }, 'desc' => 'Gamma-correction table for the red band.', '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 ], 'name' => 'red-gamma-table', 'cap' => 5, 'title' => 'Red intensity', 'max_values' => 256, 'constraint_type' => 1 }, 'focus-position' => { 'type' => 3, 'unit' => 0, 'name' => 'focus-position', 'index' => 53, 'val' => 'Focus on glass', 'constraint' => [ 'Focus on glass', 'Focus 2.5mm above glass' ], 'desc' => 'Sets the focus position to either the glass or 2.5mm above the glass', 'constraint_type' => 3, 'max_values' => 1, 'cap' => 101, 'title' => 'Focus Position' }, 'tl-x' => { 'constraint_type' => 1, 'max_values' => 1, 'cap' => 5, 'title' => 'Top-left x', 'unit' => 3, 'type' => 2, 'desc' => 'Top-left x position of scan area.', 'constraint' => { 'min' => '0', 'quant' => '0', 'max' => '215.899993896484' }, 'name' => 'tl-x', 'index' => 44, 'val' => '0' }, 'color-correction' => { 'type' => 3, 'unit' => 0, 'name' => 'color-correction', 'index' => 11, 'val' => 'User defined', 'constraint' => [ 'User defined' ], 'desc' => 'Sets the color correction table for the selected output device.', 'cap' => 101, 'title' => 'Color correction', 'max_values' => 1, 'constraint_type' => 3 }, 'cct-3' => { 'type' => 2, 'unit' => 0, 'name' => 'cct-3', 'index' => 32, 'val' => '0', 'constraint' => { 'min' => '-2', 'quant' => '0', 'max' => '2' }, 'desc' => 'Adds to red based on blue level', 'constraint_type' => 1, 'max_values' => 1, 'cap' => 77, 'title' => 'Shift blue to red' }, 'tl-y' => { 'cap' => 5, 'title' => 'Top-left y', 'constraint_type' => 1, 'max_values' => 1, 'unit' => 3, 'type' => 2, 'constraint' => { 'max' => '355.599990844727', 'min' => '0', 'quant' => '0' }, 'desc' => 'Top-left y position of scan area.', 'name' => 'tl-y', 'index' => 45, 'val' => '0' }, 'dropout' => { 'val' => 'None', 'index' => 5, 'name' => 'dropout', 'desc' => 'Selects the dropout.', 'constraint' => [ 'None', 'Red', 'Green', 'Blue' ], 'type' => 3, 'unit' => 0, 'max_values' => 1, 'constraint_type' => 3, 'title' => 'Dropout', 'cap' => 101 }, 'cct-9' => { 'constraint_type' => 1, 'max_values' => 1, 'title' => 'Blue', 'cap' => 77, 'index' => 38, 'val' => '1', 'name' => 'cct-9', 'constraint' => { 'max' => '2', 'quant' => '0', 'min' => '-2' }, 'desc' => 'Control blue level', 'type' => 2, 'unit' => 0 }, 'ext-sane-status' => { 'constraint_type' => 1, 'max_values' => 1, 'title' => 'Extended SANE Status', 'cap' => 68, 'constraint' => { 'quant' => 0, 'min' => 0, 'max' => 2 }, 'desc' => 'Ugly kludge to provide additional status message strings to a frontend.', 'name' => 'ext-sane-status', 'index' => 61, 'val' => 0, 'unit' => 0, 'type' => 1 }, 'cct-7' => { 'constraint_type' => 1, 'max_values' => 1, 'title' => 'Shift red to blue', 'cap' => 77, 'val' => '0', 'index' => 36, 'name' => 'cct-7', 'constraint' => { 'max' => '2', 'quant' => '0', 'min' => '-2' }, 'desc' => 'Adds to blue based on red level', 'type' => 2, 'unit' => 0 }, 'cct-4' => { 'unit' => 0, 'type' => 2, 'desc' => 'Adds to green based on red level', 'constraint' => { 'min' => '-2', 'quant' => '0', 'max' => '2' }, 'index' => 33, 'val' => '0', 'name' => 'cct-4', 'cap' => 77, 'title' => 'Shift red to green', 'max_values' => 1, 'constraint_type' => 1 }, 'mode' => { 'type' => 3, 'unit' => 0, 'val' => 'Color', 'index' => 2, 'name' => 'mode', 'constraint' => [ 'Binary', 'Gray', 'Color' ], 'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', 'cap' => 5, 'title' => 'Scan mode', 'max_values' => 1, 'constraint_type' => 3 }, 'film-type' => { 'title' => 'Film type', 'cap' => 37, 'constraint_type' => 3, 'max_values' => 1, 'index' => 52, 'name' => 'film-type', 'val' => 'Positive Film', 'constraint' => [ 'Positive Film', 'Negative Film' ], 'desc' => '', 'type' => 3, 'unit' => 0 }, 'mirror' => { 'constraint_type' => 0, 'max_values' => 1, 'title' => 'Mirror image', 'cap' => 37, 'index' => 17, 'val' => 0, 'name' => 'mirror', 'desc' => 'Mirror the image.', 'type' => 0, 'unit' => 0 }, 'x-resolution' => { 'constraint_type' => 2, 'max_values' => 1, 'cap' => 69, 'title' => 'X-resolution', 'unit' => 4, 'type' => 1, 'desc' => 'Sets the horizontal resolution of the scanned image.', 'constraint' => [ 100, 200, 300, 400, 600 ], 'name' => 'x-resolution', 'index' => 13, 'val' => 200 }, 'cct-5' => { 'type' => 2, 'unit' => 0, 'val' => '1', 'index' => 34, 'name' => 'cct-5', 'constraint' => { 'quant' => '0', 'min' => '-2', 'max' => '2' }, 'desc' => 'Controls green level', 'constraint_type' => 1, 'max_values' => 1, 'cap' => 77, 'title' => 'Green' }, 'depth' => { 'title' => 'Bit depth', 'cap' => 5, 'constraint_type' => 2, 'max_values' => 1, 'constraint' => [ 8, 16 ], 'desc' => 'Number of bits per sample, typical values are 1 for "line-art" and 8 for multibit scans.', 'name' => 'depth', 'index' => 3, 'val' => 8, 'unit' => 0, 'type' => 1 }, 'blue-gamma-table' => { 'cap' => 5, 'title' => 'Blue intensity', 'constraint_type' => 1, 'max_values' => 256, 'type' => 1, 'unit' => 0, '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', 'constraint' => { 'max' => 255, 'min' => 0, 'quant' => 0 }, 'desc' => 'Gamma-correction table for the blue band.' }, 'speed' => { 'type' => 0, 'unit' => 0, 'name' => 'speed', 'index' => 18, 'val' => 0, 'desc' => 'Determines the speed at which the scan proceeds.', 'cap' => 5, 'title' => 'Scan speed', 'constraint_type' => 0, 'max_values' => 1 }, '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', 'constraint' => [ 'User defined (Gamma=1.0)', 'User defined (Gamma=1.8)' ], 'index' => 10, 'val' => 'User defined (Gamma=1.8)', 'name' => 'gamma-correction', 'unit' => 0, 'type' => 3, 'title' => 'Gamma Correction', 'cap' => 5, 'constraint_type' => 3, 'max_values' => 1 }, 'needs-polling' => { 'max_values' => 1, 'constraint_type' => 0, 'cap' => 68, 'title' => 'Needs Polling', 'type' => 0, 'unit' => 0, 'index' => 28, 'name' => 'needs-polling', 'val' => 0, 'desc' => 'Indicates whether the scanner needs to poll.' }, 'scan-area-is-valid' => { 'title' => 'Scan Area Is Valid', 'cap' => 68, 'constraint_type' => 0, 'max_values' => 1, 'desc' => 'Indicates whether the current scan area settings are valid.', 'val' => 1, 'index' => 58, 'name' => 'scan-area-is-valid', 'unit' => 0, 'type' => 0 }, 'zoom' => { 'title' => 'Zoom', 'cap' => 37, 'constraint_type' => 1, 'max_values' => 1, 'desc' => 'Defines the zoom factor the scanner will use', 'constraint' => { 'max' => 200, 'min' => 50, 'quant' => 0 }, 'name' => 'zoom', 'index' => 21, 'val' => 100, 'unit' => 0, 'type' => 1 }, 'brightness' => { 'constraint_type' => 1, 'max_values' => 1, 'cap' => 13, 'title' => 'Brightness', 'unit' => 0, 'type' => 1, 'desc' => 'Controls the brightness of the acquired image.', 'constraint' => { 'max' => 100, 'min' => -100, 'quant' => 1 }, 'name' => 'brightness', 'index' => 7, 'val' => 0 }, 'wait-for-button' => { 'unit' => 0, 'type' => 0, 'desc' => 'After sending the scan command, wait until the button on the scanner is pressed to actually start the scan process.', 'val' => 0, 'index' => 25, 'name' => 'wait-for-button', 'cap' => 69, 'title' => 'Wait for Button', 'max_values' => 1, 'constraint_type' => 0 }, 'cct-6' => { 'type' => 2, 'unit' => 0, 'index' => 35, 'name' => 'cct-6', 'val' => '0', 'desc' => 'Adds to green based on blue level', 'constraint' => { 'max' => '2', 'min' => '-2', 'quant' => '0' }, 'cap' => 77, 'title' => 'Shift blue to green', 'constraint_type' => 1, 'max_values' => 1 }, 'resolution' => { 'cap' => 5, 'title' => 'Scan resolution', 'max_values' => 1, 'constraint_type' => 2, 'type' => 1, 'unit' => 4, 'index' => 12, 'name' => 'resolution', 'val' => 200, 'constraint' => [ 100, 200, 300, 400, 600 ], 'desc' => 'Sets the resolution of the scanned image.' } }, 'array' => [ { 'index' => 0 }, { 'unit' => 0, 'type' => 5, 'desc' => '', 'index' => 1, 'max_values' => 1, 'constraint_type' => 0, 'cap' => 0, 'title' => 'Scan Mode' }, $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'}, { 'type' => 5, 'unit' => 0, 'index' => 16, 'desc' => '', 'constraint_type' => 0, 'max_values' => 1, 'cap' => 64, 'title' => 'Advanced' }, $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, 'cap' => 64, 'title' => 'Color correction coefficients', 'unit' => 0, 'type' => 5, 'desc' => 'Matrix multiplication of RGB', 'index' => 29 }, $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'}, { 'type' => 5, 'unit' => 0, 'index' => 39, 'desc' => '', 'cap' => 64, 'title' => 'Preview', 'max_values' => 1, 'constraint_type' => 0 }, $VAR1->{'hash'}{'preview'}, $VAR1->{'hash'}{'preview-speed'}, { 'index' => 42, 'desc' => '', 'type' => 5, 'unit' => 0, 'title' => 'Geometry', 'cap' => 64, 'constraint_type' => 0, 'max_values' => 1 }, $VAR1->{'hash'}{'scan-area'}, $VAR1->{'hash'}{'tl-x'}, $VAR1->{'hash'}{'tl-y'}, $VAR1->{'hash'}{'br-x'}, $VAR1->{'hash'}{'br-y'}, $VAR1->{'hash'}{'quick-format'}, { 'cap' => 64, 'title' => 'Optional equipment', 'max_values' => 1, 'constraint_type' => 0, 'unit' => 0, 'type' => 5, 'desc' => '', 'index' => 49 }, $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 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-SN6R/out1.pnm. (scanner status = 5) DEBUG - $VAR1 = []; DEBUG - Free space in /tmp/gscan2pdf-SN6R (Mb): 78588.734375 (warning at 10) INFO - Importing scan with resolution=200 INFO - Header suggests 14241349 INFO - Expecting 14241349, found 14241349 INFO - New page filename /tmp/gscan2pdf-SN6R/out1.pnm, format Portable anymap INFO - Added /tmp/gscan2pdf-SN6R/HUCm62BQOV.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 ^[OF