farside268
2014-10-14 18:45:57 UTC
Package: gscan2pdf
Version: 1.2.6-0~ppa1trusty
Severity: important
Dear Maintainer,
The same problems that had occured in bug 742233 are recurring. Scans are
saving at the wrong resolution regardless of my settings and settings are not
being saved to ~/.gscan2pdf properly.
-- System Information:
Debian Release: jessie/sid
APT prefers trusty-updates
APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500,
'trusty')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13.0-24-generic (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gscan2pdf depends on:
ii imagemagick 8:6.7.7.10-6ubuntu3
ii libconfig-general-perl 2.52-1
ii libgoo-canvas-perl 0.06-1build3
ii libgtk2-ex-simple-list-perl 0.50-2
ii libgtk2-imageview-perl 0.05-1build3
ii libhtml-parser-perl 3.71-1build1
ii liblist-moreutils-perl 0.33-1build3
ii liblocale-gettext-perl 1.05-7build3
ii liblog-log4perl-perl 1.41-1.1ubuntu1
ii libpdf-api2-perl 2.020-2
ii libproc-processtable-perl 0.50-1
ii libreadonly-perl 1.04-1
ii librsvg2-common 2.40.2-1
ii libsane-perl 0.05-2build1
ii libset-intspan-perl 1.19-1
ii libtiff-tools 4.0.3-7ubuntu0.1
ii libtry-tiny-perl 0.19-1
ii perlmagick 8:6.7.7.10-6ubuntu3
ii sane-utils 1.0.23-3ubuntu3.1
Versions of packages gscan2pdf recommends:
pn djvulibre-bin <none>
pn libgtk2-ex-podviewer-perl <none>
pn sane <none>
pn tesseract-ocr | gocr | cuneiform <none>
pn unpaper <none>
ii xdg-utils 1.1.0~rc1-2ubuntu7-1linuxmint1
gscan2pdf suggests no packages.
*** /home/user/gscan.log
INFO - Starting gscan2pdf 1.2.6
INFO - Log level DEBUG
INFO - Using en_CA.UTF-8 locale
INFO - Startup LC_NUMERIC C
INFO - Reading config from /home/user/.gscan2pdf
INFO - Perl version v5.18.2
INFO - Glib-Perl version 1.304
INFO - Built for Glib 2.39.2
INFO - Running with Glib 2.40.0
INFO - Gtk2-Perl version 1.249
INFO - Built for GTK 2.24.23
INFO - Running with GTK 2.24.23
INFO - Gscan2pdf::Document version 1.2.6
INFO - Using GtkImageView version 1.6.4
INFO - Using Gtk2::ImageView version 0.05
INFO - Using PDF::API2 version 2.020
INFO - Using Sane version 1.0.23
INFO - Using libsane-perl version 0.05
DEBUG - $VAR1 = {
'downsample dpi' => '150',
'keywords' => '',
'window_maximize' => '1',
'window_y' => '24',
'downsample' => '',
'visible-scan-options' => {
'button-wait' => '1',
'pageheight' => '1',
'overscan-top' => '1',
'brightness' => '1',
'y' => '1',
'contrast' => '1',
'adf_mode' => '1',
'l' => '1',
'threshold' => '1',
'batch-scan' => '1',
'overscan-bottom' => '1',
'page-width' => '1',
'pagewidth' => '1',
'source' => '1',
'mode' => '1',
'calibration-cache' => '1',
'wait-for-button' => '1',
'speed' => '1',
'gain' => '1',
'compression' => '1',
'resolution' => '1',
'Paper size' => '1',
't' => '1',
'adf-mode' => '1',
'page-height' => '1',
'x' => '1'
},
'Blank threshold' => '0.005',
'threshold tool' => '80',
'rotate reverse' => '0',
'restore window' => '1',
'rotate facing' => '0',
'version' => '1.2.6',
'cycle sane handle' => '',
'cwd' => '/home/user/Desktop',
'profile' => {},
'unsharp radius' => '0',
'title' => 'ASDF',
'default filename' => '%y%m%d %a %t',
'ocr engine' => 'ocropus',
'author' => 'Test',
'date offset' => '0',
'device blacklist' => '',
'subject' => '',
'OCR output' => 'replace',
'auto-open-scan-dialog' => '1',
'image type' => 'pdf',
'libsane-perl version' => '0.05',
'frontend' => 'libsane-perl',
'thumb panel' => '100',
'unpaper on scan' => '',
'unsharp threshold' => '0.05',
'Dark threshold' => '0.12',
'window_height' => '923',
'scan-reload-triggers' => 'mode',
'view files toggle' => '',
'scan prefix' => '',
'cache options' => '1',
'layout' => 'single',
'SANE version' => '1.0.23',
'unsharp amount' => '1',
'window_x' => '0',
'Paper' => {
'US Legal' => {
't' => '0',
'y' => '356',
'l' => '0',
'x' => '216'
},
'A4' => {
'l' => '0',
'x' => '210',
'y' => '297',
't' => '0'
},
'US Letter' => {
't' => '0',
'y' => '279',
'l' => '0',
'x' => '216'
}
},
'window_width' => '1280',
'user_defined_tools' => 'gimp %i',
'quality' => '75',
'startup warning' => '',
'device' => 'pixma:04A926FA_12A74Eo80096',
'Page range' => 'all',
'pages to scan' => '0',
'pdf font' =>
'/usr/share/fonts/truetype/abyssinica/AbyssinicaSIL-R.ttf',
'unsharp sigma' => '1',
'OCR on scan' => '',
'Paper size' => 'US Letter',
'pdf compression' => 'auto'
};
INFO - Found Image::Magick
INFO - Found ImageMagick
INFO - Found xdg-email
INFO - Found libtiff
INFO - Checking /tmp for crashed sessions
INFO - Using /tmp/gscan2pdf-SvuY for temporary files
DEBUG - Set logger in Gscan2pdf::Dialog::Scan::Sane
DEBUG - Set logger in Gscan2pdf::Dialog::Scan
WARN - *** unhandled exception in callback:
*** Can't call method "get_active_text" on an undefined value at
/usr/share/perl5/Gscan2pdf/Dialog/Scan.pm line 695.
*** ignoring at /usr/bin/gscan2pdf line 3789.
INFO - Sane->get_devices returned: $VAR1 = [
{
'vendor' => 'CANON',
'type' => 'multi-function peripheral',
'model' => 'Canon imageClass MF6500',
'name' => 'pixma:04A926FA_12A74Eo80096'
}
];
DEBUG - Started setting device_list from undef to $VAR1 = [
{
'vendor' => 'CANON',
'type' => 'multi-function peripheral',
'model' => 'Canon imageClass MF6500',
'name' => 'pixma:04A926FA_12A74Eo80096'
}
];
INFO - signal 'changed-device-list' emitted with data: $VAR1 = [
{
'label' => 'CANON Canon imageClass MF6500',
'vendor' => 'CANON',
'type' => 'multi-function peripheral',
'name' => 'pixma:04A926FA_12A74Eo80096',
'model' => 'Canon imageClass MF6500'
}
];
DEBUG - Started setting device from to pixma:04A926FA_12A74Eo80096
INFO - signal 'changed-device' emitted with data: 'pixma:04A926FA_12A74Eo80096'
DEBUG - Finished setting device from to pixma:04A926FA_12A74Eo80096
DEBUG - Finished setting device_list from undef to $VAR1 = [
{
'label' => 'CANON Canon imageClass MF6500',
'vendor' => 'CANON',
'type' => 'multi-function peripheral',
'name' => 'pixma:04A926FA_12A74Eo80096',
'model' => 'Canon imageClass MF6500'
}
];
DEBUG - opening device 'pixma:04A926FA_12A74Eo80096': Success
INFO - signal 'finished-process' emitted with data: open_device
DEBUG - Sane->get_option_descriptor returned: $VAR1 = bless( {
'hash' => {
'threshold-curve' => {
'name' => 'threshold-
curve',
'max_values' => 1,
'unit' => 0,
'title' => 'Threshold
curve',
'type' => 1,
'constraint' => {
'min' =>
0,
'max' =>
127,
'quant'
=> 1
},
'constraint_type' => 1,
'index' => 24,
'cap' => 53,
'desc' => 'Dynamic
threshold curve, from light to dark, normally 50-65'
},
'gamma-table' => {
'desc' => 'Gamma-correction
table. In color mode this option equally affects the red, green, and blue
channels simultaneously (i.e., it is an intensity gamma table).',
'index' => 8,
'cap' => 53,
'constraint_type' => 1,
'constraint' => {
'min' => 0,
'max' => 255,
'quant' => 0
},
'unit' => 0,
'type' => 1,
'title' => 'Image intensity',
'max_values' => 4096,
'name' => 'gamma-table'
},
'gamma' => {
'desc' => 'Changes intensity of
midtones',
'index' => 9,
'cap' => 53,
'constraint_type' => 1,
'constraint' => {
'quant' => '0',
'min' =>
'0.29998779296875',
'max' => '5'
},
'type' => 2,
'title' => 'Gamma function exponent',
'unit' => 0,
'max_values' => 1,
'name' => 'gamma'
},
'button-update' => {
'constraint_type' => 0,
'index' => 16,
'cap' => 69,
'desc' => 'Update button
state',
'unit' => 0,
'title' => 'Update button
state',
'type' => 4,
'name' => 'button-update',
'max_values' => 0
},
'target' => {
'max_values' => 1,
'name' => 'target',
'type' => 1,
'title' => 'Target operation type',
'unit' => 0,
'val' => 0,
'index' => 20,
'cap' => 68,
'desc' => 'Target operation type',
'constraint_type' => 0
},
'button-2' => {
'unit' => 0,
'type' => 1,
'title' => 'Button 2',
'name' => 'button-2',
'max_values' => 1,
'constraint_type' => 0,
'index' => 18,
'cap' => 68,
'desc' => 'Button 2',
'val' => 0
},
'custom-gamma' => {
'unit' => 0,
'type' => 0,
'title' => 'Use custom gamma
table',
'max_values' => 1,
'name' => 'custom-gamma',
'index' => 7,
'cap' => 53,
'desc' => 'Determines whether
a builtin or a custom gamma-table should be used.',
'constraint_type' => 0
},
'button-controlled' => {
'name' => 'button-
controlled',
'max_values' => 1,
'title' => 'Button-
controlled scan',
'type' => 0,
'unit' => 0,
'val' => 0,
'constraint_type' => 0,
'index' => 5,
'desc' => 'When enabled,
scan process will not start immediately. To proceed, press "SCAN" button (for
MP150) or "COLOR" button (for other models). To cancel, press "GRAY" button.',
'cap' => 5
},
'threshold' => {
'constraint' => {
'min' => 0,
'max' => 100,
'quant' => 1
},
'constraint_type' => 1,
'cap' => 53,
'index' => 23,
'desc' => 'Select minimum-
brightness to get a white point',
'name' => 'threshold',
'max_values' => 1,
'title' => 'Threshold',
'type' => 1,
'unit' => 5
},
'original' => {
'title' => 'Type of original to
scan',
'type' => 1,
'unit' => 0,
'max_values' => 1,
'name' => 'original',
'index' => 19,
'cap' => 68,
'desc' => 'Type of original to
scan',
'constraint_type' => 0,
'val' => 0
},
'source' => {
'title' => 'Scan source',
'type' => 3,
'unit' => 0,
'max_values' => 1,
'name' => 'source',
'index' => 4,
'desc' => 'Selects the scan source
(such as a document-feeder). Set source before mode and resolution. Resets mode
and resolution to auto values.',
'cap' => 5,
'constraint_type' => 3,
'val' => 'Flatbed',
'constraint' => [
'Flatbed',
'Automatic
Document Feeder',
'ADF Duplex'
]
},
'mode' => {
'name' => 'mode',
'max_values' => 1,
'unit' => 0,
'type' => 3,
'title' => 'Scan mode',
'constraint' => [
'Color',
'Gray'
],
'val' => 'Color',
'constraint_type' => 3,
'index' => 3,
'desc' => 'Selects the scan mode
(e.g., lineart, monochrome, or color).',
'cap' => 21
},
'button-1' => {
'unit' => 0,
'title' => 'Button 1',
'type' => 1,
'max_values' => 1,
'name' => 'button-1',
'desc' => 'Button 1',
'index' => 17,
'cap' => 68,
'constraint_type' => 0,
'val' => 0
},
'resolution' => {
'name' => 'resolution',
'max_values' => 1,
'title' => 'Scan resolution',
'type' => 1,
'unit' => 4,
'val' => 75,
'constraint' => [
75,
150,
300,
600
],
'constraint_type' => 2,
'index' => 2,
'desc' => 'Sets the resolution
of the scanned image.',
'cap' => 21
},
'tl-y' => {
'type' => 2,
'title' => 'Top-left y',
'unit' => 3,
'max_values' => 1,
'name' => 'tl-y',
'desc' => 'Top-left y position of scan
area.',
'index' => 12,
'cap' => 21,
'constraint_type' => 1,
'val' => '0',
'constraint' => {
'quant' => '0',
'min' => '0',
'max' =>
'355.599990844727'
}
},
'scan-resolution' => {
'unit' => 0,
'title' => 'Scan
resolution',
'type' => 1,
'name' => 'scan-
resolution',
'max_values' => 1,
'constraint_type' => 0,
'index' => 21,
'cap' => 68,
'desc' => 'Scan
resolution',
'val' => 0
},
'tl-x' => {
'title' => 'Top-left x',
'type' => 2,
'unit' => 3,
'name' => 'tl-x',
'max_values' => 1,
'constraint_type' => 1,
'index' => 11,
'desc' => 'Top-left x position of scan
area.',
'cap' => 21,
'val' => '0',
'constraint' => {
'quant' => '0',
'max' =>
'216.746658325195',
'min' => '0'
}
},
'br-y' => {
'constraint' => {
'quant' => '0',
'min' => '0',
'max' =>
'355.599990844727'
},
'val' => '355.599990844727',
'index' => 14,
'desc' => 'Bottom-right y position of
scan area.',
'cap' => 21,
'constraint_type' => 1,
'max_values' => 1,
'name' => 'br-y',
'unit' => 3,
'title' => 'Bottom-right y',
'type' => 2
},
'br-x' => {
'constraint_type' => 1,
'desc' => 'Bottom-right x position of
scan area.',
'index' => 13,
'cap' => 21,
'val' => '216.746658325195',
'constraint' => {
'quant' => '0',
'min' => '0',
'max' =>
'216.746658325195'
},
'title' => 'Bottom-right x',
'type' => 2,
'unit' => 3,
'name' => 'br-x',
'max_values' => 1
}
},
'geometry' => {
'x' => '216.746658325195',
'y' => '355.599990844727',
'l' => 0,
't' => 0
},
'array' => [
{
'index' => 0
},
{
'constraint_type' => 0,
'index' => 1,
'cap' => 0,
'desc' => 'Scan mode',
'unit' => 0,
'title' => 'Scan mode',
'type' => 5,
'max_values' => 0
},
$VAR1->{'hash'}{'resolution'},
$VAR1->{'hash'}{'mode'},
$VAR1->{'hash'}{'source'},
$VAR1->{'hash'}{'button-controlled'},
{
'max_values' => 0,
'title' => 'Gamma',
'type' => 5,
'unit' => 0,
'constraint_type' => 0,
'desc' => 'Gamma',
'index' => 6,
'cap' => 0
},
$VAR1->{'hash'}{'custom-gamma'},
$VAR1->{'hash'}{'gamma-table'},
$VAR1->{'hash'}{'gamma'},
{
'max_values' => 0,
'title' => 'Geometry',
'type' => 5,
'unit' => 0,
'index' => 10,
'cap' => 0,
'desc' => 'Geometry',
'constraint_type' => 0
},
$VAR1->{'hash'}{'tl-x'},
$VAR1->{'hash'}{'tl-y'},
$VAR1->{'hash'}{'br-x'},
$VAR1->{'hash'}{'br-y'},
{
'cap' => 0,
'index' => 15,
'desc' => 'Buttons',
'constraint_type' => 0,
'max_values' => 0,
'unit' => 0,
'title' => 'Buttons',
'type' => 5
},
$VAR1->{'hash'}{'button-update'},
$VAR1->{'hash'}{'button-1'},
$VAR1->{'hash'}{'button-2'},
$VAR1->{'hash'}{'original'},
$VAR1->{'hash'}{'target'},
$VAR1->{'hash'}{'scan-resolution'},
{
'constraint_type' => 0,
'index' => 22,
'desc' => 'Extras',
'cap' => 0,
'max_values' => 0,
'title' => 'Extras',
'type' => 5,
'unit' => 0
},
$VAR1->{'hash'}{'threshold'},
$VAR1->{'hash'}{'threshold-curve'}
]
}, 'Gscan2pdf::Scanner::Options' );
INFO - signal 'finished-process' emitted with data: find_scan_options
DEBUG - Started setting available_scan_options from undef to
Gscan2pdf::Scanner::Options=HASH(0x39815f8)
DEBUG - Started setting paper_formats from undef to $VAR1 = {
'US Legal' => {
't' => '0',
'y' => '356',
'l' => '0',
'x' => '216'
},
'A4' => {
'l' => '0',
'x' => '210',
'y' => '297',
't' => '0'
},
'US Letter' => {
't' => '0',
'y' => '279',
'l' => '0',
'x' => '216'
}
};
DEBUG - Finished setting paper_formats from undef to $VAR1 = {
'US Legal' => {
't' => 0,
'y' => 356,
'l' => 0,
'x' => 216
},
'A4' => {
'l' => 0,
'x' => 210,
'y' => 297,
't' => 0
},
'US Letter' => {
't' => 0,
'y' => 279,
'l' => 0,
'x' => 216
}
};
DEBUG - Started setting paper from undef to US Letter
INFO - sane_set_option 13 (br-x) to 216 returned status Success with info 4
INFO - sane_set_option 14 (br-y) to 279 returned status Success with info 4
DEBUG - Finished setting paper from undef to US Letter
DEBUG - Finished setting available_scan_options from undef to
Gscan2pdf::Scanner::Options=HASH(0x39815f8)
INFO - signal 'finished-process' emitted with data: set_option
INFO - signal 'finished-process' emitted with data: set_option
INFO - sane_set_option 2 (resolution) to 150 returned status Success with info
4
INFO - signal 'finished-process' emitted with data: set_option
INFO - sane_set_option 4 (source) to Automatic Document Feeder returned status
Success with info 2
DEBUG - Sane->get_option_descriptor returned: $VAR1 = bless( {
'hash' => {
'mode' => {
'val' => 'Color',
'constraint' => [
'Color',
'Gray'
],
'desc' => 'Selects the scan mode
(e.g., lineart, monochrome, or color).',
'index' => 3,
'cap' => 21,
'constraint_type' => 3,
'max_values' => 1,
'name' => 'mode',
'title' => 'Scan mode',
'type' => 3,
'unit' => 0
},
'source' => {
'type' => 3,
'title' => 'Scan source',
'unit' => 0,
'name' => 'source',
'max_values' => 1,
'constraint_type' => 3,
'cap' => 5,
'index' => 4,
'desc' => 'Selects the scan source
(such as a document-feeder). Set source before mode and resolution. Resets mode
and resolution to auto values.',
'val' => 'Automatic Document
Feeder',
'constraint' => [
'Flatbed',
'Automatic
Document Feeder',
'ADF Duplex'
]
},
'br-x' => {
'type' => 2,
'title' => 'Bottom-right x',
'unit' => 3,
'max_values' => 1,
'name' => 'br-x',
'index' => 13,
'cap' => 21,
'desc' => 'Bottom-right x position of
scan area.',
'constraint_type' => 1,
'val' => '216',
'constraint' => {
'quant' => '0',
'max' =>
'216.746658325195',
'min' => '0'
}
},
'br-y' => {
'constraint_type' => 1,
'desc' => 'Bottom-right y position of
scan area.',
'index' => 14,
'cap' => 21,
'constraint' => {
'max' =>
'355.599990844727',
'min' => '0',
'quant' => '0'
},
'val' => '279',
'unit' => 3,
'type' => 2,
'title' => 'Bottom-right y',
'name' => 'br-y',
'max_values' => 1
},
'scan-resolution' => {
'constraint_type' => 0,
'desc' => 'Scan
resolution',
'index' => 21,
'cap' => 68,
'val' => 0,
'unit' => 0,
'type' => 1,
'title' => 'Scan
resolution',
'name' => 'scan-
resolution',
'max_values' => 1
},
'tl-x' => {
'unit' => 3,
'title' => 'Top-left x',
'type' => 2,
'name' => 'tl-x',
'max_values' => 1,
'constraint_type' => 1,
'desc' => 'Top-left x position of scan
area.',
'index' => 11,
'cap' => 21,
'constraint' => {
'quant' => '0',
'min' => '0',
'max' =>
'216.746658325195'
},
'val' => '0'
},
'resolution' => {
'title' => 'Scan resolution',
'type' => 1,
'unit' => 4,
'name' => 'resolution',
'max_values' => 1,
'constraint_type' => 2,
'index' => 2,
'desc' => 'Sets the resolution
of the scanned image.',
'cap' => 21,
'val' => 75,
'constraint' => [
75,
150,
300,
600
]
},
'tl-y' => {
'val' => '0',
'constraint' => {
'max' =>
'355.599990844727',
'min' => '0',
'quant' => '0'
},
'constraint_type' => 1,
'index' => 12,
'cap' => 21,
'desc' => 'Top-left y position of scan
area.',
'name' => 'tl-y',
'max_values' => 1,
'type' => 2,
'title' => 'Top-left y',
'unit' => 3
},
'button-1' => {
'unit' => 0,
'title' => 'Button 1',
'type' => 1,
'name' => 'button-1',
'max_values' => 1,
'constraint_type' => 0,
'desc' => 'Button 1',
'index' => 17,
'cap' => 68,
'val' => 0
},
'custom-gamma' => {
'title' => 'Use custom gamma
table',
'type' => 0,
'unit' => 0,
'name' => 'custom-gamma',
'max_values' => 1,
'constraint_type' => 0,
'index' => 7,
'desc' => 'Determines whether
a builtin or a custom gamma-table should be used.',
'cap' => 53,
'val' => undef
},
'button-2' => {
'unit' => 0,
'type' => 1,
'title' => 'Button 2',
'max_values' => 1,
'name' => 'button-2',
'index' => 18,
'desc' => 'Button 2',
'cap' => 68,
'constraint_type' => 0,
'val' => 0
},
'target' => {
'val' => 0,
'constraint_type' => 0,
'desc' => 'Target operation type',
'index' => 20,
'cap' => 68,
'name' => 'target',
'max_values' => 1,
'title' => 'Target operation type',
'type' => 1,
'unit' => 0
},
'gamma' => {
'index' => 9,
'cap' => 53,
'desc' => 'Changes intensity of
midtones',
'constraint_type' => 1,
'val' => undef,
'constraint' => {
'min' =>
'0.29998779296875',
'max' => '5',
'quant' => '0'
},
'type' => 2,
'title' => 'Gamma function exponent',
'unit' => 0,
'max_values' => 1,
'name' => 'gamma'
},
'button-update' => {
'unit' => 0,
'title' => 'Update button
state',
'type' => 4,
'max_values' => 0,
'name' => 'button-update',
'cap' => 69,
'index' => 16,
'desc' => 'Update button
state',
'constraint_type' => 0
},
'threshold-curve' => {
'max_values' => 1,
'name' => 'threshold-
curve',
'unit' => 0,
'type' => 1,
'title' => 'Threshold
curve',
'constraint' => {
'min' =>
0,
'max' =>
127,
'quant'
=> 1
},
'val' => undef,
'index' => 24,
'cap' => 53,
'desc' => 'Dynamic
threshold curve, from light to dark, normally 50-65',
'constraint_type' => 1
},
'gamma-table' => {
'name' => 'gamma-table',
'max_values' => 4096,
'type' => 1,
'title' => 'Image intensity',
'unit' => 0,
'val' => undef,
'constraint' => {
'max' => 255,
'min' => 0,
'quant' => 0
},
'constraint_type' => 1,
'index' => 8,
'desc' => 'Gamma-correction
table. In color mode this option equally affects the red, green, and blue
channels simultaneously (i.e., it is an intensity gamma table).',
'cap' => 53
},
'original' => {
'unit' => 0,
'title' => 'Type of original to
scan',
'type' => 1,
'name' => 'original',
'max_values' => 1,
'constraint_type' => 0,
'cap' => 68,
'index' => 19,
'desc' => 'Type of original to
scan',
'val' => 0
},
'threshold' => {
'max_values' => 1,
'name' => 'threshold',
'type' => 1,
'title' => 'Threshold',
'unit' => 5,
'val' => undef,
'constraint' => {
'max' => 100,
'min' => 0,
'quant' => 1
},
'index' => 23,
'desc' => 'Select minimum-
brightness to get a white point',
'cap' => 53,
'constraint_type' => 1
},
'button-controlled' => {
'name' => 'button-
controlled',
'max_values' => 1,
'unit' => 0,
'type' => 0,
'title' => 'Button-
controlled scan',
'val' => 0,
'constraint_type' => 0,
'index' => 5,
'desc' => 'When enabled,
scan process will not start immediately. To proceed, press "SCAN" button (for
MP150) or "COLOR" button (for other models). To cancel, press "GRAY" button.',
'cap' => 5
}
},
'geometry' => {
'x' => '216.746658325195',
'y' => '355.599990844727',
'l' => 0,
't' => 0
},
'array' => [
{
'index' => 0
},
{
'max_values' => 0,
'unit' => 0,
'title' => 'Scan mode',
'type' => 5,
'index' => 1,
'cap' => 0,
'desc' => 'Scan mode',
'constraint_type' => 0
},
$VAR1->{'hash'}{'resolution'},
$VAR1->{'hash'}{'mode'},
$VAR1->{'hash'}{'source'},
$VAR1->{'hash'}{'button-controlled'},
{
'constraint_type' => 0,
'index' => 6,
'desc' => 'Gamma',
'cap' => 0,
'title' => 'Gamma',
'type' => 5,
'unit' => 0,
'max_values' => 0
},
$VAR1->{'hash'}{'custom-gamma'},
$VAR1->{'hash'}{'gamma-table'},
$VAR1->{'hash'}{'gamma'},
{
'constraint_type' => 0,
'index' => 10,
'cap' => 0,
'desc' => 'Geometry',
'max_values' => 0,
'unit' => 0,
'title' => 'Geometry',
'type' => 5
},
$VAR1->{'hash'}{'tl-x'},
$VAR1->{'hash'}{'tl-y'},
$VAR1->{'hash'}{'br-x'},
$VAR1->{'hash'}{'br-y'},
{
'index' => 15,
'cap' => 0,
'desc' => 'Buttons',
'constraint_type' => 0,
'unit' => 0,
'type' => 5,
'title' => 'Buttons',
'max_values' => 0
},
$VAR1->{'hash'}{'button-update'},
$VAR1->{'hash'}{'button-1'},
$VAR1->{'hash'}{'button-2'},
$VAR1->{'hash'}{'original'},
$VAR1->{'hash'}{'target'},
$VAR1->{'hash'}{'scan-resolution'},
{
'constraint_type' => 0,
'index' => 22,
'cap' => 0,
'desc' => 'Extras',
'unit' => 0,
'title' => 'Extras',
'type' => 5,
'max_values' => 0
},
$VAR1->{'hash'}{'threshold'},
$VAR1->{'hash'}{'threshold-curve'}
]
}, 'Gscan2pdf::Scanner::Options' );
INFO - signal 'finished-process' emitted with data: set_option
INFO - rotate facing 0
INFO - rotate reverse 0
INFO - unpaper
INFO - OCR
INFO - gscan2pdf: scanning image of size 638x824 pixels at 24 bits/pixel
INFO - gscan2pdf: acquiring RGB frame
INFO - gscan2pdf: min/max graylevel value = 255/0
INFO - gscan2pdf: read 1577136 bytes in total
INFO - Scanned page /tmp/gscan2pdf-SvuY/out1.pnm. (scanner status = 5)
DEBUG - $VAR1 = [];
INFO - Importing scan with resolution=75
INFO - gscan2pdf: scanning image of size 638x824 pixels at 24 bits/pixel
INFO - gscan2pdf: acquiring RGB frame
INFO - Header suggests 1577171
INFO - Expecting 1577171, found 1577171
INFO - New page filename /tmp/gscan2pdf-SvuY/out1.pnm, format Portable anymap
INFO - Added /tmp/gscan2pdf-SvuY/3QAFU7v5vE.pnm at page 1 with resolution 75
DEBUG - Started setting page_number_start from 1 to 2
DEBUG - Started setting max_pages from 0 to -1
DEBUG - Finished setting max_pages from 0 to -1
DEBUG - Finished setting page_number_start from 1 to 2
INFO - gscan2pdf: min/max graylevel value = 255/0
INFO - gscan2pdf: sane_read: Document feeder out of documents
INFO - Scanned page /tmp/gscan2pdf-SvuY/out2.pnm. (scanner status = 7)
INFO - signal 'finished-process' emitted with data: scan_pages
DEBUG - PDF save filename dialog returned ok
DEBUG - Started saving /home/user/Desktop/20141014 Test ASDF1.pdf
INFO - Using /usr/share/fonts/truetype/abyssinica/AbyssinicaSIL-R.ttf for non-
ASCII text
INFO - Depth of /tmp/gscan2pdf-SvuY/3QAFU7v5vE.pnm is 8
INFO - Type of /tmp/gscan2pdf-SvuY/3QAFU7v5vE.pnm is TrueColor
INFO - Selecting jpg compression
INFO - Converting /tmp/gscan2pdf-SvuY/3QAFU7v5vE.pnm to /tmp/gscan2pdf-
SvuY/Cp3FZtqIYx.jpg
INFO - Writing temporary image /tmp/gscan2pdf-SvuY/Cp3FZtqIYx.jpg
INFO - Defining page at 612.48pt x 791.04pt
INFO - Adding /tmp/gscan2pdf-SvuY/Cp3FZtqIYx.jpg at 75 PPI
DEBUG - Finished saving /home/user/Desktop/20141014 Test ASDF1.pdf
INFO - Wrote config to /home/user/.gscan2pdf
INFO - Killing Sane thread(s)
Version: 1.2.6-0~ppa1trusty
Severity: important
Dear Maintainer,
The same problems that had occured in bug 742233 are recurring. Scans are
saving at the wrong resolution regardless of my settings and settings are not
being saved to ~/.gscan2pdf properly.
-- System Information:
Debian Release: jessie/sid
APT prefers trusty-updates
APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500,
'trusty')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13.0-24-generic (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gscan2pdf depends on:
ii imagemagick 8:6.7.7.10-6ubuntu3
ii libconfig-general-perl 2.52-1
ii libgoo-canvas-perl 0.06-1build3
ii libgtk2-ex-simple-list-perl 0.50-2
ii libgtk2-imageview-perl 0.05-1build3
ii libhtml-parser-perl 3.71-1build1
ii liblist-moreutils-perl 0.33-1build3
ii liblocale-gettext-perl 1.05-7build3
ii liblog-log4perl-perl 1.41-1.1ubuntu1
ii libpdf-api2-perl 2.020-2
ii libproc-processtable-perl 0.50-1
ii libreadonly-perl 1.04-1
ii librsvg2-common 2.40.2-1
ii libsane-perl 0.05-2build1
ii libset-intspan-perl 1.19-1
ii libtiff-tools 4.0.3-7ubuntu0.1
ii libtry-tiny-perl 0.19-1
ii perlmagick 8:6.7.7.10-6ubuntu3
ii sane-utils 1.0.23-3ubuntu3.1
Versions of packages gscan2pdf recommends:
pn djvulibre-bin <none>
pn libgtk2-ex-podviewer-perl <none>
pn sane <none>
pn tesseract-ocr | gocr | cuneiform <none>
pn unpaper <none>
ii xdg-utils 1.1.0~rc1-2ubuntu7-1linuxmint1
gscan2pdf suggests no packages.
*** /home/user/gscan.log
INFO - Starting gscan2pdf 1.2.6
INFO - Log level DEBUG
INFO - Using en_CA.UTF-8 locale
INFO - Startup LC_NUMERIC C
INFO - Reading config from /home/user/.gscan2pdf
INFO - Perl version v5.18.2
INFO - Glib-Perl version 1.304
INFO - Built for Glib 2.39.2
INFO - Running with Glib 2.40.0
INFO - Gtk2-Perl version 1.249
INFO - Built for GTK 2.24.23
INFO - Running with GTK 2.24.23
INFO - Gscan2pdf::Document version 1.2.6
INFO - Using GtkImageView version 1.6.4
INFO - Using Gtk2::ImageView version 0.05
INFO - Using PDF::API2 version 2.020
INFO - Using Sane version 1.0.23
INFO - Using libsane-perl version 0.05
DEBUG - $VAR1 = {
'downsample dpi' => '150',
'keywords' => '',
'window_maximize' => '1',
'window_y' => '24',
'downsample' => '',
'visible-scan-options' => {
'button-wait' => '1',
'pageheight' => '1',
'overscan-top' => '1',
'brightness' => '1',
'y' => '1',
'contrast' => '1',
'adf_mode' => '1',
'l' => '1',
'threshold' => '1',
'batch-scan' => '1',
'overscan-bottom' => '1',
'page-width' => '1',
'pagewidth' => '1',
'source' => '1',
'mode' => '1',
'calibration-cache' => '1',
'wait-for-button' => '1',
'speed' => '1',
'gain' => '1',
'compression' => '1',
'resolution' => '1',
'Paper size' => '1',
't' => '1',
'adf-mode' => '1',
'page-height' => '1',
'x' => '1'
},
'Blank threshold' => '0.005',
'threshold tool' => '80',
'rotate reverse' => '0',
'restore window' => '1',
'rotate facing' => '0',
'version' => '1.2.6',
'cycle sane handle' => '',
'cwd' => '/home/user/Desktop',
'profile' => {},
'unsharp radius' => '0',
'title' => 'ASDF',
'default filename' => '%y%m%d %a %t',
'ocr engine' => 'ocropus',
'author' => 'Test',
'date offset' => '0',
'device blacklist' => '',
'subject' => '',
'OCR output' => 'replace',
'auto-open-scan-dialog' => '1',
'image type' => 'pdf',
'libsane-perl version' => '0.05',
'frontend' => 'libsane-perl',
'thumb panel' => '100',
'unpaper on scan' => '',
'unsharp threshold' => '0.05',
'Dark threshold' => '0.12',
'window_height' => '923',
'scan-reload-triggers' => 'mode',
'view files toggle' => '',
'scan prefix' => '',
'cache options' => '1',
'layout' => 'single',
'SANE version' => '1.0.23',
'unsharp amount' => '1',
'window_x' => '0',
'Paper' => {
'US Legal' => {
't' => '0',
'y' => '356',
'l' => '0',
'x' => '216'
},
'A4' => {
'l' => '0',
'x' => '210',
'y' => '297',
't' => '0'
},
'US Letter' => {
't' => '0',
'y' => '279',
'l' => '0',
'x' => '216'
}
},
'window_width' => '1280',
'user_defined_tools' => 'gimp %i',
'quality' => '75',
'startup warning' => '',
'device' => 'pixma:04A926FA_12A74Eo80096',
'Page range' => 'all',
'pages to scan' => '0',
'pdf font' =>
'/usr/share/fonts/truetype/abyssinica/AbyssinicaSIL-R.ttf',
'unsharp sigma' => '1',
'OCR on scan' => '',
'Paper size' => 'US Letter',
'pdf compression' => 'auto'
};
INFO - Found Image::Magick
INFO - Found ImageMagick
INFO - Found xdg-email
INFO - Found libtiff
INFO - Checking /tmp for crashed sessions
INFO - Using /tmp/gscan2pdf-SvuY for temporary files
DEBUG - Set logger in Gscan2pdf::Dialog::Scan::Sane
DEBUG - Set logger in Gscan2pdf::Dialog::Scan
WARN - *** unhandled exception in callback:
*** Can't call method "get_active_text" on an undefined value at
/usr/share/perl5/Gscan2pdf/Dialog/Scan.pm line 695.
*** ignoring at /usr/bin/gscan2pdf line 3789.
INFO - Sane->get_devices returned: $VAR1 = [
{
'vendor' => 'CANON',
'type' => 'multi-function peripheral',
'model' => 'Canon imageClass MF6500',
'name' => 'pixma:04A926FA_12A74Eo80096'
}
];
DEBUG - Started setting device_list from undef to $VAR1 = [
{
'vendor' => 'CANON',
'type' => 'multi-function peripheral',
'model' => 'Canon imageClass MF6500',
'name' => 'pixma:04A926FA_12A74Eo80096'
}
];
INFO - signal 'changed-device-list' emitted with data: $VAR1 = [
{
'label' => 'CANON Canon imageClass MF6500',
'vendor' => 'CANON',
'type' => 'multi-function peripheral',
'name' => 'pixma:04A926FA_12A74Eo80096',
'model' => 'Canon imageClass MF6500'
}
];
DEBUG - Started setting device from to pixma:04A926FA_12A74Eo80096
INFO - signal 'changed-device' emitted with data: 'pixma:04A926FA_12A74Eo80096'
DEBUG - Finished setting device from to pixma:04A926FA_12A74Eo80096
DEBUG - Finished setting device_list from undef to $VAR1 = [
{
'label' => 'CANON Canon imageClass MF6500',
'vendor' => 'CANON',
'type' => 'multi-function peripheral',
'name' => 'pixma:04A926FA_12A74Eo80096',
'model' => 'Canon imageClass MF6500'
}
];
DEBUG - opening device 'pixma:04A926FA_12A74Eo80096': Success
INFO - signal 'finished-process' emitted with data: open_device
DEBUG - Sane->get_option_descriptor returned: $VAR1 = bless( {
'hash' => {
'threshold-curve' => {
'name' => 'threshold-
curve',
'max_values' => 1,
'unit' => 0,
'title' => 'Threshold
curve',
'type' => 1,
'constraint' => {
'min' =>
0,
'max' =>
127,
'quant'
=> 1
},
'constraint_type' => 1,
'index' => 24,
'cap' => 53,
'desc' => 'Dynamic
threshold curve, from light to dark, normally 50-65'
},
'gamma-table' => {
'desc' => 'Gamma-correction
table. In color mode this option equally affects the red, green, and blue
channels simultaneously (i.e., it is an intensity gamma table).',
'index' => 8,
'cap' => 53,
'constraint_type' => 1,
'constraint' => {
'min' => 0,
'max' => 255,
'quant' => 0
},
'unit' => 0,
'type' => 1,
'title' => 'Image intensity',
'max_values' => 4096,
'name' => 'gamma-table'
},
'gamma' => {
'desc' => 'Changes intensity of
midtones',
'index' => 9,
'cap' => 53,
'constraint_type' => 1,
'constraint' => {
'quant' => '0',
'min' =>
'0.29998779296875',
'max' => '5'
},
'type' => 2,
'title' => 'Gamma function exponent',
'unit' => 0,
'max_values' => 1,
'name' => 'gamma'
},
'button-update' => {
'constraint_type' => 0,
'index' => 16,
'cap' => 69,
'desc' => 'Update button
state',
'unit' => 0,
'title' => 'Update button
state',
'type' => 4,
'name' => 'button-update',
'max_values' => 0
},
'target' => {
'max_values' => 1,
'name' => 'target',
'type' => 1,
'title' => 'Target operation type',
'unit' => 0,
'val' => 0,
'index' => 20,
'cap' => 68,
'desc' => 'Target operation type',
'constraint_type' => 0
},
'button-2' => {
'unit' => 0,
'type' => 1,
'title' => 'Button 2',
'name' => 'button-2',
'max_values' => 1,
'constraint_type' => 0,
'index' => 18,
'cap' => 68,
'desc' => 'Button 2',
'val' => 0
},
'custom-gamma' => {
'unit' => 0,
'type' => 0,
'title' => 'Use custom gamma
table',
'max_values' => 1,
'name' => 'custom-gamma',
'index' => 7,
'cap' => 53,
'desc' => 'Determines whether
a builtin or a custom gamma-table should be used.',
'constraint_type' => 0
},
'button-controlled' => {
'name' => 'button-
controlled',
'max_values' => 1,
'title' => 'Button-
controlled scan',
'type' => 0,
'unit' => 0,
'val' => 0,
'constraint_type' => 0,
'index' => 5,
'desc' => 'When enabled,
scan process will not start immediately. To proceed, press "SCAN" button (for
MP150) or "COLOR" button (for other models). To cancel, press "GRAY" button.',
'cap' => 5
},
'threshold' => {
'constraint' => {
'min' => 0,
'max' => 100,
'quant' => 1
},
'constraint_type' => 1,
'cap' => 53,
'index' => 23,
'desc' => 'Select minimum-
brightness to get a white point',
'name' => 'threshold',
'max_values' => 1,
'title' => 'Threshold',
'type' => 1,
'unit' => 5
},
'original' => {
'title' => 'Type of original to
scan',
'type' => 1,
'unit' => 0,
'max_values' => 1,
'name' => 'original',
'index' => 19,
'cap' => 68,
'desc' => 'Type of original to
scan',
'constraint_type' => 0,
'val' => 0
},
'source' => {
'title' => 'Scan source',
'type' => 3,
'unit' => 0,
'max_values' => 1,
'name' => 'source',
'index' => 4,
'desc' => 'Selects the scan source
(such as a document-feeder). Set source before mode and resolution. Resets mode
and resolution to auto values.',
'cap' => 5,
'constraint_type' => 3,
'val' => 'Flatbed',
'constraint' => [
'Flatbed',
'Automatic
Document Feeder',
'ADF Duplex'
]
},
'mode' => {
'name' => 'mode',
'max_values' => 1,
'unit' => 0,
'type' => 3,
'title' => 'Scan mode',
'constraint' => [
'Color',
'Gray'
],
'val' => 'Color',
'constraint_type' => 3,
'index' => 3,
'desc' => 'Selects the scan mode
(e.g., lineart, monochrome, or color).',
'cap' => 21
},
'button-1' => {
'unit' => 0,
'title' => 'Button 1',
'type' => 1,
'max_values' => 1,
'name' => 'button-1',
'desc' => 'Button 1',
'index' => 17,
'cap' => 68,
'constraint_type' => 0,
'val' => 0
},
'resolution' => {
'name' => 'resolution',
'max_values' => 1,
'title' => 'Scan resolution',
'type' => 1,
'unit' => 4,
'val' => 75,
'constraint' => [
75,
150,
300,
600
],
'constraint_type' => 2,
'index' => 2,
'desc' => 'Sets the resolution
of the scanned image.',
'cap' => 21
},
'tl-y' => {
'type' => 2,
'title' => 'Top-left y',
'unit' => 3,
'max_values' => 1,
'name' => 'tl-y',
'desc' => 'Top-left y position of scan
area.',
'index' => 12,
'cap' => 21,
'constraint_type' => 1,
'val' => '0',
'constraint' => {
'quant' => '0',
'min' => '0',
'max' =>
'355.599990844727'
}
},
'scan-resolution' => {
'unit' => 0,
'title' => 'Scan
resolution',
'type' => 1,
'name' => 'scan-
resolution',
'max_values' => 1,
'constraint_type' => 0,
'index' => 21,
'cap' => 68,
'desc' => 'Scan
resolution',
'val' => 0
},
'tl-x' => {
'title' => 'Top-left x',
'type' => 2,
'unit' => 3,
'name' => 'tl-x',
'max_values' => 1,
'constraint_type' => 1,
'index' => 11,
'desc' => 'Top-left x position of scan
area.',
'cap' => 21,
'val' => '0',
'constraint' => {
'quant' => '0',
'max' =>
'216.746658325195',
'min' => '0'
}
},
'br-y' => {
'constraint' => {
'quant' => '0',
'min' => '0',
'max' =>
'355.599990844727'
},
'val' => '355.599990844727',
'index' => 14,
'desc' => 'Bottom-right y position of
scan area.',
'cap' => 21,
'constraint_type' => 1,
'max_values' => 1,
'name' => 'br-y',
'unit' => 3,
'title' => 'Bottom-right y',
'type' => 2
},
'br-x' => {
'constraint_type' => 1,
'desc' => 'Bottom-right x position of
scan area.',
'index' => 13,
'cap' => 21,
'val' => '216.746658325195',
'constraint' => {
'quant' => '0',
'min' => '0',
'max' =>
'216.746658325195'
},
'title' => 'Bottom-right x',
'type' => 2,
'unit' => 3,
'name' => 'br-x',
'max_values' => 1
}
},
'geometry' => {
'x' => '216.746658325195',
'y' => '355.599990844727',
'l' => 0,
't' => 0
},
'array' => [
{
'index' => 0
},
{
'constraint_type' => 0,
'index' => 1,
'cap' => 0,
'desc' => 'Scan mode',
'unit' => 0,
'title' => 'Scan mode',
'type' => 5,
'max_values' => 0
},
$VAR1->{'hash'}{'resolution'},
$VAR1->{'hash'}{'mode'},
$VAR1->{'hash'}{'source'},
$VAR1->{'hash'}{'button-controlled'},
{
'max_values' => 0,
'title' => 'Gamma',
'type' => 5,
'unit' => 0,
'constraint_type' => 0,
'desc' => 'Gamma',
'index' => 6,
'cap' => 0
},
$VAR1->{'hash'}{'custom-gamma'},
$VAR1->{'hash'}{'gamma-table'},
$VAR1->{'hash'}{'gamma'},
{
'max_values' => 0,
'title' => 'Geometry',
'type' => 5,
'unit' => 0,
'index' => 10,
'cap' => 0,
'desc' => 'Geometry',
'constraint_type' => 0
},
$VAR1->{'hash'}{'tl-x'},
$VAR1->{'hash'}{'tl-y'},
$VAR1->{'hash'}{'br-x'},
$VAR1->{'hash'}{'br-y'},
{
'cap' => 0,
'index' => 15,
'desc' => 'Buttons',
'constraint_type' => 0,
'max_values' => 0,
'unit' => 0,
'title' => 'Buttons',
'type' => 5
},
$VAR1->{'hash'}{'button-update'},
$VAR1->{'hash'}{'button-1'},
$VAR1->{'hash'}{'button-2'},
$VAR1->{'hash'}{'original'},
$VAR1->{'hash'}{'target'},
$VAR1->{'hash'}{'scan-resolution'},
{
'constraint_type' => 0,
'index' => 22,
'desc' => 'Extras',
'cap' => 0,
'max_values' => 0,
'title' => 'Extras',
'type' => 5,
'unit' => 0
},
$VAR1->{'hash'}{'threshold'},
$VAR1->{'hash'}{'threshold-curve'}
]
}, 'Gscan2pdf::Scanner::Options' );
INFO - signal 'finished-process' emitted with data: find_scan_options
DEBUG - Started setting available_scan_options from undef to
Gscan2pdf::Scanner::Options=HASH(0x39815f8)
DEBUG - Started setting paper_formats from undef to $VAR1 = {
'US Legal' => {
't' => '0',
'y' => '356',
'l' => '0',
'x' => '216'
},
'A4' => {
'l' => '0',
'x' => '210',
'y' => '297',
't' => '0'
},
'US Letter' => {
't' => '0',
'y' => '279',
'l' => '0',
'x' => '216'
}
};
DEBUG - Finished setting paper_formats from undef to $VAR1 = {
'US Legal' => {
't' => 0,
'y' => 356,
'l' => 0,
'x' => 216
},
'A4' => {
'l' => 0,
'x' => 210,
'y' => 297,
't' => 0
},
'US Letter' => {
't' => 0,
'y' => 279,
'l' => 0,
'x' => 216
}
};
DEBUG - Started setting paper from undef to US Letter
INFO - sane_set_option 13 (br-x) to 216 returned status Success with info 4
INFO - sane_set_option 14 (br-y) to 279 returned status Success with info 4
DEBUG - Finished setting paper from undef to US Letter
DEBUG - Finished setting available_scan_options from undef to
Gscan2pdf::Scanner::Options=HASH(0x39815f8)
INFO - signal 'finished-process' emitted with data: set_option
INFO - signal 'finished-process' emitted with data: set_option
INFO - sane_set_option 2 (resolution) to 150 returned status Success with info
4
INFO - signal 'finished-process' emitted with data: set_option
INFO - sane_set_option 4 (source) to Automatic Document Feeder returned status
Success with info 2
DEBUG - Sane->get_option_descriptor returned: $VAR1 = bless( {
'hash' => {
'mode' => {
'val' => 'Color',
'constraint' => [
'Color',
'Gray'
],
'desc' => 'Selects the scan mode
(e.g., lineart, monochrome, or color).',
'index' => 3,
'cap' => 21,
'constraint_type' => 3,
'max_values' => 1,
'name' => 'mode',
'title' => 'Scan mode',
'type' => 3,
'unit' => 0
},
'source' => {
'type' => 3,
'title' => 'Scan source',
'unit' => 0,
'name' => 'source',
'max_values' => 1,
'constraint_type' => 3,
'cap' => 5,
'index' => 4,
'desc' => 'Selects the scan source
(such as a document-feeder). Set source before mode and resolution. Resets mode
and resolution to auto values.',
'val' => 'Automatic Document
Feeder',
'constraint' => [
'Flatbed',
'Automatic
Document Feeder',
'ADF Duplex'
]
},
'br-x' => {
'type' => 2,
'title' => 'Bottom-right x',
'unit' => 3,
'max_values' => 1,
'name' => 'br-x',
'index' => 13,
'cap' => 21,
'desc' => 'Bottom-right x position of
scan area.',
'constraint_type' => 1,
'val' => '216',
'constraint' => {
'quant' => '0',
'max' =>
'216.746658325195',
'min' => '0'
}
},
'br-y' => {
'constraint_type' => 1,
'desc' => 'Bottom-right y position of
scan area.',
'index' => 14,
'cap' => 21,
'constraint' => {
'max' =>
'355.599990844727',
'min' => '0',
'quant' => '0'
},
'val' => '279',
'unit' => 3,
'type' => 2,
'title' => 'Bottom-right y',
'name' => 'br-y',
'max_values' => 1
},
'scan-resolution' => {
'constraint_type' => 0,
'desc' => 'Scan
resolution',
'index' => 21,
'cap' => 68,
'val' => 0,
'unit' => 0,
'type' => 1,
'title' => 'Scan
resolution',
'name' => 'scan-
resolution',
'max_values' => 1
},
'tl-x' => {
'unit' => 3,
'title' => 'Top-left x',
'type' => 2,
'name' => 'tl-x',
'max_values' => 1,
'constraint_type' => 1,
'desc' => 'Top-left x position of scan
area.',
'index' => 11,
'cap' => 21,
'constraint' => {
'quant' => '0',
'min' => '0',
'max' =>
'216.746658325195'
},
'val' => '0'
},
'resolution' => {
'title' => 'Scan resolution',
'type' => 1,
'unit' => 4,
'name' => 'resolution',
'max_values' => 1,
'constraint_type' => 2,
'index' => 2,
'desc' => 'Sets the resolution
of the scanned image.',
'cap' => 21,
'val' => 75,
'constraint' => [
75,
150,
300,
600
]
},
'tl-y' => {
'val' => '0',
'constraint' => {
'max' =>
'355.599990844727',
'min' => '0',
'quant' => '0'
},
'constraint_type' => 1,
'index' => 12,
'cap' => 21,
'desc' => 'Top-left y position of scan
area.',
'name' => 'tl-y',
'max_values' => 1,
'type' => 2,
'title' => 'Top-left y',
'unit' => 3
},
'button-1' => {
'unit' => 0,
'title' => 'Button 1',
'type' => 1,
'name' => 'button-1',
'max_values' => 1,
'constraint_type' => 0,
'desc' => 'Button 1',
'index' => 17,
'cap' => 68,
'val' => 0
},
'custom-gamma' => {
'title' => 'Use custom gamma
table',
'type' => 0,
'unit' => 0,
'name' => 'custom-gamma',
'max_values' => 1,
'constraint_type' => 0,
'index' => 7,
'desc' => 'Determines whether
a builtin or a custom gamma-table should be used.',
'cap' => 53,
'val' => undef
},
'button-2' => {
'unit' => 0,
'type' => 1,
'title' => 'Button 2',
'max_values' => 1,
'name' => 'button-2',
'index' => 18,
'desc' => 'Button 2',
'cap' => 68,
'constraint_type' => 0,
'val' => 0
},
'target' => {
'val' => 0,
'constraint_type' => 0,
'desc' => 'Target operation type',
'index' => 20,
'cap' => 68,
'name' => 'target',
'max_values' => 1,
'title' => 'Target operation type',
'type' => 1,
'unit' => 0
},
'gamma' => {
'index' => 9,
'cap' => 53,
'desc' => 'Changes intensity of
midtones',
'constraint_type' => 1,
'val' => undef,
'constraint' => {
'min' =>
'0.29998779296875',
'max' => '5',
'quant' => '0'
},
'type' => 2,
'title' => 'Gamma function exponent',
'unit' => 0,
'max_values' => 1,
'name' => 'gamma'
},
'button-update' => {
'unit' => 0,
'title' => 'Update button
state',
'type' => 4,
'max_values' => 0,
'name' => 'button-update',
'cap' => 69,
'index' => 16,
'desc' => 'Update button
state',
'constraint_type' => 0
},
'threshold-curve' => {
'max_values' => 1,
'name' => 'threshold-
curve',
'unit' => 0,
'type' => 1,
'title' => 'Threshold
curve',
'constraint' => {
'min' =>
0,
'max' =>
127,
'quant'
=> 1
},
'val' => undef,
'index' => 24,
'cap' => 53,
'desc' => 'Dynamic
threshold curve, from light to dark, normally 50-65',
'constraint_type' => 1
},
'gamma-table' => {
'name' => 'gamma-table',
'max_values' => 4096,
'type' => 1,
'title' => 'Image intensity',
'unit' => 0,
'val' => undef,
'constraint' => {
'max' => 255,
'min' => 0,
'quant' => 0
},
'constraint_type' => 1,
'index' => 8,
'desc' => 'Gamma-correction
table. In color mode this option equally affects the red, green, and blue
channels simultaneously (i.e., it is an intensity gamma table).',
'cap' => 53
},
'original' => {
'unit' => 0,
'title' => 'Type of original to
scan',
'type' => 1,
'name' => 'original',
'max_values' => 1,
'constraint_type' => 0,
'cap' => 68,
'index' => 19,
'desc' => 'Type of original to
scan',
'val' => 0
},
'threshold' => {
'max_values' => 1,
'name' => 'threshold',
'type' => 1,
'title' => 'Threshold',
'unit' => 5,
'val' => undef,
'constraint' => {
'max' => 100,
'min' => 0,
'quant' => 1
},
'index' => 23,
'desc' => 'Select minimum-
brightness to get a white point',
'cap' => 53,
'constraint_type' => 1
},
'button-controlled' => {
'name' => 'button-
controlled',
'max_values' => 1,
'unit' => 0,
'type' => 0,
'title' => 'Button-
controlled scan',
'val' => 0,
'constraint_type' => 0,
'index' => 5,
'desc' => 'When enabled,
scan process will not start immediately. To proceed, press "SCAN" button (for
MP150) or "COLOR" button (for other models). To cancel, press "GRAY" button.',
'cap' => 5
}
},
'geometry' => {
'x' => '216.746658325195',
'y' => '355.599990844727',
'l' => 0,
't' => 0
},
'array' => [
{
'index' => 0
},
{
'max_values' => 0,
'unit' => 0,
'title' => 'Scan mode',
'type' => 5,
'index' => 1,
'cap' => 0,
'desc' => 'Scan mode',
'constraint_type' => 0
},
$VAR1->{'hash'}{'resolution'},
$VAR1->{'hash'}{'mode'},
$VAR1->{'hash'}{'source'},
$VAR1->{'hash'}{'button-controlled'},
{
'constraint_type' => 0,
'index' => 6,
'desc' => 'Gamma',
'cap' => 0,
'title' => 'Gamma',
'type' => 5,
'unit' => 0,
'max_values' => 0
},
$VAR1->{'hash'}{'custom-gamma'},
$VAR1->{'hash'}{'gamma-table'},
$VAR1->{'hash'}{'gamma'},
{
'constraint_type' => 0,
'index' => 10,
'cap' => 0,
'desc' => 'Geometry',
'max_values' => 0,
'unit' => 0,
'title' => 'Geometry',
'type' => 5
},
$VAR1->{'hash'}{'tl-x'},
$VAR1->{'hash'}{'tl-y'},
$VAR1->{'hash'}{'br-x'},
$VAR1->{'hash'}{'br-y'},
{
'index' => 15,
'cap' => 0,
'desc' => 'Buttons',
'constraint_type' => 0,
'unit' => 0,
'type' => 5,
'title' => 'Buttons',
'max_values' => 0
},
$VAR1->{'hash'}{'button-update'},
$VAR1->{'hash'}{'button-1'},
$VAR1->{'hash'}{'button-2'},
$VAR1->{'hash'}{'original'},
$VAR1->{'hash'}{'target'},
$VAR1->{'hash'}{'scan-resolution'},
{
'constraint_type' => 0,
'index' => 22,
'cap' => 0,
'desc' => 'Extras',
'unit' => 0,
'title' => 'Extras',
'type' => 5,
'max_values' => 0
},
$VAR1->{'hash'}{'threshold'},
$VAR1->{'hash'}{'threshold-curve'}
]
}, 'Gscan2pdf::Scanner::Options' );
INFO - signal 'finished-process' emitted with data: set_option
INFO - rotate facing 0
INFO - rotate reverse 0
INFO - unpaper
INFO - OCR
INFO - gscan2pdf: scanning image of size 638x824 pixels at 24 bits/pixel
INFO - gscan2pdf: acquiring RGB frame
INFO - gscan2pdf: min/max graylevel value = 255/0
INFO - gscan2pdf: read 1577136 bytes in total
INFO - Scanned page /tmp/gscan2pdf-SvuY/out1.pnm. (scanner status = 5)
DEBUG - $VAR1 = [];
INFO - Importing scan with resolution=75
INFO - gscan2pdf: scanning image of size 638x824 pixels at 24 bits/pixel
INFO - gscan2pdf: acquiring RGB frame
INFO - Header suggests 1577171
INFO - Expecting 1577171, found 1577171
INFO - New page filename /tmp/gscan2pdf-SvuY/out1.pnm, format Portable anymap
INFO - Added /tmp/gscan2pdf-SvuY/3QAFU7v5vE.pnm at page 1 with resolution 75
DEBUG - Started setting page_number_start from 1 to 2
DEBUG - Started setting max_pages from 0 to -1
DEBUG - Finished setting max_pages from 0 to -1
DEBUG - Finished setting page_number_start from 1 to 2
INFO - gscan2pdf: min/max graylevel value = 255/0
INFO - gscan2pdf: sane_read: Document feeder out of documents
INFO - Scanned page /tmp/gscan2pdf-SvuY/out2.pnm. (scanner status = 7)
INFO - signal 'finished-process' emitted with data: scan_pages
DEBUG - PDF save filename dialog returned ok
DEBUG - Started saving /home/user/Desktop/20141014 Test ASDF1.pdf
INFO - Using /usr/share/fonts/truetype/abyssinica/AbyssinicaSIL-R.ttf for non-
ASCII text
INFO - Depth of /tmp/gscan2pdf-SvuY/3QAFU7v5vE.pnm is 8
INFO - Type of /tmp/gscan2pdf-SvuY/3QAFU7v5vE.pnm is TrueColor
INFO - Selecting jpg compression
INFO - Converting /tmp/gscan2pdf-SvuY/3QAFU7v5vE.pnm to /tmp/gscan2pdf-
SvuY/Cp3FZtqIYx.jpg
INFO - Writing temporary image /tmp/gscan2pdf-SvuY/Cp3FZtqIYx.jpg
INFO - Defining page at 612.48pt x 791.04pt
INFO - Adding /tmp/gscan2pdf-SvuY/Cp3FZtqIYx.jpg at 75 PPI
DEBUG - Finished saving /home/user/Desktop/20141014 Test ASDF1.pdf
INFO - Wrote config to /home/user/.gscan2pdf
INFO - Killing Sane thread(s)