INFO - Starting gscan2pdf 2.13.2
INFO - Called with /usr/bin/gscan2pdf --log=/home/jgoerzen/gscan2pdflog
INFO - Log level DEBUG
INFO - Using en_US.UTF-8 locale
INFO - Startup LC_NUMERIC C
INFO - Reading config from /home/jgoerzen/.config/gscan2pdfrc
INFO - Config file version v2.13.2
DEBUG - $VAR1 = {
          'Blank threshold' => '0.005',
          'Dark threshold' => '0.12',
          'OCR on scan' => 1,
          'OCR output' => 'replace',
          'Page range' => 'selected',
          'Paper' => {
                       'A4' => {
                                 'l' => 0,
                                 't' => 0,
                                 'x' => 210,
                                 'y' => 297
                               },
                       'US Legal' => {
                                       'l' => 0,
                                       't' => 0,
                                       'x' => 216,
                                       'y' => 356
                                     },
                       'US Letter' => {
                                        'l' => 0,
                                        't' => 0,
                                        'x' => 216,
                                        'y' => 279
                                      }
                     },
          'SANE version' => '1.1.1',
          'TMPDIR' => undef,
          'adf-defaults-scan-all-pages' => 1,
          'allow-batch-flatbed' => '',
          'author' => '',
          'author-suggestions' => [
                                    ''
                                  ],
          'auto-open-scan-dialog' => 1,
          'available-tmp-warning' => 10,
          'brightness tool' => 65,
          'cache' => undef,
          'cache options' => 1,
          'cache-device-list' => 1,
          'cancel-between-pages' => '',
          'close_dialog_on_save' => 1,
          'contrast tool' => 65,
          'convert whitespace to underscores' => '',
          'current_psh' => undef,
          'current_udt' => 'convert -threshold 50% %i %o',
          'cwd' => '/home/jgoerzen',
          'cycle sane handle' => '',
          'datetime offset' => [
                                 0,
                                 0,
                                 0,
                                 0
                               ],
          'default filename' => '%Da %DY-%Dm-%Dd',
          'default profile' => undef,
          'default-scan-options' => {
                                      'backend' => [
                                                     {
                                                       'resolution' => '300'
                                                     },
                                                     {
                                                       'br-y' => 279
                                                     },
                                                     {
                                                       'mode' => 'Black & White'
                                                     },
                                                     {
                                                       'source' => 'Automatic Document Feeder(center aligned)'
                                                     },
                                                     {
                                                       'br-x' => '215.899993896484'
                                                     }
                                                   ],
                                      'frontend' => {
                                                      'num_pages' => 0,
                                                      'paper' => 'US Letter'
                                                    }
                                    },
          'device' => 'brother5:net1;dev0',
          'device blacklist' => '',
          'device list' => [
                             {
                               'label' => 'Brother ADS-3300W-wbranch',
                               'model' => 'ADS-3300W-wbranch',
                               'name' => 'brother5:net1;dev0',
                               'type' => 'ADS-3300W',
                               'vendor' => 'Brother'
                             },
                             {
                               'label' => 'HP Color LaserJet MFP M277dw (51F819)',
                               'model' => 'Color LaserJet MFP M277dw (51F819)',
                               'name' => 'escl:http://[fe80::42b8:9aff:fe57:a]:8080',
                               'type' => 'platen,adf scanner',
                               'vendor' => 'HP'
                             },
                             {
                               'label' => 'WSD Brother ADS-3300W [000EC6944DB9]',
                               'model' => 'Brother ADS-3300W [000EC6944DB9]',
                               'name' => 'airscan:w3:Brother ADS-3300W [000EC6944DB9]',
                               'type' => 'ip=10.200.0.79',
                               'vendor' => 'WSD'
                             },
                             {
                               'label' => 'eSCL HP Color LaserJet MFP M277dw (51F819)',
                               'model' => 'HP Color LaserJet MFP M277dw (51F819)',
                               'name' => 'airscan:e0:HP Color LaserJet MFP M277dw (51F819)',
                               'type' => 'ip=10.200.0.27',
                               'vendor' => 'eSCL'
                             }
                           ],
          'downsample' => 0,
          'downsample dpi' => 150,
          'frontend' => 'libimage-sane-perl',
          'ignore-duplex-capabilities' => '',
          'image type' => 'pdf',
          'image_control_tool' => 30,
          'keywords' => '',
          'keywords-suggestions' => [
                                      ''
                                    ],
          'libimage-sane-perl version' => '5',
          'message' => {
                         'Detected %%d diacritics' => {
                                                        'response' => 'ok'
                                                      },
                         'Empty page!!' => {
                                             'response' => 'ok'
                                           },
                         'Error creating email' => {},
                         'Error in boxClipToRectangle: box outside rectangle
Error in pixScanForForeground: invalid box' => {
                                                                                                                              'response' => 'ok'
                                                                                                                            },
                         'Error processing with tesseract: Detected %%d diacritics' => {
                                                                                         'response' => 'ok'
                                                                                       },
                         'Error processing with tesseract: Detected %%d diacritics
Empty page!!' => {},
                         'Error processing with tesseract: Detected %%d diacritics
Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Detected %%d diacritics
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!' => {
                                                                                                                                                                           'response' => 'ok'
                                                                                                                                                                         },
                         'Error processing with tesseract: Detected %%d diacritics
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Detected %%d diacritics
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Empty page!!' => {
                                                                              'response' => 'ok'
                                                                            },
                         'Error processing with tesseract: Error in boxClipToRectangle: box outside rectangle
Error in pixScanForForeground: invalid box' => {},
                         'Error processing with tesseract: Error in boxClipToRectangle: box outside rectangle
Error in pixScanForForeground: invalid box
Detected %%d diacritics' => {},
                         'Error processing with tesseract: Image too small to scale!! (1x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (1x36 vs min width of %%d)
Line cannot be recognized!!' => {
                                                                                                                                                                                                                                     'response' => 'ok'
                                                                                                                                                                                                                                   },
                         'Error processing with tesseract: Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (1x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!' => {
                                                                                                                                                   'response' => 'ok'
                                                                                                                                                 },
                         'Error processing with tesseract: Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: read_params_file: Can\'t open eng
read_params_file: Can\'t open c
read_params_file: Can\'t open tessedit_create_hocr=%%d
Tesseract Open Source OCR Engine v4.%%d.%%d with Leptonica
Error, cannot read input file stdout: No such file or directory
Error during processing.' => {},
                         'Error rotating: Exception 410: no images defined `Rotate\' @ error/Q16.xs/XS_Image__Magick__Q16_Mogrify/7623.' => {},
                         'Error running unpaper: [image2 @ %%x] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.' => {
                                                                                                                                                                                                                                               'response' => 'ok'
                                                                                                                                                                                                                                             },
                         'Error running unpaper: [image2 @ %%x] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {
                                                                                                                                                                                                                                                'response' => 'close'
                                                                                                                                                                                                                                              },
                         'Error running unpaper: [pgm_pipe @ %%x] Stream #%%d: not enough frames to estimate rate; consider increasing probesize
[image2 @ %%x] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.' => {
                                                                                                                                                                                                                                                                                                                                               'response' => 'ok'
                                                                                                                                                                                                                                                                                                                                             },
                         'Error running unpaper: [pgm_pipe @ %%x] Stream #0: not enough frames to estimate rate; consider increasing probesize
[image2 @ %%x] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [ppm_pipe @ %%x] Stream #%%d: not enough frames to estimate rate; consider increasing probesize
[image2 @ %%x] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.' => {
                                                                                                                                                                                                                                                                                                                                               'response' => 'ok'
                                                                                                                                                                                                                                                                                                                                             },
                         'Error running unpaper: [ppm_pipe @ %%x] Stream #0: not enough frames to estimate rate; consider increasing probesize
[image2 @ %%x] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {
                                                                                                                                                                                                                                                                                                                                              'response' => 'close'
                                                                                                                                                                                                                                                                                                                                            },
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-17e9/CNLhXqkIgK.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-17e9/ybrIKOrO1U.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-2dK6/fF9_EmbJrn.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-4Dyh/2paC3UCpUM.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-9Riy/5iQUPEqVyD.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-9Riy/iQtCiE732w.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-A5BU/GajNMKZBnE.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-A5BU/pxUmai6lWQ.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-BNV0/DG51BXkGEz.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-FKhn/ZBJHtAeGUN.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-HQpT/tysUs3YREz.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-HlH8/OlNMuzJJiJ.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-IEaK/5DO5OlFGwV.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-IEaK/o19iKayHPW.pbm: wrong stream
Try \'man unpaper\' for more information.' => {
                                                                                                                                                                                      'response' => 'ok'
                                                                                                                                                                                    },
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-LAzJ/1QCcuc_I4_.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-LAzJ/Qda7MDfc3u.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-LAzJ/S9t_2OQf9p.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-LAzJ/YDX5DpqCOi.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-P7jU/8lMCtDmvtL.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-P7jU/LV5LjXCqiY.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-P7jU/_daMeo08J1.pbm: wrong stream
Try \'man unpaper\' for more information.' => {
                                                                                                                                                                                      'response' => 'ok'
                                                                                                                                                                                    },
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-P7jU/ky863BuoMb.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-PBn0/9BJ0gOUl3G.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-PBn0/hbh8eajvL_.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-PabA/3tA4OcGLkv.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-PabA/lfcxnxqDhf.pbm: wrong stream
Try \'man unpaper\' for more information.' => {
                                                                                                                                                                                      'response' => 'ok'
                                                                                                                                                                                    },
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-QjQr/EY8YXRNlp3.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-QjQr/KSSDRyYGr6.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-SAiv/NRheOrT7_F.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-TFII/ICidjv1h8Q.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-TN_4/KphNoXcSKC.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-TN_4/jAhDJ6Gmkk.pbm: wrong stream
Try \'man unpaper\' for more information.' => {
                                                                                                                                                                                      'response' => 'ok'
                                                                                                                                                                                    },
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-TN_4/uuRDI3rq0n.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-VT6D/7YvdnkBD40.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-WJPT/az2H9JHSjo.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-WJPT/jEtUV2suX9.pbm: wrong stream
Try \'man unpaper\' for more information.' => {
                                                                                                                                                                                      'response' => 'ok'
                                                                                                                                                                                    },
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-aa43/7GDU9jxmGG.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-aa43/R8MJD_7Baf.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-aa43/tGhInSvpfC.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-exQN/chd54RKc_q.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-pEmq/LhwEMruk4t.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-pHdn/8sbF118Iyn.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-wAel/9RBV42ME5y.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-xyHo/4_wBsb5VEz.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-y8J_/c7KQgVyPpt.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Invalid argument' => {},
                         'No devices found' => {
                                                 'response' => 'ok'
                                               },
                         'Scanner cover is open' => {
                                                      'response' => 'ok'
                                                    },
                         'Some pages have not been saved.
Do you really want to clear all pages?' => {},
                         'Some pages have not been saved.
Do you really want to quit?' => {},
                         'This operation cannot be undone. Are you sure?' => {},
                         '[image2 @ %%x] Encoder did not produce proper pts, making some up.' => {
                                                                                                   'response' => 'ok'
                                                                                                 },
                         '[image2 @ %%x] The specified filename \'/tmp/%%t.pnm\' does not contain an image sequence pattern or a pattern is invalid.' => {
                                                                                                                                                           'response' => 'ok'
                                                                                                                                                         },
                         '[image2 @ %%x] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v %%d if needed) to write a single image.' => {
                                                                                                                                                                                  'response' => 'ok'
                                                                                                                                                                                },
                         '[image2 @ %%x] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.' => {
                                                                                                                                                     'response' => 'ok'
                                                                                                                                                   },
                         'gscan2pdf: sane_start: Device busy' => {},
                         'gscan2pdf: sane_start: Document feeder jammed' => {},
                         'gscan2pdf: sane_start: Error during device I/O' => {},
                         'gscan2pdf: sane_start: Invalid argument' => {
                                                                        'response' => 'ok'
                                                                      },
                         'gscan2pdf: sane_start: Scanner cover is open' => {}
                       },
          'message_window_height' => 973,
          'message_window_width' => 844,
          'ocr engine' => 'tesseract',
          'ocr language' => 'eng',
          'pdf compression' => 'auto',
          'pdf font' => '/usr/share/fonts/truetype/noto/NotoSansMalayalamUI-SemiCondensed.ttf',
          'post_save_hook' => '',
          'profile' => {
                         'Brother Lineart' => {
                                                'backend' => [
                                                               {
                                                                 'br-x' => '215.899993896484'
                                                               },
                                                               {
                                                                 'br-y' => 279
                                                               },
                                                               {
                                                                 'mode' => 'Gray'
                                                               },
                                                               {
                                                                 'brightness' => 0
                                                               }
                                                             ],
                                                'frontend' => {
                                                                'paper' => 'US Letter'
                                                              }
                                              },
                         'brscan duples' => {
                                              'backend' => [
                                                             {
                                                               'br-y' => 279
                                                             },
                                                             {
                                                               'mode' => 'Black & White'
                                                             },
                                                             {
                                                               'resolution' => 300
                                                             },
                                                             {
                                                               'source' => 'Automatic Document Feeder(center aligned,Duplex)'
                                                             },
                                                             {
                                                               'AutoDeskew' => '1'
                                                             },
                                                             {
                                                               'br-x' => '215.899993896484'
                                                             }
                                                           ],
                                              'frontend' => {
                                                              'num_pages' => 0,
                                                              'paper' => 'US Letter'
                                                            }
                                            },
                         'brscan duplex' => {
                                              'backend' => [
                                                             {
                                                               'br-y' => 279
                                                             },
                                                             {
                                                               'resolution' => 300
                                                             },
                                                             {
                                                               'source' => 'Automatic Document Feeder(center aligned,Duplex)'
                                                             },
                                                             {
                                                               'AutoDeskew' => '1'
                                                             },
                                                             {
                                                               'mode' => 'Gray[Error Diffusion]'
                                                             },
                                                             {
                                                               'br-x' => '215.899993896484'
                                                             }
                                                           ],
                                              'frontend' => {
                                                              'paper' => 'US Letter'
                                                            }
                                            },
                         'libsane-perl duplex-03' => {
                                                       'backend' => [
                                                                      {
                                                                        'mode' => 'Lineart'
                                                                      },
                                                                      {
                                                                        'resolution' => '300'
                                                                      },
                                                                      {
                                                                        'source' => 'ADF Duplex'
                                                                      },
                                                                      {
                                                                        'page-height' => '279'
                                                                      },
                                                                      {
                                                                        'page-width' => '216'
                                                                      },
                                                                      {
                                                                        'br-x' => '216'
                                                                      },
                                                                      {
                                                                        'br-y' => '279'
                                                                      }
                                                                    ],
                                                       'frontend' => {
                                                                       'num_pages' => '0',
                                                                       'paper' => 'US Letter'
                                                                     }
                                                     },
                         'libsane-perl duplex-07' => {
                                                       'backend' => [
                                                                      {
                                                                        'mode' => 'Lineart'
                                                                      },
                                                                      {
                                                                        'resolution' => '300'
                                                                      },
                                                                      {
                                                                        'source' => 'ADF Duplex'
                                                                      },
                                                                      {
                                                                        'page-height' => '279'
                                                                      },
                                                                      {
                                                                        'page-width' => '216'
                                                                      },
                                                                      {
                                                                        'br-x' => '216'
                                                                      },
                                                                      {
                                                                        'br-y' => '279'
                                                                      },
                                                                      {
                                                                        'brightness' => 17
                                                                      }
                                                                    ],
                                                       'frontend' => {
                                                                       'num_pages' => '0',
                                                                       'paper' => 'US Letter'
                                                                     }
                                                     },
                         'libsane-perl-duplex-08' => {
                                                       'backend' => [
                                                                      {
                                                                        'resolution' => '300'
                                                                      },
                                                                      {
                                                                        'br-y' => '279'
                                                                      },
                                                                      {
                                                                        'mode' => 'Gray[Error Diffusion]'
                                                                      },
                                                                      {
                                                                        'br-x' => '215.899993896484'
                                                                      },
                                                                      {
                                                                        'source' => 'Automatic Document Feeder(center aligned,Duplex)'
                                                                      }
                                                                    ],
                                                       'frontend' => {
                                                                       'paper' => 'US Letter'
                                                                     }
                                                     },
                         'libsane-perl-front-07' => {
                                                      'backend' => [
                                                                     {
                                                                       'resolution' => '300'
                                                                     },
                                                                     {
                                                                       'page-height' => '279'
                                                                     },
                                                                     {
                                                                       'page-width' => '216'
                                                                     },
                                                                     {
                                                                       'brightness' => '17'
                                                                     },
                                                                     {
                                                                       'source' => 'ADF Front'
                                                                     }
                                                                   ],
                                                      'frontend' => {
                                                                      'num_pages' => '0',
                                                                      'paper' => 'US Letter'
                                                                    }
                                                    },
                         'officejet-logs-01' => {
                                                  'backend' => [
                                                                 {
                                                                   'mode' => 'Lineart'
                                                                 },
                                                                 {
                                                                   'resolution' => '300'
                                                                 },
                                                                 {
                                                                   'br-y' => '279'
                                                                 },
                                                                 {
                                                                   'source' => 'ADF Front'
                                                                 },
                                                                 {
                                                                   'br-x' => '216'
                                                                 },
                                                                 {
                                                                   'brightness' => 0
                                                                 },
                                                                 {
                                                                   'contrast' => 1000
                                                                 }
                                                               ],
                                                  'frontend' => {
                                                                  'paper' => 'US Letter'
                                                                }
                                                },
                         'officejet-logs-brighter-02' => {
                                                           'backend' => [
                                                                          {
                                                                            'mode' => 'Lineart'
                                                                          },
                                                                          {
                                                                            'resolution' => '300'
                                                                          },
                                                                          {
                                                                            'br-y' => '279'
                                                                          },
                                                                          {
                                                                            'source' => 'ADF Front'
                                                                          },
                                                                          {
                                                                            'br-x' => '216'
                                                                          },
                                                                          {
                                                                            'contrast' => '1000'
                                                                          },
                                                                          {
                                                                            'brightness' => 500
                                                                          }
                                                                        ],
                                                           'frontend' => {
                                                                           'paper' => 'US Letter'
                                                                         }
                                                         }
                       },
          'ps_backend' => 'pdftops',
          'quality' => 75,
          'restore window' => 1,
          'rotate facing' => 0,
          'rotate reverse' => 0,
          'scan prefix' => '',
          'scan-reload-triggers' => [
                                      'mode'
                                    ],
          'scan_window_height' => 568,
          'scan_window_width' => 752,
          'selection' => {
                           'height' => 0,
                           'width' => 0,
                           'x' => '1284.55468106957',
                           'y' => '1285.78707379486'
                         },
          'set_timestamp' => '',
          'subject' => '',
          'subject-suggestions' => [
                                     ''
                                   ],
          'text_position' => 'behind',
          'threshold tool' => 65,
          'threshold-before-ocr' => '',
          'thumb panel' => 154,
          'tiff compression' => undef,
          'timezone offset' => [
                                 0,
                                 0,
                                 0,
                                 0,
                                 0,
                                 0,
                                 0
                               ],
          'title' => '',
          'title-suggestions' => [
                                   ''
                                 ],
          'to_png' => 1,
          'udt_on_scan' => '',
          'unpaper on scan' => 1,
          'unpaper options' => {
                                 'black-threshold' => '0.33',
                                 'border-margin' => '0,0',
                                 'deskew-scan-direction' => 'left,right',
                                 'direction' => 'ltr',
                                 'layout' => 'single',
                                 'no-blackfilter' => 1,
                                 'no-blurfilter' => 1,
                                 'no-border-align' => '',
                                 'no-border-scan' => '',
                                 'no-deskew' => '',
                                 'no-grayfilter' => 1,
                                 'no-mask-center' => '',
                                 'no-mask-scan' => 1,
                                 'no-noisefilter' => 1,
                                 'output-pages' => 1,
                                 'white-threshold' => '0.9'
                               },
          'unsharp amount' => 1,
          'unsharp radius' => 0,
          'unsharp sigma' => 1,
          'unsharp threshold' => '0.05',
          'use_time' => '',
          'use_timezone' => 1,
          'user_defined_tools' => [
                                    'gimp %i',
                                    'convert -threshold 50% %i %o'
                                  ],
          'version' => '2.13.2',
          'view files toggle' => 1,
          'viewer_tools' => 100,
          'visible-scan-options' => {
                                      'Paper size' => 1,
                                      'adf-mode' => 1,
                                      'adf_mode' => 1,
                                      'batch-scan' => 1,
                                      'brightness' => 1,
                                      'button-wait' => 1,
                                      'calibration-cache' => 1,
                                      'compression' => 1,
                                      'contrast' => 1,
                                      'gain' => 1,
                                      'l' => 1,
                                      'mode' => 1,
                                      'overscan-bottom' => 1,
                                      'overscan-top' => 1,
                                      'page-height' => 1,
                                      'page-width' => 1,
                                      'pageheight' => 1,
                                      'pagewidth' => 1,
                                      'resolution' => 1,
                                      'source' => 1,
                                      'speed' => 1,
                                      't' => 1,
                                      'threshold' => 1,
                                      'wait-for-button' => 1,
                                      'x' => 1,
                                      'y' => 1
                                    },
          'window_height' => 1367,
          'window_maximize' => 1,
          'window_width' => 1280,
          'window_x' => 0,
          'window_y' => 0
        };

INFO - Operating system: linux
INFO - PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
INFO - Perl version v5.36.0
INFO - Glib-Perl version 1.3293
INFO - Glib::Object::Introspection version 0.049
INFO - Built for Glib 2.74.0
INFO - Running with Glib 2.74.6
INFO - Gtk3-Perl version 0.038
INFO - Built for GTK 3.24.38
INFO - Running with GTK 3.24.38
INFO - Gtk3::SimpleList version 0.21
INFO - Gscan2pdf::Document version 2.13.2
INFO - Using Gtk3::ImageView version 10
INFO - Using PDF::Builder version 3.025
INFO - Using Sane version 1.1.1
INFO - Using libimage-sane-perl version 5
DEBUG - $VAR1 = {
          'Blank threshold' => '0.005',
          'Dark threshold' => '0.12',
          'OCR on scan' => 1,
          'OCR output' => 'replace',
          'Page range' => 'selected',
          'Paper' => {
                       'A4' => {
                                 'l' => 0,
                                 't' => 0,
                                 'x' => 210,
                                 'y' => 297
                               },
                       'US Legal' => {
                                       'l' => 0,
                                       't' => 0,
                                       'x' => 216,
                                       'y' => 356
                                     },
                       'US Letter' => {
                                        'l' => 0,
                                        't' => 0,
                                        'x' => 216,
                                        'y' => 279
                                      }
                     },
          'SANE version' => '1.1.1',
          'TMPDIR' => undef,
          'adf-defaults-scan-all-pages' => 1,
          'allow-batch-flatbed' => '',
          'author' => '',
          'author-suggestions' => [
                                    ''
                                  ],
          'auto-open-scan-dialog' => 1,
          'available-tmp-warning' => 10,
          'brightness tool' => 65,
          'cache' => undef,
          'cache options' => 1,
          'cache-device-list' => 1,
          'cancel-between-pages' => '',
          'close_dialog_on_save' => 1,
          'contrast tool' => 65,
          'convert whitespace to underscores' => '',
          'current_psh' => undef,
          'current_udt' => 'convert -threshold 50% %i %o',
          'cwd' => '/home/jgoerzen',
          'cycle sane handle' => '',
          'datetime offset' => [
                                 0,
                                 0,
                                 0,
                                 0
                               ],
          'default filename' => '%Da %DY-%Dm-%Dd',
          'default profile' => undef,
          'default-scan-options' => {
                                      'backend' => [
                                                     {
                                                       'resolution' => '300'
                                                     },
                                                     {
                                                       'br-y' => 279
                                                     },
                                                     {
                                                       'mode' => 'Black & White'
                                                     },
                                                     {
                                                       'source' => 'Automatic Document Feeder(center aligned)'
                                                     },
                                                     {
                                                       'br-x' => '215.899993896484'
                                                     }
                                                   ],
                                      'frontend' => {
                                                      'num_pages' => 0,
                                                      'paper' => 'US Letter'
                                                    }
                                    },
          'device' => 'brother5:net1;dev0',
          'device blacklist' => '',
          'device list' => [
                             {
                               'label' => 'Brother ADS-3300W-wbranch',
                               'model' => 'ADS-3300W-wbranch',
                               'name' => 'brother5:net1;dev0',
                               'type' => 'ADS-3300W',
                               'vendor' => 'Brother'
                             },
                             {
                               'label' => 'HP Color LaserJet MFP M277dw (51F819)',
                               'model' => 'Color LaserJet MFP M277dw (51F819)',
                               'name' => 'escl:http://[fe80::42b8:9aff:fe57:a]:8080',
                               'type' => 'platen,adf scanner',
                               'vendor' => 'HP'
                             },
                             {
                               'label' => 'WSD Brother ADS-3300W [000EC6944DB9]',
                               'model' => 'Brother ADS-3300W [000EC6944DB9]',
                               'name' => 'airscan:w3:Brother ADS-3300W [000EC6944DB9]',
                               'type' => 'ip=10.200.0.79',
                               'vendor' => 'WSD'
                             },
                             {
                               'label' => 'eSCL HP Color LaserJet MFP M277dw (51F819)',
                               'model' => 'HP Color LaserJet MFP M277dw (51F819)',
                               'name' => 'airscan:e0:HP Color LaserJet MFP M277dw (51F819)',
                               'type' => 'ip=10.200.0.27',
                               'vendor' => 'eSCL'
                             }
                           ],
          'downsample' => 0,
          'downsample dpi' => 150,
          'frontend' => 'libimage-sane-perl',
          'ignore-duplex-capabilities' => '',
          'image type' => 'pdf',
          'image_control_tool' => 30,
          'keywords' => '',
          'keywords-suggestions' => [
                                      ''
                                    ],
          'libimage-sane-perl version' => '5',
          'message' => {
                         'Detected %%d diacritics' => {
                                                        'response' => 'ok'
                                                      },
                         'Empty page!!' => {
                                             'response' => 'ok'
                                           },
                         'Error creating email' => {},
                         'Error in boxClipToRectangle: box outside rectangle
Error in pixScanForForeground: invalid box' => {
                                                                                                                              'response' => 'ok'
                                                                                                                            },
                         'Error processing with tesseract: Detected %%d diacritics' => {
                                                                                         'response' => 'ok'
                                                                                       },
                         'Error processing with tesseract: Detected %%d diacritics
Empty page!!' => {},
                         'Error processing with tesseract: Detected %%d diacritics
Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Detected %%d diacritics
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!' => {
                                                                                                                                                                           'response' => 'ok'
                                                                                                                                                                         },
                         'Error processing with tesseract: Detected %%d diacritics
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Detected %%d diacritics
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Empty page!!' => {
                                                                              'response' => 'ok'
                                                                            },
                         'Error processing with tesseract: Error in boxClipToRectangle: box outside rectangle
Error in pixScanForForeground: invalid box' => {},
                         'Error processing with tesseract: Error in boxClipToRectangle: box outside rectangle
Error in pixScanForForeground: invalid box
Detected %%d diacritics' => {},
                         'Error processing with tesseract: Image too small to scale!! (1x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (1x36 vs min width of %%d)
Line cannot be recognized!!' => {
                                                                                                                                                                                                                                     'response' => 'ok'
                                                                                                                                                                                                                                   },
                         'Error processing with tesseract: Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (1x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!' => {
                                                                                                                                                   'response' => 'ok'
                                                                                                                                                 },
                         'Error processing with tesseract: Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (2x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!
Image too small to scale!! (3x36 vs min width of %%d)
Line cannot be recognized!!' => {},
                         'Error processing with tesseract: read_params_file: Can\'t open eng
read_params_file: Can\'t open c
read_params_file: Can\'t open tessedit_create_hocr=%%d
Tesseract Open Source OCR Engine v4.%%d.%%d with Leptonica
Error, cannot read input file stdout: No such file or directory
Error during processing.' => {},
                         'Error rotating: Exception 410: no images defined `Rotate\' @ error/Q16.xs/XS_Image__Magick__Q16_Mogrify/7623.' => {},
                         'Error running unpaper: [image2 @ %%x] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.' => {
                                                                                                                                                                                                                                               'response' => 'ok'
                                                                                                                                                                                                                                             },
                         'Error running unpaper: [image2 @ %%x] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {
                                                                                                                                                                                                                                                'response' => 'close'
                                                                                                                                                                                                                                              },
                         'Error running unpaper: [pgm_pipe @ %%x] Stream #%%d: not enough frames to estimate rate; consider increasing probesize
[image2 @ %%x] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.' => {
                                                                                                                                                                                                                                                                                                                                               'response' => 'ok'
                                                                                                                                                                                                                                                                                                                                             },
                         'Error running unpaper: [pgm_pipe @ %%x] Stream #0: not enough frames to estimate rate; consider increasing probesize
[image2 @ %%x] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {},
                         'Error running unpaper: [ppm_pipe @ %%x] Stream #%%d: not enough frames to estimate rate; consider increasing probesize
[image2 @ %%x] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.' => {
                                                                                                                                                                                                                                                                                                                                               'response' => 'ok'
                                                                                                                                                                                                                                                                                                                                             },
                         'Error running unpaper: [ppm_pipe @ %%x] Stream #0: not enough frames to estimate rate; consider increasing probesize
[image2 @ %%x] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[image2 @ %%x] Encoder did not produce proper pts, making some up.
' => {
                                                                                                                                                                                                                                                                                                                                              'response' => 'close'
                                                                                                                                                                                                                                                                                                                                            },
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-17e9/CNLhXqkIgK.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-17e9/ybrIKOrO1U.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-2dK6/fF9_EmbJrn.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-4Dyh/2paC3UCpUM.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-9Riy/5iQUPEqVyD.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-9Riy/iQtCiE732w.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-A5BU/GajNMKZBnE.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-A5BU/pxUmai6lWQ.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-BNV0/DG51BXkGEz.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-FKhn/ZBJHtAeGUN.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-HQpT/tysUs3YREz.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-HlH8/OlNMuzJJiJ.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-IEaK/5DO5OlFGwV.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-IEaK/o19iKayHPW.pbm: wrong stream
Try \'man unpaper\' for more information.' => {
                                                                                                                                                                                      'response' => 'ok'
                                                                                                                                                                                    },
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-LAzJ/1QCcuc_I4_.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-LAzJ/Qda7MDfc3u.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-LAzJ/S9t_2OQf9p.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-LAzJ/YDX5DpqCOi.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-P7jU/8lMCtDmvtL.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-P7jU/LV5LjXCqiY.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-P7jU/_daMeo08J1.pbm: wrong stream
Try \'man unpaper\' for more information.' => {
                                                                                                                                                                                      'response' => 'ok'
                                                                                                                                                                                    },
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-P7jU/ky863BuoMb.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-PBn0/9BJ0gOUl3G.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-PBn0/hbh8eajvL_.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-PabA/3tA4OcGLkv.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-PabA/lfcxnxqDhf.pbm: wrong stream
Try \'man unpaper\' for more information.' => {
                                                                                                                                                                                      'response' => 'ok'
                                                                                                                                                                                    },
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-QjQr/EY8YXRNlp3.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-QjQr/KSSDRyYGr6.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-SAiv/NRheOrT7_F.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-TFII/ICidjv1h8Q.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-TN_4/KphNoXcSKC.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-TN_4/jAhDJ6Gmkk.pbm: wrong stream
Try \'man unpaper\' for more information.' => {
                                                                                                                                                                                      'response' => 'ok'
                                                                                                                                                                                    },
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-TN_4/uuRDI3rq0n.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-VT6D/7YvdnkBD40.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-WJPT/az2H9JHSjo.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-WJPT/jEtUV2suX9.pbm: wrong stream
Try \'man unpaper\' for more information.' => {
                                                                                                                                                                                      'response' => 'ok'
                                                                                                                                                                                    },
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-aa43/7GDU9jxmGG.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-aa43/R8MJD_7Baf.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-aa43/tGhInSvpfC.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-exQN/chd54RKc_q.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-pEmq/LhwEMruk4t.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-pHdn/8sbF118Iyn.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-wAel/9RBV42ME5y.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-xyHo/4_wBsb5VEz.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Error running unpaper: unpaper: error: unable to open file /tmp/gscan2pdf-y8J_/c7KQgVyPpt.pbm: wrong stream
Try \'man unpaper\' for more information.' => {},
                         'Invalid argument' => {},
                         'No devices found' => {
                                                 'response' => 'ok'
                                               },
                         'Scanner cover is open' => {
                                                      'response' => 'ok'
                                                    },
                         'Some pages have not been saved.
Do you really want to clear all pages?' => {},
                         'Some pages have not been saved.
Do you really want to quit?' => {},
                         'This operation cannot be undone. Are you sure?' => {},
                         '[image2 @ %%x] Encoder did not produce proper pts, making some up.' => {
                                                                                                   'response' => 'ok'
                                                                                                 },
                         '[image2 @ %%x] The specified filename \'/tmp/%%t.pnm\' does not contain an image sequence pattern or a pattern is invalid.' => {
                                                                                                                                                           'response' => 'ok'
                                                                                                                                                         },
                         '[image2 @ %%x] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v %%d if needed) to write a single image.' => {
                                                                                                                                                                                  'response' => 'ok'
                                                                                                                                                                                },
                         '[image2 @ %%x] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.' => {
                                                                                                                                                     'response' => 'ok'
                                                                                                                                                   },
                         'gscan2pdf: sane_start: Device busy' => {},
                         'gscan2pdf: sane_start: Document feeder jammed' => {},
                         'gscan2pdf: sane_start: Error during device I/O' => {},
                         'gscan2pdf: sane_start: Invalid argument' => {
                                                                        'response' => 'ok'
                                                                      },
                         'gscan2pdf: sane_start: Scanner cover is open' => {}
                       },
          'message_window_height' => 973,
          'message_window_width' => 844,
          'ocr engine' => 'tesseract',
          'ocr language' => 'eng',
          'pdf compression' => 'auto',
          'pdf font' => '/usr/share/fonts/truetype/noto/NotoSansMalayalamUI-SemiCondensed.ttf',
          'post_save_hook' => '',
          'profile' => {
                         'Brother Lineart' => {
                                                'backend' => [
                                                               {
                                                                 'br-x' => '215.899993896484'
                                                               },
                                                               {
                                                                 'br-y' => 279
                                                               },
                                                               {
                                                                 'mode' => 'Gray'
                                                               },
                                                               {
                                                                 'brightness' => 0
                                                               }
                                                             ],
                                                'frontend' => {
                                                                'paper' => 'US Letter'
                                                              }
                                              },
                         'brscan duples' => {
                                              'backend' => [
                                                             {
                                                               'br-y' => 279
                                                             },
                                                             {
                                                               'mode' => 'Black & White'
                                                             },
                                                             {
                                                               'resolution' => 300
                                                             },
                                                             {
                                                               'source' => 'Automatic Document Feeder(center aligned,Duplex)'
                                                             },
                                                             {
                                                               'AutoDeskew' => '1'
                                                             },
                                                             {
                                                               'br-x' => '215.899993896484'
                                                             }
                                                           ],
                                              'frontend' => {
                                                              'num_pages' => 0,
                                                              'paper' => 'US Letter'
                                                            }
                                            },
                         'brscan duplex' => {
                                              'backend' => [
                                                             {
                                                               'br-y' => 279
                                                             },
                                                             {
                                                               'resolution' => 300
                                                             },
                                                             {
                                                               'source' => 'Automatic Document Feeder(center aligned,Duplex)'
                                                             },
                                                             {
                                                               'AutoDeskew' => '1'
                                                             },
                                                             {
                                                               'mode' => 'Gray[Error Diffusion]'
                                                             },
                                                             {
                                                               'br-x' => '215.899993896484'
                                                             }
                                                           ],
                                              'frontend' => {
                                                              'paper' => 'US Letter'
                                                            }
                                            },
                         'libsane-perl duplex-03' => {
                                                       'backend' => [
                                                                      {
                                                                        'mode' => 'Lineart'
                                                                      },
                                                                      {
                                                                        'resolution' => '300'
                                                                      },
                                                                      {
                                                                        'source' => 'ADF Duplex'
                                                                      },
                                                                      {
                                                                        'page-height' => '279'
                                                                      },
                                                                      {
                                                                        'page-width' => '216'
                                                                      },
                                                                      {
                                                                        'br-x' => '216'
                                                                      },
                                                                      {
                                                                        'br-y' => '279'
                                                                      }
                                                                    ],
                                                       'frontend' => {
                                                                       'num_pages' => '0',
                                                                       'paper' => 'US Letter'
                                                                     }
                                                     },
                         'libsane-perl duplex-07' => {
                                                       'backend' => [
                                                                      {
                                                                        'mode' => 'Lineart'
                                                                      },
                                                                      {
                                                                        'resolution' => '300'
                                                                      },
                                                                      {
                                                                        'source' => 'ADF Duplex'
                                                                      },
                                                                      {
                                                                        'page-height' => '279'
                                                                      },
                                                                      {
                                                                        'page-width' => '216'
                                                                      },
                                                                      {
                                                                        'br-x' => '216'
                                                                      },
                                                                      {
                                                                        'br-y' => '279'
                                                                      },
                                                                      {
                                                                        'brightness' => 17
                                                                      }
                                                                    ],
                                                       'frontend' => {
                                                                       'num_pages' => '0',
                                                                       'paper' => 'US Letter'
                                                                     }
                                                     },
                         'libsane-perl-duplex-08' => {
                                                       'backend' => [
                                                                      {
                                                                        'resolution' => '300'
                                                                      },
                                                                      {
                                                                        'br-y' => '279'
                                                                      },
                                                                      {
                                                                        'mode' => 'Gray[Error Diffusion]'
                                                                      },
                                                                      {
                                                                        'br-x' => '215.899993896484'
                                                                      },
                                                                      {
                                                                        'source' => 'Automatic Document Feeder(center aligned,Duplex)'
                                                                      }
                                                                    ],
                                                       'frontend' => {
                                                                       'paper' => 'US Letter'
                                                                     }
                                                     },
                         'libsane-perl-front-07' => {
                                                      'backend' => [
                                                                     {
                                                                       'resolution' => '300'
                                                                     },
                                                                     {
                                                                       'page-height' => '279'
                                                                     },
                                                                     {
                                                                       'page-width' => '216'
                                                                     },
                                                                     {
                                                                       'brightness' => '17'
                                                                     },
                                                                     {
                                                                       'source' => 'ADF Front'
                                                                     }
                                                                   ],
                                                      'frontend' => {
                                                                      'num_pages' => '0',
                                                                      'paper' => 'US Letter'
                                                                    }
                                                    },
                         'officejet-logs-01' => {
                                                  'backend' => [
                                                                 {
                                                                   'mode' => 'Lineart'
                                                                 },
                                                                 {
                                                                   'resolution' => '300'
                                                                 },
                                                                 {
                                                                   'br-y' => '279'
                                                                 },
                                                                 {
                                                                   'source' => 'ADF Front'
                                                                 },
                                                                 {
                                                                   'br-x' => '216'
                                                                 },
                                                                 {
                                                                   'brightness' => 0
                                                                 },
                                                                 {
                                                                   'contrast' => 1000
                                                                 }
                                                               ],
                                                  'frontend' => {
                                                                  'paper' => 'US Letter'
                                                                }
                                                },
                         'officejet-logs-brighter-02' => {
                                                           'backend' => [
                                                                          {
                                                                            'mode' => 'Lineart'
                                                                          },
                                                                          {
                                                                            'resolution' => '300'
                                                                          },
                                                                          {
                                                                            'br-y' => '279'
                                                                          },
                                                                          {
                                                                            'source' => 'ADF Front'
                                                                          },
                                                                          {
                                                                            'br-x' => '216'
                                                                          },
                                                                          {
                                                                            'contrast' => '1000'
                                                                          },
                                                                          {
                                                                            'brightness' => 500
                                                                          }
                                                                        ],
                                                           'frontend' => {
                                                                           'paper' => 'US Letter'
                                                                         }
                                                         }
                       },
          'ps_backend' => 'pdftops',
          'quality' => 75,
          'restore window' => 1,
          'rotate facing' => 0,
          'rotate reverse' => 0,
          'scan prefix' => '',
          'scan-reload-triggers' => [
                                      'mode'
                                    ],
          'scan_window_height' => 568,
          'scan_window_width' => 752,
          'selection' => {
                           'height' => 0,
                           'width' => 0,
                           'x' => '1284.55468106957',
                           'y' => '1285.78707379486'
                         },
          'set_timestamp' => '',
          'subject' => '',
          'subject-suggestions' => [
                                     ''
                                   ],
          'text_position' => 'behind',
          'threshold tool' => 65,
          'threshold-before-ocr' => '',
          'thumb panel' => 154,
          'tiff compression' => undef,
          'title' => '',
          'title-suggestions' => [
                                   ''
                                 ],
          'to_png' => 1,
          'udt_on_scan' => '',
          'unpaper on scan' => 1,
          'unpaper options' => {
                                 'black-threshold' => '0.33',
                                 'border-margin' => '0,0',
                                 'deskew-scan-direction' => 'left,right',
                                 'direction' => 'ltr',
                                 'layout' => 'single',
                                 'no-blackfilter' => 1,
                                 'no-blurfilter' => 1,
                                 'no-border-align' => '',
                                 'no-border-scan' => '',
                                 'no-deskew' => '',
                                 'no-grayfilter' => 1,
                                 'no-mask-center' => '',
                                 'no-mask-scan' => 1,
                                 'no-noisefilter' => 1,
                                 'output-pages' => 1,
                                 'white-threshold' => '0.9'
                               },
          'unsharp amount' => 1,
          'unsharp radius' => 0,
          'unsharp sigma' => 1,
          'unsharp threshold' => '0.05',
          'use_time' => '',
          'use_timezone' => 1,
          'user_defined_tools' => [
                                    'gimp %i',
                                    'convert -threshold 50% %i %o'
                                  ],
          'version' => '2.13.2',
          'view files toggle' => 1,
          'viewer_tools' => 100,
          'visible-scan-options' => {
                                      'Paper size' => 1,
                                      'adf-mode' => 1,
                                      'adf_mode' => 1,
                                      'batch-scan' => 1,
                                      'brightness' => 1,
                                      'button-wait' => 1,
                                      'calibration-cache' => 1,
                                      'compression' => 1,
                                      'contrast' => 1,
                                      'gain' => 1,
                                      'l' => 1,
                                      'mode' => 1,
                                      'overscan-bottom' => 1,
                                      'overscan-top' => 1,
                                      'page-height' => 1,
                                      'page-width' => 1,
                                      'pageheight' => 1,
                                      'pagewidth' => 1,
                                      'resolution' => 1,
                                      'source' => 1,
                                      'speed' => 1,
                                      't' => 1,
                                      'threshold' => 1,
                                      'wait-for-button' => 1,
                                      'x' => 1,
                                      'y' => 1
                                    },
          'window_height' => 1367,
          'window_maximize' => 1,
          'window_width' => 1280,
          'window_x' => 0,
          'window_y' => 0
        };

INFO - scanimage --version
INFO - Forked PID 108550
INFO - Checking /tmp for crashed sessions
INFO - Waiting to reap process
INFO - Reaped PID -1
INFO - Using /tmp/gscan2pdf-dSUz for temporary files
INFO - which tesseract
INFO - Spawned PID 108556
INFO - tesseract -v
INFO - Spawned PID 108557
INFO - Found tesseract version v5.3.0.
INFO - which cuneiform
INFO - Spawned PID 108558
INFO - unpaper --version
INFO - Spawned PID 108559
INFO - Found Image::Magick 6.9.11
INFO - Found unpaper v7.0.0
INFO - convert --version
INFO - Spawned PID 108560
INFO - Found imagemagick 6.9.11-60
INFO - gm -version
INFO - gm -version: command not found
INFO - scanadf --version
INFO - Spawned PID 108562
INFO - Found scanadf 1.0.14
INFO - xdg-email --version
INFO - Spawned PID 108563
INFO - Found xdg 1.1.3
INFO - gocr -h
INFO - Found gocr -h: command not found
INFO - cjb2 --version
INFO - Spawned PID 108565
INFO - Found djvu 3.5.28
INFO - tiffcp -h
INFO - Spawned PID 108566
INFO - Found libtiff 4.5.0
INFO - pdftops -v
INFO - Spawned PID 108567
INFO - Found pdftops 22.12.0
INFO - pdfunite -v
INFO - Spawned PID 108568
INFO - Found pdfunite 22.12.0
INFO - gs --version
INFO - Spawned PID 108569
INFO - Found pdf2ps 10.00.0
INFO - pdftk --version
INFO - Spawned PID 108570
INFO - Found pdftk 3.3.2
INFO - convert rose: /tmp/gscan2pdf-dSUz/n46KLR7Ld0.jpg
INFO - Spawned PID 108591
INFO - pdftk /tmp/gscan2pdf-dSUz/fwJGogqXt8.pdf dump_data
INFO - Spawned PID 108592
INFO - xz --version
INFO - Spawned PID 108615
INFO - Found xz 5.4.1
INFO - fc-list : family style file
INFO - Spawned PID 108616
INFO - tesseract --list-langs
INFO - Spawned PID 108618
INFO - Found tesseract language eng (English)
INFO - Found tesseract language osd (Orientation, script, direction)
INFO - Using GUI language en_US.UTF-8, for which a tesseract language package is present
DEBUG - Set logger in Gscan2pdf::Dialog::Scan::Image_Sane
DEBUG - Set logger in Gscan2pdf::Dialog::Scan
DEBUG - Saved profile 'libsane-perl duplex-03':$VAR1 = {
          'backend' => [
                         {
                           'mode' => 'Lineart'
                         },
                         {
                           'resolution' => '300'
                         },
                         {
                           'source' => 'ADF Duplex'
                         },
                         {
                           'page-height' => '279'
                         },
                         {
                           'page-width' => '216'
                         },
                         {
                           'br-x' => '216'
                         },
                         {
                           'br-y' => '279'
                         }
                       ],
          'frontend' => {
                          'num_pages' => '0',
                          'paper' => 'US Letter'
                        }
        };

DEBUG - Saved profile 'Brother Lineart':$VAR1 = {
          'backend' => [
                         {
                           'br-x' => '215.899993896484'
                         },
                         {
                           'br-y' => 279
                         },
                         {
                           'mode' => 'Gray'
                         },
                         {
                           'brightness' => 0
                         }
                       ],
          'frontend' => {
                          'paper' => 'US Letter'
                        }
        };

DEBUG - Saved profile 'brscan duplex':$VAR1 = {
          'backend' => [
                         {
                           'br-y' => 279
                         },
                         {
                           'resolution' => 300
                         },
                         {
                           'source' => 'Automatic Document Feeder(center aligned,Duplex)'
                         },
                         {
                           'AutoDeskew' => '1'
                         },
                         {
                           'mode' => 'Gray[Error Diffusion]'
                         },
                         {
                           'br-x' => '215.899993896484'
                         }
                       ],
          'frontend' => {
                          'paper' => 'US Letter'
                        }
        };

DEBUG - Saved profile 'libsane-perl-duplex-08':$VAR1 = {
          'backend' => [
                         {
                           'resolution' => '300'
                         },
                         {
                           'br-y' => '279'
                         },
                         {
                           'mode' => 'Gray[Error Diffusion]'
                         },
                         {
                           'br-x' => '215.899993896484'
                         },
                         {
                           'source' => 'Automatic Document Feeder(center aligned,Duplex)'
                         }
                       ],
          'frontend' => {
                          'paper' => 'US Letter'
                        }
        };

DEBUG - Saved profile 'brscan duples':$VAR1 = {
          'backend' => [
                         {
                           'br-y' => 279
                         },
                         {
                           'mode' => 'Black & White'
                         },
                         {
                           'resolution' => 300
                         },
                         {
                           'source' => 'Automatic Document Feeder(center aligned,Duplex)'
                         },
                         {
                           'AutoDeskew' => '1'
                         },
                         {
                           'br-x' => '215.899993896484'
                         }
                       ],
          'frontend' => {
                          'num_pages' => 0,
                          'paper' => 'US Letter'
                        }
        };

DEBUG - Saved profile 'officejet-logs-brighter-02':$VAR1 = {
          'backend' => [
                         {
                           'mode' => 'Lineart'
                         },
                         {
                           'resolution' => '300'
                         },
                         {
                           'br-y' => '279'
                         },
                         {
                           'source' => 'ADF Front'
                         },
                         {
                           'br-x' => '216'
                         },
                         {
                           'contrast' => '1000'
                         },
                         {
                           'brightness' => 500
                         }
                       ],
          'frontend' => {
                          'paper' => 'US Letter'
                        }
        };

DEBUG - Saved profile 'libsane-perl duplex-07':$VAR1 = {
          'backend' => [
                         {
                           'mode' => 'Lineart'
                         },
                         {
                           'resolution' => '300'
                         },
                         {
                           'source' => 'ADF Duplex'
                         },
                         {
                           'page-height' => '279'
                         },
                         {
                           'page-width' => '216'
                         },
                         {
                           'br-x' => '216'
                         },
                         {
                           'br-y' => '279'
                         },
                         {
                           'brightness' => 17
                         }
                       ],
          'frontend' => {
                          'num_pages' => '0',
                          'paper' => 'US Letter'
                        }
        };

DEBUG - Saved profile 'officejet-logs-01':$VAR1 = {
          'backend' => [
                         {
                           'mode' => 'Lineart'
                         },
                         {
                           'resolution' => '300'
                         },
                         {
                           'br-y' => '279'
                         },
                         {
                           'source' => 'ADF Front'
                         },
                         {
                           'br-x' => '216'
                         },
                         {
                           'brightness' => 0
                         },
                         {
                           'contrast' => 1000
                         }
                       ],
          'frontend' => {
                          'paper' => 'US Letter'
                        }
        };

DEBUG - Saved profile 'libsane-perl-front-07':$VAR1 = {
          'backend' => [
                         {
                           'resolution' => '300'
                         },
                         {
                           'page-height' => '279'
                         },
                         {
                           'page-width' => '216'
                         },
                         {
                           'brightness' => '17'
                         },
                         {
                           'source' => 'ADF Front'
                         }
                       ],
          'frontend' => {
                          'num_pages' => '0',
                          'paper' => 'US Letter'
                        }
        };

DEBUG - Started setting device_list from undef to $VAR1 = [
          {
            'label' => 'Brother ADS-3300W-wbranch',
            'model' => 'ADS-3300W-wbranch',
            'name' => 'brother5:net1;dev0',
            'type' => 'ADS-3300W',
            'vendor' => 'Brother'
          },
          {
            'label' => 'HP Color LaserJet MFP M277dw (51F819)',
            'model' => 'Color LaserJet MFP M277dw (51F819)',
            'name' => 'escl:http://[fe80::42b8:9aff:fe57:a]:8080',
            'type' => 'platen,adf scanner',
            'vendor' => 'HP'
          },
          {
            'label' => 'WSD Brother ADS-3300W [000EC6944DB9]',
            'model' => 'Brother ADS-3300W [000EC6944DB9]',
            'name' => 'airscan:w3:Brother ADS-3300W [000EC6944DB9]',
            'type' => 'ip=10.200.0.79',
            'vendor' => 'WSD'
          },
          {
            'label' => 'eSCL HP Color LaserJet MFP M277dw (51F819)',
            'model' => 'HP Color LaserJet MFP M277dw (51F819)',
            'name' => 'airscan:e0:HP Color LaserJet MFP M277dw (51F819)',
            'type' => 'ip=10.200.0.27',
            'vendor' => 'eSCL'
          }
        ];

INFO - signal 'changed-device-list' emitted with data: $VAR1 = [
          {
            'label' => 'Brother ADS-3300W-wbranch',
            'model' => 'ADS-3300W-wbranch',
            'name' => 'brother5:net1;dev0',
            'type' => 'ADS-3300W',
            'vendor' => 'Brother'
          },
          {
            'label' => 'HP Color LaserJet MFP M277dw (51F819)',
            'model' => 'Color LaserJet MFP M277dw (51F819)',
            'name' => 'escl:http://[fe80::42b8:9aff:fe57:a]:8080',
            'type' => 'platen,adf scanner',
            'vendor' => 'HP'
          },
          {
            'label' => 'WSD Brother ADS-3300W [000EC6944DB9]',
            'model' => 'Brother ADS-3300W [000EC6944DB9]',
            'name' => 'airscan:w3:Brother ADS-3300W [000EC6944DB9]',
            'type' => 'ip=10.200.0.79',
            'vendor' => 'WSD'
          },
          {
            'label' => 'eSCL HP Color LaserJet MFP M277dw (51F819)',
            'model' => 'HP Color LaserJet MFP M277dw (51F819)',
            'name' => 'airscan:e0:HP Color LaserJet MFP M277dw (51F819)',
            'type' => 'ip=10.200.0.27',
            'vendor' => 'eSCL'
          }
        ];

DEBUG - Started setting device from  to brother5:net1;dev0
INFO - signal 'changed-device' emitted with data: 'brother5:net1;dev0'
DEBUG - Finished setting device from  to brother5:net1;dev0
DEBUG - Finished setting device_list from undef to $VAR1 = [
          {
            'label' => 'Brother ADS-3300W-wbranch',
            'model' => 'ADS-3300W-wbranch',
            'name' => 'brother5:net1;dev0',
            'type' => 'ADS-3300W',
            'vendor' => 'Brother'
          },
          {
            'label' => 'HP Color LaserJet MFP M277dw (51F819)',
            'model' => 'Color LaserJet MFP M277dw (51F819)',
            'name' => 'escl:http://[fe80::42b8:9aff:fe57:a]:8080',
            'type' => 'platen,adf scanner',
            'vendor' => 'HP'
          },
          {
            'label' => 'WSD Brother ADS-3300W [000EC6944DB9]',
            'model' => 'Brother ADS-3300W [000EC6944DB9]',
            'name' => 'airscan:w3:Brother ADS-3300W [000EC6944DB9]',
            'type' => 'ip=10.200.0.79',
            'vendor' => 'WSD'
          },
          {
            'label' => 'eSCL HP Color LaserJet MFP M277dw (51F819)',
            'model' => 'HP Color LaserJet MFP M277dw (51F819)',
            'name' => 'airscan:e0:HP Color LaserJet MFP M277dw (51F819)',
            'type' => 'ip=10.200.0.27',
            'vendor' => 'eSCL'
          }
        ];

DEBUG - Started setting cursor from default to wait
DEBUG - Finished setting cursor from default to wait
DEBUG - signal 'started-process' emitted with message: Opening device
DEBUG - opened device 'brother5:net1;dev0'
DEBUG - signal 'finished-process' emitted with data: open_device
DEBUG - Backend reports 17 options
DEBUG - signal 'started-process' emitted with message: Retrieving options
DEBUG - Sane->get_option_descriptor returned: $VAR1 = bless( {
                 'array' => [
                              {
                                'index' => 0
                              },
                              {
                                'cap' => 64,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 1,
                                'max_values' => 1,
                                'title' => '',
                                'type' => 5,
                                'unit' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  '24bit Color[Fast]',
                                                  'Black & White',
                                                  'True Gray',
                                                  'Gray[Error Diffusion]'
                                                ],
                                'constraint_type' => 3,
                                'desc' => 'Select the scan mode',
                                'index' => 2,
                                'max_values' => 1,
                                'name' => 'mode',
                                'title' => 'Scan mode',
                                'type' => 3,
                                'unit' => 0,
                                'val' => '24bit Color[Fast]'
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  100,
                                                  150,
                                                  200,
                                                  300,
                                                  400,
                                                  600,
                                                  1200
                                                ],
                                'constraint_type' => 2,
                                'desc' => 'Sets the resolution of the scanned image.',
                                'index' => 3,
                                'max_values' => 1,
                                'name' => 'resolution',
                                'title' => 'Scan resolution',
                                'type' => 1,
                                'unit' => 4,
                                'val' => 100
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  'Automatic Document Feeder(left aligned)',
                                                  'Automatic Document Feeder(center aligned)',
                                                  'Automatic Document Feeder(left aligned,Duplex)',
                                                  'Automatic Document Feeder(center aligned,Duplex)'
                                                ],
                                'constraint_type' => 3,
                                'desc' => 'Selects the scan source (such as a document-feeder).',
                                'index' => 4,
                                'max_values' => 1,
                                'name' => 'source',
                                'title' => 'Scan source',
                                'type' => 3,
                                'unit' => 0,
                                'val' => 'Automatic Document Feeder(left aligned)'
                              },
                              {
                                'cap' => 37,
                                'constraint' => {
                                                  'max' => 50,
                                                  'min' => -50,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Controls the brightness of the acquired image.',
                                'index' => 5,
                                'max_values' => 1,
                                'name' => 'brightness',
                                'title' => 'Brightness',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 37,
                                'constraint' => {
                                                  'max' => 50,
                                                  'min' => -50,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Controls the contrast of the acquired image.',
                                'index' => 6,
                                'max_values' => 1,
                                'name' => 'contrast',
                                'title' => 'Contrast',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 101,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 7,
                                'max_values' => 1,
                                'name' => 'MultifeedDetection',
                                'title' => 'Multifeed Detection',
                                'type' => 0,
                                'unit' => 0
                              },
                              {
                                'cap' => 69,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 8,
                                'max_values' => 1,
                                'name' => 'AutoDocumentSize',
                                'title' => 'Auto Document Size',
                                'type' => 0,
                                'unit' => 0,
                                'val' => 0
                              },
                              {
                                'cap' => 69,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 9,
                                'max_values' => 1,
                                'name' => 'AutoDeskew',
                                'title' => 'Auto Deskew',
                                'type' => 0,
                                'unit' => 0,
                                'val' => 0
                              },
                              {
                                'cap' => 101,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 10,
                                'max_values' => 1,
                                'name' => 'SkipBlankPage',
                                'title' => 'Skip Blank Page',
                                'type' => 0,
                                'unit' => 0
                              },
                              {
                                'cap' => 101,
                                'constraint' => {
                                                  'max' => 100,
                                                  'min' => 0,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => '',
                                'index' => 11,
                                'max_values' => 1,
                                'name' => 'SkipBlankPageSensitivity',
                                'title' => 'Skip Blank Page sensitivity',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 5,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 12,
                                'max_values' => 1,
                                'title' => 'Geometry',
                                'type' => 5,
                                'unit' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '215.899993896484',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Top-left x position of scan area.',
                                'index' => 13,
                                'max_values' => 1,
                                'name' => 'tl-x',
                                'title' => 'Top-left x',
                                'type' => 2,
                                'unit' => 3,
                                'val' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '355.599990844727',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Top-left y position of scan area.',
                                'index' => 14,
                                'max_values' => 1,
                                'name' => 'tl-y',
                                'title' => 'Top-left y',
                                'type' => 2,
                                'unit' => 3,
                                'val' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '215.899993896484',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Bottom-right x position of scan area.',
                                'index' => 15,
                                'max_values' => 1,
                                'name' => 'br-x',
                                'title' => 'Bottom-right x',
                                'type' => 2,
                                'unit' => 3,
                                'val' => '215.899993896484'
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '355.599990844727',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Bottom-right y position of scan area.',
                                'index' => 16,
                                'max_values' => 1,
                                'name' => 'br-y',
                                'title' => 'Bottom-right y',
                                'type' => 2,
                                'unit' => 3,
                                'val' => '355.599990844727'
                              }
                            ],
                 'geometry' => {
                                 'l' => 0,
                                 't' => 0,
                                 'x' => '215.899993896484',
                                 'y' => '355.599990844727'
                               },
                 'hash' => {
                             'AutoDeskew' => $VAR1->{'array'}[9],
                             'AutoDocumentSize' => $VAR1->{'array'}[8],
                             'MultifeedDetection' => $VAR1->{'array'}[7],
                             'SkipBlankPage' => $VAR1->{'array'}[10],
                             'SkipBlankPageSensitivity' => $VAR1->{'array'}[11],
                             'br-x' => $VAR1->{'array'}[15],
                             'br-y' => $VAR1->{'array'}[16],
                             'brightness' => $VAR1->{'array'}[5],
                             'contrast' => $VAR1->{'array'}[6],
                             'mode' => $VAR1->{'array'}[2],
                             'resolution' => $VAR1->{'array'}[3],
                             'source' => $VAR1->{'array'}[4],
                             'tl-x' => $VAR1->{'array'}[13],
                             'tl-y' => $VAR1->{'array'}[14]
                           },
                 'source' => $VAR1->{'array'}[4]
               }, 'Gscan2pdf::Scanner::Options' );

DEBUG - signal 'finished-process' emitted with data: find_scan_options
DEBUG - Started setting available_scan_options from undef to $VAR1 = bless( {
                 'array' => [
                              {
                                'index' => 0
                              },
                              {
                                'cap' => 64,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 1,
                                'max_values' => 1,
                                'title' => '',
                                'type' => 5,
                                'unit' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  '24bit Color[Fast]',
                                                  'Black & White',
                                                  'True Gray',
                                                  'Gray[Error Diffusion]'
                                                ],
                                'constraint_type' => 3,
                                'desc' => 'Select the scan mode',
                                'index' => 2,
                                'max_values' => 1,
                                'name' => 'mode',
                                'title' => 'Scan mode',
                                'type' => 3,
                                'unit' => 0,
                                'val' => '24bit Color[Fast]'
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  100,
                                                  150,
                                                  200,
                                                  300,
                                                  400,
                                                  600,
                                                  1200
                                                ],
                                'constraint_type' => 2,
                                'desc' => 'Sets the resolution of the scanned image.',
                                'index' => 3,
                                'max_values' => 1,
                                'name' => 'resolution',
                                'title' => 'Scan resolution',
                                'type' => 1,
                                'unit' => 4,
                                'val' => 100
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  'Automatic Document Feeder(left aligned)',
                                                  'Automatic Document Feeder(center aligned)',
                                                  'Automatic Document Feeder(left aligned,Duplex)',
                                                  'Automatic Document Feeder(center aligned,Duplex)'
                                                ],
                                'constraint_type' => 3,
                                'desc' => 'Selects the scan source (such as a document-feeder).',
                                'index' => 4,
                                'max_values' => 1,
                                'name' => 'source',
                                'title' => 'Scan source',
                                'type' => 3,
                                'unit' => 0,
                                'val' => 'Automatic Document Feeder(left aligned)'
                              },
                              {
                                'cap' => 37,
                                'constraint' => {
                                                  'max' => 50,
                                                  'min' => -50,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Controls the brightness of the acquired image.',
                                'index' => 5,
                                'max_values' => 1,
                                'name' => 'brightness',
                                'title' => 'Brightness',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 37,
                                'constraint' => {
                                                  'max' => 50,
                                                  'min' => -50,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Controls the contrast of the acquired image.',
                                'index' => 6,
                                'max_values' => 1,
                                'name' => 'contrast',
                                'title' => 'Contrast',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 101,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 7,
                                'max_values' => 1,
                                'name' => 'MultifeedDetection',
                                'title' => 'Multifeed Detection',
                                'type' => 0,
                                'unit' => 0
                              },
                              {
                                'cap' => 69,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 8,
                                'max_values' => 1,
                                'name' => 'AutoDocumentSize',
                                'title' => 'Auto Document Size',
                                'type' => 0,
                                'unit' => 0,
                                'val' => 0
                              },
                              {
                                'cap' => 69,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 9,
                                'max_values' => 1,
                                'name' => 'AutoDeskew',
                                'title' => 'Auto Deskew',
                                'type' => 0,
                                'unit' => 0,
                                'val' => 0
                              },
                              {
                                'cap' => 101,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 10,
                                'max_values' => 1,
                                'name' => 'SkipBlankPage',
                                'title' => 'Skip Blank Page',
                                'type' => 0,
                                'unit' => 0
                              },
                              {
                                'cap' => 101,
                                'constraint' => {
                                                  'max' => 100,
                                                  'min' => 0,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => '',
                                'index' => 11,
                                'max_values' => 1,
                                'name' => 'SkipBlankPageSensitivity',
                                'title' => 'Skip Blank Page sensitivity',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 5,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 12,
                                'max_values' => 1,
                                'title' => 'Geometry',
                                'type' => 5,
                                'unit' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '215.899993896484',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Top-left x position of scan area.',
                                'index' => 13,
                                'max_values' => 1,
                                'name' => 'tl-x',
                                'title' => 'Top-left x',
                                'type' => 2,
                                'unit' => 3,
                                'val' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '355.599990844727',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Top-left y position of scan area.',
                                'index' => 14,
                                'max_values' => 1,
                                'name' => 'tl-y',
                                'title' => 'Top-left y',
                                'type' => 2,
                                'unit' => 3,
                                'val' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '215.899993896484',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Bottom-right x position of scan area.',
                                'index' => 15,
                                'max_values' => 1,
                                'name' => 'br-x',
                                'title' => 'Bottom-right x',
                                'type' => 2,
                                'unit' => 3,
                                'val' => '215.899993896484'
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '355.599990844727',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Bottom-right y position of scan area.',
                                'index' => 16,
                                'max_values' => 1,
                                'name' => 'br-y',
                                'title' => 'Bottom-right y',
                                'type' => 2,
                                'unit' => 3,
                                'val' => '355.599990844727'
                              }
                            ],
                 'geometry' => {
                                 'l' => 0,
                                 't' => 0,
                                 'x' => '215.899993896484',
                                 'y' => '355.599990844727'
                               },
                 'hash' => {
                             'AutoDeskew' => $VAR1->{'array'}[9],
                             'AutoDocumentSize' => $VAR1->{'array'}[8],
                             'MultifeedDetection' => $VAR1->{'array'}[7],
                             'SkipBlankPage' => $VAR1->{'array'}[10],
                             'SkipBlankPageSensitivity' => $VAR1->{'array'}[11],
                             'br-x' => $VAR1->{'array'}[15],
                             'br-y' => $VAR1->{'array'}[16],
                             'brightness' => $VAR1->{'array'}[5],
                             'contrast' => $VAR1->{'array'}[6],
                             'mode' => $VAR1->{'array'}[2],
                             'resolution' => $VAR1->{'array'}[3],
                             'source' => $VAR1->{'array'}[4],
                             'tl-x' => $VAR1->{'array'}[13],
                             'tl-y' => $VAR1->{'array'}[14]
                           },
                 'source' => $VAR1->{'array'}[4]
               }, 'Gscan2pdf::Scanner::Options' );

DEBUG - Setting option 'resolution' from '100' to '300'.
DEBUG - Finished setting available_scan_options from undef to $VAR1 = bless( {
                 'array' => [
                              {
                                'index' => 0
                              },
                              {
                                'cap' => 64,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 1,
                                'max_values' => 1,
                                'title' => '',
                                'type' => 5,
                                'unit' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  '24bit Color[Fast]',
                                                  'Black & White',
                                                  'True Gray',
                                                  'Gray[Error Diffusion]'
                                                ],
                                'constraint_type' => 3,
                                'desc' => 'Select the scan mode',
                                'index' => 2,
                                'max_values' => 1,
                                'name' => 'mode',
                                'title' => 'Scan mode',
                                'type' => 3,
                                'unit' => 0,
                                'val' => '24bit Color[Fast]'
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  100,
                                                  150,
                                                  200,
                                                  300,
                                                  400,
                                                  600,
                                                  1200
                                                ],
                                'constraint_type' => 2,
                                'desc' => 'Sets the resolution of the scanned image.',
                                'index' => 3,
                                'max_values' => 1,
                                'name' => 'resolution',
                                'title' => 'Scan resolution',
                                'type' => 1,
                                'unit' => 4,
                                'val' => 100
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  'Automatic Document Feeder(left aligned)',
                                                  'Automatic Document Feeder(center aligned)',
                                                  'Automatic Document Feeder(left aligned,Duplex)',
                                                  'Automatic Document Feeder(center aligned,Duplex)'
                                                ],
                                'constraint_type' => 3,
                                'desc' => 'Selects the scan source (such as a document-feeder).',
                                'index' => 4,
                                'max_values' => 1,
                                'name' => 'source',
                                'title' => 'Scan source',
                                'type' => 3,
                                'unit' => 0,
                                'val' => 'Automatic Document Feeder(left aligned)'
                              },
                              {
                                'cap' => 37,
                                'constraint' => {
                                                  'max' => 50,
                                                  'min' => -50,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Controls the brightness of the acquired image.',
                                'index' => 5,
                                'max_values' => 1,
                                'name' => 'brightness',
                                'title' => 'Brightness',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 37,
                                'constraint' => {
                                                  'max' => 50,
                                                  'min' => -50,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Controls the contrast of the acquired image.',
                                'index' => 6,
                                'max_values' => 1,
                                'name' => 'contrast',
                                'title' => 'Contrast',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 101,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 7,
                                'max_values' => 1,
                                'name' => 'MultifeedDetection',
                                'title' => 'Multifeed Detection',
                                'type' => 0,
                                'unit' => 0
                              },
                              {
                                'cap' => 69,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 8,
                                'max_values' => 1,
                                'name' => 'AutoDocumentSize',
                                'title' => 'Auto Document Size',
                                'type' => 0,
                                'unit' => 0,
                                'val' => 0
                              },
                              {
                                'cap' => 69,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 9,
                                'max_values' => 1,
                                'name' => 'AutoDeskew',
                                'title' => 'Auto Deskew',
                                'type' => 0,
                                'unit' => 0,
                                'val' => 0
                              },
                              {
                                'cap' => 101,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 10,
                                'max_values' => 1,
                                'name' => 'SkipBlankPage',
                                'title' => 'Skip Blank Page',
                                'type' => 0,
                                'unit' => 0
                              },
                              {
                                'cap' => 101,
                                'constraint' => {
                                                  'max' => 100,
                                                  'min' => 0,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => '',
                                'index' => 11,
                                'max_values' => 1,
                                'name' => 'SkipBlankPageSensitivity',
                                'title' => 'Skip Blank Page sensitivity',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 5,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 12,
                                'max_values' => 1,
                                'title' => 'Geometry',
                                'type' => 5,
                                'unit' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '215.899993896484',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Top-left x position of scan area.',
                                'index' => 13,
                                'max_values' => 1,
                                'name' => 'tl-x',
                                'title' => 'Top-left x',
                                'type' => 2,
                                'unit' => 3,
                                'val' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '355.599990844727',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Top-left y position of scan area.',
                                'index' => 14,
                                'max_values' => 1,
                                'name' => 'tl-y',
                                'title' => 'Top-left y',
                                'type' => 2,
                                'unit' => 3,
                                'val' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '215.899993896484',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Bottom-right x position of scan area.',
                                'index' => 15,
                                'max_values' => 1,
                                'name' => 'br-x',
                                'title' => 'Bottom-right x',
                                'type' => 2,
                                'unit' => 3,
                                'val' => '215.899993896484'
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '355.599990844727',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Bottom-right y position of scan area.',
                                'index' => 16,
                                'max_values' => 1,
                                'name' => 'br-y',
                                'title' => 'Bottom-right y',
                                'type' => 2,
                                'unit' => 3,
                                'val' => '355.599990844727'
                              }
                            ],
                 'geometry' => {
                                 'l' => 0,
                                 't' => 0,
                                 'x' => '215.899993896484',
                                 'y' => '355.599990844727'
                               },
                 'hash' => {
                             'AutoDeskew' => $VAR1->{'array'}[9],
                             'AutoDocumentSize' => $VAR1->{'array'}[8],
                             'MultifeedDetection' => $VAR1->{'array'}[7],
                             'SkipBlankPage' => $VAR1->{'array'}[10],
                             'SkipBlankPageSensitivity' => $VAR1->{'array'}[11],
                             'br-x' => $VAR1->{'array'}[15],
                             'br-y' => $VAR1->{'array'}[16],
                             'brightness' => $VAR1->{'array'}[5],
                             'contrast' => $VAR1->{'array'}[6],
                             'mode' => $VAR1->{'array'}[2],
                             'resolution' => $VAR1->{'array'}[3],
                             'source' => $VAR1->{'array'}[4],
                             'tl-x' => $VAR1->{'array'}[13],
                             'tl-y' => $VAR1->{'array'}[14]
                           },
                 'source' => $VAR1->{'array'}[4]
               }, 'Gscan2pdf::Scanner::Options' );

INFO - sane_set_option 3 (resolution) to 300 returned status 0 (Success) with info 4 (SANE_INFO_RELOAD_PARAMS)
DEBUG - Options support paper size 'US Legal'.
DEBUG - Options support paper size 'US Letter'.
DEBUG - Options support paper size 'A4'.
DEBUG - Started setting cursor from wait to default
DEBUG - Finished setting cursor from wait to default
DEBUG - signal 'started-process' emitted with message: Setting option resolution
DEBUG - signal 'finished-process' emitted with data: set_option resolution to 300
DEBUG - Setting widget 'resolution' to '300'.
DEBUG - Started setting cursor from default to wait
DEBUG - Finished setting cursor from default to wait
DEBUG - Setting option 'br-y' from '355.599990844727' to '279'.
INFO - sane_set_option 16 (br-y) to 279 returned status 0 (Success) with info 5 (SANE_INFO_RELOAD_PARAMS + SANE_INFO_INEXACT)
DEBUG - signal 'started-process' emitted with message: Setting option br-y
DEBUG - signal 'finished-process' emitted with data: set_option br-y to 279
DEBUG - Setting widget 'br-y' to '279'.
DEBUG - Setting option 'mode' from '24bit Color[Fast]' to 'Black & White'.
INFO - sane_set_option 2 (mode) to Black & White returned status 0 (Success) with info 6 (SANE_INFO_RELOAD_PARAMS + SANE_INFO_RELOAD_OPTIONS)
DEBUG - signal 'started-process' emitted with message: Setting option mode
DEBUG - Backend reports 17 options
DEBUG - signal 'started-process' emitted with message: Retrieving options
DEBUG - Sane->get_option_descriptor returned: $VAR1 = bless( {
                 'array' => [
                              {
                                'index' => 0
                              },
                              {
                                'cap' => 64,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 1,
                                'max_values' => 1,
                                'title' => '',
                                'type' => 5,
                                'unit' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  '24bit Color[Fast]',
                                                  'Black & White',
                                                  'True Gray',
                                                  'Gray[Error Diffusion]'
                                                ],
                                'constraint_type' => 3,
                                'desc' => 'Select the scan mode',
                                'index' => 2,
                                'max_values' => 1,
                                'name' => 'mode',
                                'title' => 'Scan mode',
                                'type' => 3,
                                'unit' => 0,
                                'val' => 'Black & White'
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  100,
                                                  150,
                                                  200,
                                                  300,
                                                  400,
                                                  600,
                                                  1200
                                                ],
                                'constraint_type' => 2,
                                'desc' => 'Sets the resolution of the scanned image.',
                                'index' => 3,
                                'max_values' => 1,
                                'name' => 'resolution',
                                'title' => 'Scan resolution',
                                'type' => 1,
                                'unit' => 4,
                                'val' => 300
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  'Automatic Document Feeder(left aligned)',
                                                  'Automatic Document Feeder(center aligned)',
                                                  'Automatic Document Feeder(left aligned,Duplex)',
                                                  'Automatic Document Feeder(center aligned,Duplex)'
                                                ],
                                'constraint_type' => 3,
                                'desc' => 'Selects the scan source (such as a document-feeder).',
                                'index' => 4,
                                'max_values' => 1,
                                'name' => 'source',
                                'title' => 'Scan source',
                                'type' => 3,
                                'unit' => 0,
                                'val' => 'Automatic Document Feeder(left aligned)'
                              },
                              {
                                'cap' => 37,
                                'constraint' => {
                                                  'max' => 50,
                                                  'min' => -50,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Controls the brightness of the acquired image.',
                                'index' => 5,
                                'max_values' => 1,
                                'name' => 'brightness',
                                'title' => 'Brightness',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 37,
                                'constraint' => {
                                                  'max' => 50,
                                                  'min' => -50,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Controls the contrast of the acquired image.',
                                'index' => 6,
                                'max_values' => 1,
                                'name' => 'contrast',
                                'title' => 'Contrast',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 101,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 7,
                                'max_values' => 1,
                                'name' => 'MultifeedDetection',
                                'title' => 'Multifeed Detection',
                                'type' => 0,
                                'unit' => 0
                              },
                              {
                                'cap' => 69,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 8,
                                'max_values' => 1,
                                'name' => 'AutoDocumentSize',
                                'title' => 'Auto Document Size',
                                'type' => 0,
                                'unit' => 0,
                                'val' => 0
                              },
                              {
                                'cap' => 69,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 9,
                                'max_values' => 1,
                                'name' => 'AutoDeskew',
                                'title' => 'Auto Deskew',
                                'type' => 0,
                                'unit' => 0,
                                'val' => 0
                              },
                              {
                                'cap' => 101,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 10,
                                'max_values' => 1,
                                'name' => 'SkipBlankPage',
                                'title' => 'Skip Blank Page',
                                'type' => 0,
                                'unit' => 0
                              },
                              {
                                'cap' => 101,
                                'constraint' => {
                                                  'max' => 100,
                                                  'min' => 0,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => '',
                                'index' => 11,
                                'max_values' => 1,
                                'name' => 'SkipBlankPageSensitivity',
                                'title' => 'Skip Blank Page sensitivity',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 5,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 12,
                                'max_values' => 1,
                                'title' => 'Geometry',
                                'type' => 5,
                                'unit' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '215.899993896484',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Top-left x position of scan area.',
                                'index' => 13,
                                'max_values' => 1,
                                'name' => 'tl-x',
                                'title' => 'Top-left x',
                                'type' => 2,
                                'unit' => 3,
                                'val' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '355.599990844727',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Top-left y position of scan area.',
                                'index' => 14,
                                'max_values' => 1,
                                'name' => 'tl-y',
                                'title' => 'Top-left y',
                                'type' => 2,
                                'unit' => 3,
                                'val' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '215.899993896484',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Bottom-right x position of scan area.',
                                'index' => 15,
                                'max_values' => 1,
                                'name' => 'br-x',
                                'title' => 'Bottom-right x',
                                'type' => 2,
                                'unit' => 3,
                                'val' => '215.899993896484'
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '355.599990844727',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Bottom-right y position of scan area.',
                                'index' => 16,
                                'max_values' => 1,
                                'name' => 'br-y',
                                'title' => 'Bottom-right y',
                                'type' => 2,
                                'unit' => 3,
                                'val' => '278.974456787109'
                              }
                            ],
                 'geometry' => {
                                 'l' => 0,
                                 't' => 0,
                                 'x' => '215.899993896484',
                                 'y' => '355.599990844727'
                               },
                 'hash' => {
                             'AutoDeskew' => $VAR1->{'array'}[9],
                             'AutoDocumentSize' => $VAR1->{'array'}[8],
                             'MultifeedDetection' => $VAR1->{'array'}[7],
                             'SkipBlankPage' => $VAR1->{'array'}[10],
                             'SkipBlankPageSensitivity' => $VAR1->{'array'}[11],
                             'br-x' => $VAR1->{'array'}[15],
                             'br-y' => $VAR1->{'array'}[16],
                             'brightness' => $VAR1->{'array'}[5],
                             'contrast' => $VAR1->{'array'}[6],
                             'mode' => $VAR1->{'array'}[2],
                             'resolution' => $VAR1->{'array'}[3],
                             'source' => $VAR1->{'array'}[4],
                             'tl-x' => $VAR1->{'array'}[13],
                             'tl-y' => $VAR1->{'array'}[14]
                           },
                 'source' => $VAR1->{'array'}[4]
               }, 'Gscan2pdf::Scanner::Options' );

DEBUG - Started setting available_scan_options from $VAR1 = bless( {
                 'array' => [
                              {
                                'index' => 0
                              },
                              {
                                'cap' => 64,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 1,
                                'max_values' => 1,
                                'title' => '',
                                'type' => 5,
                                'unit' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  '24bit Color[Fast]',
                                                  'Black & White',
                                                  'True Gray',
                                                  'Gray[Error Diffusion]'
                                                ],
                                'constraint_type' => 3,
                                'desc' => 'Select the scan mode',
                                'index' => 2,
                                'max_values' => 1,
                                'name' => 'mode',
                                'title' => 'Scan mode',
                                'type' => 3,
                                'unit' => 0,
                                'val' => '24bit Color[Fast]'
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  100,
                                                  150,
                                                  200,
                                                  300,
                                                  400,
                                                  600,
                                                  1200
                                                ],
                                'constraint_type' => 2,
                                'desc' => 'Sets the resolution of the scanned image.',
                                'index' => 3,
                                'max_values' => 1,
                                'name' => 'resolution',
                                'title' => 'Scan resolution',
                                'type' => 1,
                                'unit' => 4,
                                'val' => '300'
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  'Automatic Document Feeder(left aligned)',
                                                  'Automatic Document Feeder(center aligned)',
                                                  'Automatic Document Feeder(left aligned,Duplex)',
                                                  'Automatic Document Feeder(center aligned,Duplex)'
                                                ],
                                'constraint_type' => 3,
                                'desc' => 'Selects the scan source (such as a document-feeder).',
                                'index' => 4,
                                'max_values' => 1,
                                'name' => 'source',
                                'title' => 'Scan source',
                                'type' => 3,
                                'unit' => 0,
                                'val' => 'Automatic Document Feeder(left aligned)'
                              },
                              {
                                'cap' => 37,
                                'constraint' => {
                                                  'max' => 50,
                                                  'min' => -50,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Controls the brightness of the acquired image.',
                                'index' => 5,
                                'max_values' => 1,
                                'name' => 'brightness',
                                'title' => 'Brightness',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 37,
                                'constraint' => {
                                                  'max' => 50,
                                                  'min' => -50,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Controls the contrast of the acquired image.',
                                'index' => 6,
                                'max_values' => 1,
                                'name' => 'contrast',
                                'title' => 'Contrast',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 101,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 7,
                                'max_values' => 1,
                                'name' => 'MultifeedDetection',
                                'title' => 'Multifeed Detection',
                                'type' => 0,
                                'unit' => 0
                              },
                              {
                                'cap' => 69,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 8,
                                'max_values' => 1,
                                'name' => 'AutoDocumentSize',
                                'title' => 'Auto Document Size',
                                'type' => 0,
                                'unit' => 0,
                                'val' => 0
                              },
                              {
                                'cap' => 69,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 9,
                                'max_values' => 1,
                                'name' => 'AutoDeskew',
                                'title' => 'Auto Deskew',
                                'type' => 0,
                                'unit' => 0,
                                'val' => 0
                              },
                              {
                                'cap' => 101,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 10,
                                'max_values' => 1,
                                'name' => 'SkipBlankPage',
                                'title' => 'Skip Blank Page',
                                'type' => 0,
                                'unit' => 0
                              },
                              {
                                'cap' => 101,
                                'constraint' => {
                                                  'max' => 100,
                                                  'min' => 0,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => '',
                                'index' => 11,
                                'max_values' => 1,
                                'name' => 'SkipBlankPageSensitivity',
                                'title' => 'Skip Blank Page sensitivity',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 5,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 12,
                                'max_values' => 1,
                                'title' => 'Geometry',
                                'type' => 5,
                                'unit' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '215.899993896484',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Top-left x position of scan area.',
                                'index' => 13,
                                'max_values' => 1,
                                'name' => 'tl-x',
                                'title' => 'Top-left x',
                                'type' => 2,
                                'unit' => 3,
                                'val' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '355.599990844727',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Top-left y position of scan area.',
                                'index' => 14,
                                'max_values' => 1,
                                'name' => 'tl-y',
                                'title' => 'Top-left y',
                                'type' => 2,
                                'unit' => 3,
                                'val' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '215.899993896484',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Bottom-right x position of scan area.',
                                'index' => 15,
                                'max_values' => 1,
                                'name' => 'br-x',
                                'title' => 'Bottom-right x',
                                'type' => 2,
                                'unit' => 3,
                                'val' => '215.899993896484'
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '355.599990844727',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Bottom-right y position of scan area.',
                                'index' => 16,
                                'max_values' => 1,
                                'name' => 'br-y',
                                'title' => 'Bottom-right y',
                                'type' => 2,
                                'unit' => 3,
                                'val' => 279
                              }
                            ],
                 'geometry' => {
                                 'l' => 0,
                                 't' => 0,
                                 'x' => '215.899993896484',
                                 'y' => '355.599990844727'
                               },
                 'hash' => {
                             'AutoDeskew' => $VAR1->{'array'}[9],
                             'AutoDocumentSize' => $VAR1->{'array'}[8],
                             'MultifeedDetection' => $VAR1->{'array'}[7],
                             'SkipBlankPage' => $VAR1->{'array'}[10],
                             'SkipBlankPageSensitivity' => $VAR1->{'array'}[11],
                             'br-x' => $VAR1->{'array'}[15],
                             'br-y' => $VAR1->{'array'}[16],
                             'brightness' => $VAR1->{'array'}[5],
                             'contrast' => $VAR1->{'array'}[6],
                             'mode' => $VAR1->{'array'}[2],
                             'resolution' => $VAR1->{'array'}[3],
                             'source' => $VAR1->{'array'}[4],
                             'tl-x' => $VAR1->{'array'}[13],
                             'tl-y' => $VAR1->{'array'}[14]
                           },
                 'source' => $VAR1->{'array'}[4]
               }, 'Gscan2pdf::Scanner::Options' );
 to $VAR1 = bless( {
                 'array' => [
                              {
                                'index' => 0
                              },
                              {
                                'cap' => 64,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 1,
                                'max_values' => 1,
                                'title' => '',
                                'type' => 5,
                                'unit' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  '24bit Color[Fast]',
                                                  'Black & White',
                                                  'True Gray',
                                                  'Gray[Error Diffusion]'
                                                ],
                                'constraint_type' => 3,
                                'desc' => 'Select the scan mode',
                                'index' => 2,
                                'max_values' => 1,
                                'name' => 'mode',
                                'title' => 'Scan mode',
                                'type' => 3,
                                'unit' => 0,
                                'val' => 'Black & White'
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  100,
                                                  150,
                                                  200,
                                                  300,
                                                  400,
                                                  600,
                                                  1200
                                                ],
                                'constraint_type' => 2,
                                'desc' => 'Sets the resolution of the scanned image.',
                                'index' => 3,
                                'max_values' => 1,
                                'name' => 'resolution',
                                'title' => 'Scan resolution',
                                'type' => 1,
                                'unit' => 4,
                                'val' => 300
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  'Automatic Document Feeder(left aligned)',
                                                  'Automatic Document Feeder(center aligned)',
                                                  'Automatic Document Feeder(left aligned,Duplex)',
                                                  'Automatic Document Feeder(center aligned,Duplex)'
                                                ],
                                'constraint_type' => 3,
                                'desc' => 'Selects the scan source (such as a document-feeder).',
                                'index' => 4,
                                'max_values' => 1,
                                'name' => 'source',
                                'title' => 'Scan source',
                                'type' => 3,
                                'unit' => 0,
                                'val' => 'Automatic Document Feeder(left aligned)'
                              },
                              {
                                'cap' => 37,
                                'constraint' => {
                                                  'max' => 50,
                                                  'min' => -50,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Controls the brightness of the acquired image.',
                                'index' => 5,
                                'max_values' => 1,
                                'name' => 'brightness',
                                'title' => 'Brightness',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 37,
                                'constraint' => {
                                                  'max' => 50,
                                                  'min' => -50,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Controls the contrast of the acquired image.',
                                'index' => 6,
                                'max_values' => 1,
                                'name' => 'contrast',
                                'title' => 'Contrast',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 101,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 7,
                                'max_values' => 1,
                                'name' => 'MultifeedDetection',
                                'title' => 'Multifeed Detection',
                                'type' => 0,
                                'unit' => 0
                              },
                              {
                                'cap' => 69,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 8,
                                'max_values' => 1,
                                'name' => 'AutoDocumentSize',
                                'title' => 'Auto Document Size',
                                'type' => 0,
                                'unit' => 0,
                                'val' => 0
                              },
                              {
                                'cap' => 69,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 9,
                                'max_values' => 1,
                                'name' => 'AutoDeskew',
                                'title' => 'Auto Deskew',
                                'type' => 0,
                                'unit' => 0,
                                'val' => 0
                              },
                              {
                                'cap' => 101,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 10,
                                'max_values' => 1,
                                'name' => 'SkipBlankPage',
                                'title' => 'Skip Blank Page',
                                'type' => 0,
                                'unit' => 0
                              },
                              {
                                'cap' => 101,
                                'constraint' => {
                                                  'max' => 100,
                                                  'min' => 0,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => '',
                                'index' => 11,
                                'max_values' => 1,
                                'name' => 'SkipBlankPageSensitivity',
                                'title' => 'Skip Blank Page sensitivity',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 5,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 12,
                                'max_values' => 1,
                                'title' => 'Geometry',
                                'type' => 5,
                                'unit' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '215.899993896484',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Top-left x position of scan area.',
                                'index' => 13,
                                'max_values' => 1,
                                'name' => 'tl-x',
                                'title' => 'Top-left x',
                                'type' => 2,
                                'unit' => 3,
                                'val' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '355.599990844727',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Top-left y position of scan area.',
                                'index' => 14,
                                'max_values' => 1,
                                'name' => 'tl-y',
                                'title' => 'Top-left y',
                                'type' => 2,
                                'unit' => 3,
                                'val' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '215.899993896484',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Bottom-right x position of scan area.',
                                'index' => 15,
                                'max_values' => 1,
                                'name' => 'br-x',
                                'title' => 'Bottom-right x',
                                'type' => 2,
                                'unit' => 3,
                                'val' => '215.899993896484'
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '355.599990844727',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Bottom-right y position of scan area.',
                                'index' => 16,
                                'max_values' => 1,
                                'name' => 'br-y',
                                'title' => 'Bottom-right y',
                                'type' => 2,
                                'unit' => 3,
                                'val' => '278.974456787109'
                              }
                            ],
                 'geometry' => {
                                 'l' => 0,
                                 't' => 0,
                                 'x' => '215.899993896484',
                                 'y' => '355.599990844727'
                               },
                 'hash' => {
                             'AutoDeskew' => $VAR1->{'array'}[9],
                             'AutoDocumentSize' => $VAR1->{'array'}[8],
                             'MultifeedDetection' => $VAR1->{'array'}[7],
                             'SkipBlankPage' => $VAR1->{'array'}[10],
                             'SkipBlankPageSensitivity' => $VAR1->{'array'}[11],
                             'br-x' => $VAR1->{'array'}[15],
                             'br-y' => $VAR1->{'array'}[16],
                             'brightness' => $VAR1->{'array'}[5],
                             'contrast' => $VAR1->{'array'}[6],
                             'mode' => $VAR1->{'array'}[2],
                             'resolution' => $VAR1->{'array'}[3],
                             'source' => $VAR1->{'array'}[4],
                             'tl-x' => $VAR1->{'array'}[13],
                             'tl-y' => $VAR1->{'array'}[14]
                           },
                 'source' => $VAR1->{'array'}[4]
               }, 'Gscan2pdf::Scanner::Options' );

DEBUG - Finished setting available_scan_options from $VAR1 = bless( {
                 'array' => [
                              {
                                'index' => 0
                              },
                              {
                                'cap' => 64,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 1,
                                'max_values' => 1,
                                'title' => '',
                                'type' => 5,
                                'unit' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  '24bit Color[Fast]',
                                                  'Black & White',
                                                  'True Gray',
                                                  'Gray[Error Diffusion]'
                                                ],
                                'constraint_type' => 3,
                                'desc' => 'Select the scan mode',
                                'index' => 2,
                                'max_values' => 1,
                                'name' => 'mode',
                                'title' => 'Scan mode',
                                'type' => 3,
                                'unit' => 0,
                                'val' => '24bit Color[Fast]'
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  100,
                                                  150,
                                                  200,
                                                  300,
                                                  400,
                                                  600,
                                                  1200
                                                ],
                                'constraint_type' => 2,
                                'desc' => 'Sets the resolution of the scanned image.',
                                'index' => 3,
                                'max_values' => 1,
                                'name' => 'resolution',
                                'title' => 'Scan resolution',
                                'type' => 1,
                                'unit' => 4,
                                'val' => '300'
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  'Automatic Document Feeder(left aligned)',
                                                  'Automatic Document Feeder(center aligned)',
                                                  'Automatic Document Feeder(left aligned,Duplex)',
                                                  'Automatic Document Feeder(center aligned,Duplex)'
                                                ],
                                'constraint_type' => 3,
                                'desc' => 'Selects the scan source (such as a document-feeder).',
                                'index' => 4,
                                'max_values' => 1,
                                'name' => 'source',
                                'title' => 'Scan source',
                                'type' => 3,
                                'unit' => 0,
                                'val' => 'Automatic Document Feeder(left aligned)'
                              },
                              {
                                'cap' => 37,
                                'constraint' => {
                                                  'max' => 50,
                                                  'min' => -50,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Controls the brightness of the acquired image.',
                                'index' => 5,
                                'max_values' => 1,
                                'name' => 'brightness',
                                'title' => 'Brightness',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 37,
                                'constraint' => {
                                                  'max' => 50,
                                                  'min' => -50,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Controls the contrast of the acquired image.',
                                'index' => 6,
                                'max_values' => 1,
                                'name' => 'contrast',
                                'title' => 'Contrast',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 101,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 7,
                                'max_values' => 1,
                                'name' => 'MultifeedDetection',
                                'title' => 'Multifeed Detection',
                                'type' => 0,
                                'unit' => 0
                              },
                              {
                                'cap' => 69,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 8,
                                'max_values' => 1,
                                'name' => 'AutoDocumentSize',
                                'title' => 'Auto Document Size',
                                'type' => 0,
                                'unit' => 0,
                                'val' => 0
                              },
                              {
                                'cap' => 69,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 9,
                                'max_values' => 1,
                                'name' => 'AutoDeskew',
                                'title' => 'Auto Deskew',
                                'type' => 0,
                                'unit' => 0,
                                'val' => 0
                              },
                              {
                                'cap' => 101,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 10,
                                'max_values' => 1,
                                'name' => 'SkipBlankPage',
                                'title' => 'Skip Blank Page',
                                'type' => 0,
                                'unit' => 0
                              },
                              {
                                'cap' => 101,
                                'constraint' => {
                                                  'max' => 100,
                                                  'min' => 0,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => '',
                                'index' => 11,
                                'max_values' => 1,
                                'name' => 'SkipBlankPageSensitivity',
                                'title' => 'Skip Blank Page sensitivity',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 5,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 12,
                                'max_values' => 1,
                                'title' => 'Geometry',
                                'type' => 5,
                                'unit' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '215.899993896484',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Top-left x position of scan area.',
                                'index' => 13,
                                'max_values' => 1,
                                'name' => 'tl-x',
                                'title' => 'Top-left x',
                                'type' => 2,
                                'unit' => 3,
                                'val' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '355.599990844727',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Top-left y position of scan area.',
                                'index' => 14,
                                'max_values' => 1,
                                'name' => 'tl-y',
                                'title' => 'Top-left y',
                                'type' => 2,
                                'unit' => 3,
                                'val' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '215.899993896484',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Bottom-right x position of scan area.',
                                'index' => 15,
                                'max_values' => 1,
                                'name' => 'br-x',
                                'title' => 'Bottom-right x',
                                'type' => 2,
                                'unit' => 3,
                                'val' => '215.899993896484'
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '355.599990844727',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Bottom-right y position of scan area.',
                                'index' => 16,
                                'max_values' => 1,
                                'name' => 'br-y',
                                'title' => 'Bottom-right y',
                                'type' => 2,
                                'unit' => 3,
                                'val' => 279
                              }
                            ],
                 'geometry' => {
                                 'l' => 0,
                                 't' => 0,
                                 'x' => '215.899993896484',
                                 'y' => '355.599990844727'
                               },
                 'hash' => {
                             'AutoDeskew' => $VAR1->{'array'}[9],
                             'AutoDocumentSize' => $VAR1->{'array'}[8],
                             'MultifeedDetection' => $VAR1->{'array'}[7],
                             'SkipBlankPage' => $VAR1->{'array'}[10],
                             'SkipBlankPageSensitivity' => $VAR1->{'array'}[11],
                             'br-x' => $VAR1->{'array'}[15],
                             'br-y' => $VAR1->{'array'}[16],
                             'brightness' => $VAR1->{'array'}[5],
                             'contrast' => $VAR1->{'array'}[6],
                             'mode' => $VAR1->{'array'}[2],
                             'resolution' => $VAR1->{'array'}[3],
                             'source' => $VAR1->{'array'}[4],
                             'tl-x' => $VAR1->{'array'}[13],
                             'tl-y' => $VAR1->{'array'}[14]
                           },
                 'source' => $VAR1->{'array'}[4]
               }, 'Gscan2pdf::Scanner::Options' );
 to $VAR1 = bless( {
                 'array' => [
                              {
                                'index' => 0
                              },
                              {
                                'cap' => 64,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 1,
                                'max_values' => 1,
                                'title' => '',
                                'type' => 5,
                                'unit' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  '24bit Color[Fast]',
                                                  'Black & White',
                                                  'True Gray',
                                                  'Gray[Error Diffusion]'
                                                ],
                                'constraint_type' => 3,
                                'desc' => 'Select the scan mode',
                                'index' => 2,
                                'max_values' => 1,
                                'name' => 'mode',
                                'title' => 'Scan mode',
                                'type' => 3,
                                'unit' => 0,
                                'val' => 'Black & White'
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  100,
                                                  150,
                                                  200,
                                                  300,
                                                  400,
                                                  600,
                                                  1200
                                                ],
                                'constraint_type' => 2,
                                'desc' => 'Sets the resolution of the scanned image.',
                                'index' => 3,
                                'max_values' => 1,
                                'name' => 'resolution',
                                'title' => 'Scan resolution',
                                'type' => 1,
                                'unit' => 4,
                                'val' => 300
                              },
                              {
                                'cap' => 5,
                                'constraint' => [
                                                  'Automatic Document Feeder(left aligned)',
                                                  'Automatic Document Feeder(center aligned)',
                                                  'Automatic Document Feeder(left aligned,Duplex)',
                                                  'Automatic Document Feeder(center aligned,Duplex)'
                                                ],
                                'constraint_type' => 3,
                                'desc' => 'Selects the scan source (such as a document-feeder).',
                                'index' => 4,
                                'max_values' => 1,
                                'name' => 'source',
                                'title' => 'Scan source',
                                'type' => 3,
                                'unit' => 0,
                                'val' => 'Automatic Document Feeder(left aligned)'
                              },
                              {
                                'cap' => 37,
                                'constraint' => {
                                                  'max' => 50,
                                                  'min' => -50,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Controls the brightness of the acquired image.',
                                'index' => 5,
                                'max_values' => 1,
                                'name' => 'brightness',
                                'title' => 'Brightness',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 37,
                                'constraint' => {
                                                  'max' => 50,
                                                  'min' => -50,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Controls the contrast of the acquired image.',
                                'index' => 6,
                                'max_values' => 1,
                                'name' => 'contrast',
                                'title' => 'Contrast',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 101,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 7,
                                'max_values' => 1,
                                'name' => 'MultifeedDetection',
                                'title' => 'Multifeed Detection',
                                'type' => 0,
                                'unit' => 0
                              },
                              {
                                'cap' => 69,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 8,
                                'max_values' => 1,
                                'name' => 'AutoDocumentSize',
                                'title' => 'Auto Document Size',
                                'type' => 0,
                                'unit' => 0,
                                'val' => 0
                              },
                              {
                                'cap' => 69,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 9,
                                'max_values' => 1,
                                'name' => 'AutoDeskew',
                                'title' => 'Auto Deskew',
                                'type' => 0,
                                'unit' => 0,
                                'val' => 0
                              },
                              {
                                'cap' => 101,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 10,
                                'max_values' => 1,
                                'name' => 'SkipBlankPage',
                                'title' => 'Skip Blank Page',
                                'type' => 0,
                                'unit' => 0
                              },
                              {
                                'cap' => 101,
                                'constraint' => {
                                                  'max' => 100,
                                                  'min' => 0,
                                                  'quant' => 1
                                                },
                                'constraint_type' => 1,
                                'desc' => '',
                                'index' => 11,
                                'max_values' => 1,
                                'name' => 'SkipBlankPageSensitivity',
                                'title' => 'Skip Blank Page sensitivity',
                                'type' => 2,
                                'unit' => 5
                              },
                              {
                                'cap' => 5,
                                'constraint_type' => 0,
                                'desc' => '',
                                'index' => 12,
                                'max_values' => 1,
                                'title' => 'Geometry',
                                'type' => 5,
                                'unit' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '215.899993896484',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Top-left x position of scan area.',
                                'index' => 13,
                                'max_values' => 1,
                                'name' => 'tl-x',
                                'title' => 'Top-left x',
                                'type' => 2,
                                'unit' => 3,
                                'val' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '355.599990844727',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Top-left y position of scan area.',
                                'index' => 14,
                                'max_values' => 1,
                                'name' => 'tl-y',
                                'title' => 'Top-left y',
                                'type' => 2,
                                'unit' => 3,
                                'val' => 0
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '215.899993896484',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Bottom-right x position of scan area.',
                                'index' => 15,
                                'max_values' => 1,
                                'name' => 'br-x',
                                'title' => 'Bottom-right x',
                                'type' => 2,
                                'unit' => 3,
                                'val' => '215.899993896484'
                              },
                              {
                                'cap' => 5,
                                'constraint' => {
                                                  'max' => '355.599990844727',
                                                  'min' => 0,
                                                  'quant' => '0.0999908447265625'
                                                },
                                'constraint_type' => 1,
                                'desc' => 'Bottom-right y position of scan area.',
                                'index' => 16,
                                'max_values' => 1,
                                'name' => 'br-y',
                                'title' => 'Bottom-right y',
                                'type' => 2,
                                'unit' => 3,
                                'val' => '278.974456787109'
                              }
                            ],
                 'geometry' => {
                                 'l' => 0,
                                 't' => 0,
                                 'x' => '215.899993896484',
                                 'y' => '355.599990844727'
                               },
                 'hash' => {
                             'AutoDeskew' => $VAR1->{'array'}[9],
                             'AutoDocumentSize' => $VAR1->{'array'}[8],
                             'MultifeedDetection' => $VAR1->{'array'}[7],
                             'SkipBlankPage' => $VAR1->{'array'}[10],
                             'SkipBlankPageSensitivity' => $VAR1->{'array'}[11],
                             'br-x' => $VAR1->{'array'}[15],
                             'br-y' => $VAR1->{'array'}[16],
                             'brightness' => $VAR1->{'array'}[5],
                             'contrast' => $VAR1->{'array'}[6],
                             'mode' => $VAR1->{'array'}[2],
                             'resolution' => $VAR1->{'array'}[3],
                             'source' => $VAR1->{'array'}[4],
                             'tl-x' => $VAR1->{'array'}[13],
                             'tl-y' => $VAR1->{'array'}[14]
                           },
                 'source' => $VAR1->{'array'}[4]
               }, 'Gscan2pdf::Scanner::Options' );

INFO - No need to set option 'resolution': already within tolerance.
WARN - Skip setting option 'br-y' to '279', as previous call set SANE_INFO_INEXACT
INFO - No need to set option 'mode': already within tolerance.
DEBUG - Options support paper size 'US Legal'.
DEBUG - Options support paper size 'US Letter'.
DEBUG - Options support paper size 'A4'.
DEBUG - Started setting cursor from wait to default
DEBUG - Finished setting cursor from wait to default
DEBUG - Options support paper size 'US Legal'.
DEBUG - Options support paper size 'US Letter'.
DEBUG - Options support paper size 'A4'.
DEBUG - signal 'finished-process' emitted with data: set_option mode to Black & White
DEBUG - Setting widget 'mode' to 'Black & White'.
DEBUG - Started setting cursor from default to wait
DEBUG - Finished setting cursor from default to wait
DEBUG - Setting option 'source' from 'Automatic Document Feeder(left aligned)' to 'Automatic Document Feeder(center aligned)'.
INFO - sane_set_option 4 (source) to Automatic Document Feeder(center aligned) returned status 0 (Success) with info 0 (none)
DEBUG - signal 'started-process' emitted with message: Setting option source
DEBUG - signal 'finished-process' emitted with data: set_option source to Automatic Document Feeder(center aligned)
DEBUG - Setting widget 'source' to 'Automatic Document Feeder(center aligned)'.
DEBUG - Started setting num_pages from 1 to 0
DEBUG - Finished setting num_pages from 1 to 0
INFO - No need to set option 'br-x': already within tolerance.
DEBUG - Options support paper size 'US Legal'.
DEBUG - Options support paper size 'US Letter'.
DEBUG - Options support paper size 'A4'.
DEBUG - Started setting paper from undef to US Letter
DEBUG - Setting option 'br-x' from '215.899993896484' to '216'.
DEBUG - Started setting cursor from wait to default
DEBUG - Finished setting cursor from wait to default
INFO - sane_set_option 15 (br-x) to 215.899993896484 returned status 0 (Success) with info 5 (SANE_INFO_RELOAD_PARAMS + SANE_INFO_INEXACT)
DEBUG - signal 'started-process' emitted with message: Setting option br-x
DEBUG - signal 'finished-process' emitted with data: set_option br-x to 215.899993896484
DEBUG - Setting widget 'br-x' to '215.899993896484'.
DEBUG - Started setting cursor from default to wait
DEBUG - Finished setting cursor from default to wait
INFO - No need to set option 'br-y': already within tolerance.
DEBUG - Options support paper size 'US Legal'.
DEBUG - Options support paper size 'US Letter'.
DEBUG - Options support paper size 'A4'.
DEBUG - Widget update to US Letter returned 1
DEBUG - Finished setting paper from undef to US Letter
DEBUG - Started setting cursor from wait to default
DEBUG - Finished setting cursor from wait to default
INFO - sane_set_option 4 (source) to Automatic Document Feeder(center aligned,Duplex) returned status 0 (Success) with info 0 (none)
DEBUG - signal 'started-process' emitted with message: Setting option source
DEBUG - signal 'finished-process' emitted with data: set_option source to Automatic Document Feeder(center aligned,Duplex)
DEBUG - Setting widget 'source' to 'Automatic Document Feeder(center aligned,Duplex)'.
INFO - rotate facing 0
INFO - rotate reverse 0
INFO - unpaper 1
INFO - UDT 
INFO - Current UDT convert -threshold 50% %i %o
INFO - OCR 1
INFO - threshold-before-ocr 
DEBUG - Started setting cursor from default to progress
DEBUG - Finished setting cursor from default to progress
INFO - Scanning 0 pages from 1 with step 1
DEBUG - signal 'started-process' emitted with message: Scanning page 1
