Am 02.03.2011 09:35, schrieb Sebastian Niehaus: > scanimage-perl: error [1]
[...] > [1] Argument "" isn't numeric in subtraction (-) at /usr/bin > /scanimage-perl line 391. > Argument "" isn't numeric in subtraction (-) at /usr/bin > /scanimage-perl line 391. > scanimage-perl: option --contrast: index 2 out of range [0..2] In case you need debug information for scanimage-perl have a look at the attachment. Sebastian
$VAR1 = { '' => '3', 'ocr panel' => '761', 'frontend' => 'scanadf', 'mode' => 'Lineart', 'Paper' => { 'US-Letter' => { 'y' => '279', 'l' => '0', 'x' => '216', 't' => '0' }, 'US-Legal' => { 'y' => '356', 'l' => '0', 'x' => '216', 't' => '0' }, 'A4' => { 'y' => '297', 'l' => '0', 'x' => '210', 't' => '0' } }, 'ocr engine' => 'ocropus', 'y' => '297', 'keywords' => '', 'layout' => 'single', 'cwd' => '/home/niehaus/gescannte_Dokumente/DP/KKB', 'image type' => 'pdf', 'Paper size' => 'A4', 'subject' => '', 'user_defined_tools' => 'gimp %i', 'default filename' => '%a %y-%m-%d', 'startup warning' => '1', 'title' => 'Dienstplan Februar und März 2011', 'source' => 'Normal', 'rotate facing' => '0', 'cache options' => '1', 'author' => '', 'compression' => 'None', 'speed' => 'Auto', 'window_x' => '0', 'window_y' => '-3', 'quality' => '75', 'date offset' => '-11', 'version' => '0.9.31', 'device' => 'hp:/dev/sg0', 'scan prefix' => '', 'cache' => { 'v4l:/dev/video0' => {}, 'hpaio:/net/PSC_1500_series?ip=192.168.0.28' => { 'default' => 'Usage: scanadf-perl [OPTION]... Start image acquisition on a scanner device and write image data to output files. [ -d | --device-name <device> ] use a given scanner device. [ -h | --help ] display this help message and exit. [ -L | --list-devices ] show available scanner devices. [ -v | --verbose ] give even more status messages. [ -V | --version ] print version information. [ -N | --no-overwrite ] don\'t overwrite existing files. [ -o | --output-file <name> ] name of file to write image data (%d replacement in output file name). [ -S | --scan-script <name> ] name of script to run after every scan. [ --script-wait ] wait for scripts to finish before exit [ -s | --start-count <num> ] page count of first scanned image. [ -e | --end-count <num> ] last page number to scan. [ -r | --raw ] write raw image data to file. Options specific to device `v4l:/dev/video0\': Scan Mode: --mode Gray|Color [Gray] Selects the scan mode (e.g., lineart, monochrome, or color). --channel Television|Composite1|S-Video|Composite3 [Television] Selects the channel of the v4l device (e.g. television or video-in. Geometry: -l 0..719pel (in steps of 1) [inactive] Top-left x position of scan area. -t 0..479pel (in steps of 1) [inactive] Top-left y position of scan area. -x 48..767pel (in steps of 1) [inactive] Width of scan-area. -y 32..511pel (in steps of 1) [inactive] Height of scan-area. Enhancement: --brightness 0..255 [128] Controls the brightness of the acquired image. --hue 0..255 [128] Controls the "hue" (blue-level) of the acquired image. --color 0..255 [128] Sets the picture\'s color. --contrast 0..255 [128] Controls the contrast of the acquired image. --white-level 0..255 [0] Selects what radiance level should be considered "white". Type ``scanadf-perl --help -d DEVICE\'\' to get list of all options for DEVICE. List of available devices: v4l:/dev/video0 hp:/dev/sg0', 'Lineart' => 'Usage: scanadf-perl [OPTION]... Start image acquisition on a scanner device and write image data to output files. [ -d | --device-name <device> ] use a given scanner device. [ -h | --help ] display this help message and exit. [ -L | --list-devices ] show available scanner devices. [ -v | --verbose ] give even more status messages. [ -V | --version ] print version information. [ -N | --no-overwrite ] don\'t overwrite existing files. [ -o | --output-file <name> ] name of file to write image data (%d replacement in output file name). [ -S | --scan-script <name> ] name of script to run after every scan. [ --script-wait ] wait for scripts to finish before exit [ -s | --start-count <num> ] page count of first scanned image. [ -e | --end-count <num> ] last page number to scan. [ -r | --raw ] write raw image data to file. Options specific to device `hpaio:/net/PSC_1500_series?ip=192.168.0.28\': Scan mode: --mode Lineart|Gray|Color [Lineart] Selects the scan mode (e.g., lineart, monochrome, or color). --resolution 75..1200dpi [75] Sets the resolution of the scanned image. Advanced: --contrast 0..100 [inactive] Controls the contrast of the acquired image. --compression None [None] Selects the scanner compression method for faster scans, possibly at the expense of image quality. --jpeg-quality 0..100 [inactive] Sets the scanner JPEG compression factor. Larger numbers mean better compression, and smaller numbers mean better image quality. --batch-scan[=(yes|no)] [no] Enables continuous scanning with automatic document feeder (ADF). --source Flatbed [Flatbed] Selects the scan source (such as a document-feeder). Geometry: --length-measurement Unknown|Approximate|Padded [Padded] Selects how the scanned image length is measured and reported, which is impossible to know in advance for scrollfed scans. -l 0..215.9mm [0] Top-left x position of scan area. -t 0..296.926mm [0] Top-left y position of scan area. -x 0..215.9mm [215.9] Width of scan-area. -y 0..296.926mm [296.926] Height of scan-area. Type ``scanadf-perl --help -d DEVICE\'\' to get list of all options for DEVICE. List of available devices: v4l:/dev/video0 hpaio:/net/PSC_1500_series?ip=192.168.0.28', 'Color' => 'Usage: scanadf-perl [OPTION]... Start image acquisition on a scanner device and write image data to output files. [ -d | --device-name <device> ] use a given scanner device. [ -h | --help ] display this help message and exit. [ -L | --list-devices ] show available scanner devices. [ -v | --verbose ] give even more status messages. [ -V | --version ] print version information. [ -N | --no-overwrite ] don\'t overwrite existing files. [ -o | --output-file <name> ] name of file to write image data (%d replacement in output file name). [ -S | --scan-script <name> ] name of script to run after every scan. [ --script-wait ] wait for scripts to finish before exit [ -s | --start-count <num> ] page count of first scanned image. [ -e | --end-count <num> ] last page number to scan. [ -r | --raw ] write raw image data to file. Options specific to device `hpaio:/net/PSC_1500_series?ip=192.168.0.28\': Scan mode: --mode Lineart|Gray|Color [Color] Selects the scan mode (e.g., lineart, monochrome, or color). --resolution 75..1200dpi [75] Sets the resolution of the scanned image. Advanced: --contrast 0..100 [inactive] Controls the contrast of the acquired image. --compression None|JPEG [JPEG] Selects the scanner compression method for faster scans, possibly at the expense of image quality. --jpeg-quality 0..100 [10] Sets the scanner JPEG compression factor. Larger numbers mean better compression, and smaller numbers mean better image quality. --batch-scan[=(yes|no)] [no] Enables continuous scanning with automatic document feeder (ADF). --source Flatbed [Flatbed] Selects the scan source (such as a document-feeder). Geometry: --length-measurement Unknown|Approximate|Padded [Padded] Selects how the scanned image length is measured and reported, which is impossible to know in advance for scrollfed scans. -l 0..215.9mm [0] Top-left x position of scan area. -t 0..296.926mm [0] Top-left y position of scan area. -x 0..215.9mm [215.9] Width of scan-area. -y 0..296.926mm [296.926] Height of scan-area. Type ``scanadf-perl --help -d DEVICE\'\' to get list of all options for DEVICE. List of available devices: v4l:/dev/video0 hpaio:/net/PSC_1500_series?ip=192.168.0.28' }, 'hp:/dev/sg0' => { 'default' => 'Usage: scanimage [OPTION]... Start image acquisition on a scanner device and write image data to standard output. Parameters are separated by a blank from single-character options (e.g. -d epson) and by a "=" from multi-character options (e.g. --device-name=epson). -d, --device-name=DEVICE use a given scanner device (e.g. hp:/dev/scanner) --format=pnm|tiff file format of output file -i, --icc-profile=PROFILE include this ICC profile into TIFF file -L, --list-devices show available scanner devices -f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output can be specified: %d (device name), %v (vendor), %m (model), %t (type), %i (index number), and %n (newline) -b, --batch[=FORMAT] working in batch mode, FORMAT is `out%d.pnm\' or `out%d.tif\' by default depending on --format --batch-start=# page number to start naming files with --batch-count=# how many pages to scan in batch mode --batch-increment=# increase page number in filename by # --batch-double increment page number by two, same as --batch-increment=2 --batch-prompt ask for pressing a key before scanning a page --accept-md5-only only accept authorization requests using md5 -p, --progress print progress messages -n, --dont-scan only set options, don\'t actually scan -T, --test test backend thoroughly -h, --help display this help message and exit -v, --verbose give even more status messages -B, --buffer-size=# change input buffer size (in kB, default 32) -V, --version print version information Options specific to device `hpaio:/net/PSC_1500_series?ip=192.168.0.28\': Scan mode: --mode Lineart|Gray|Color [Color] Selects the scan mode (e.g., lineart, monochrome, or color). --resolution 75..1200dpi [75] Sets the resolution of the scanned image. Advanced: --contrast 0..100 [inactive] Controls the contrast of the acquired image. --compression None|JPEG [JPEG] Selects the scanner compression method for faster scans, possibly at the expense of image quality. --jpeg-quality 0..100 [10] Sets the scanner JPEG compression factor. Larger numbers mean better compression, and smaller numbers mean better image quality. --batch-scan[=(yes|no)] [no] Enables continuous scanning with automatic document feeder (ADF). --source Flatbed [Flatbed] Selects the scan source (such as a document-feeder). Geometry: --length-measurement Unknown|Approximate|Padded [Padded] Selects how the scanned image length is measured and reported, which is impossible to know in advance for scrollfed scans. -l 0..215.9mm [0] Top-left x position of scan area. -t 0..296.926mm [0] Top-left y position of scan area. -x 0..215.9mm [215.9] Width of scan-area. -y 0..296.926mm [296.926] Height of scan-area. Type ``scanimage --help -d DEVICE\'\' to get list of all options for DEVICE. List of available devices: v4l:/dev/video0 hpaio:/net/PSC_1500_series?ip=192.168.0.28', 'Lineart' => 'Usage: scanadf-perl [OPTION]... Start image acquisition on a scanner device and write image data to output files. [ -d | --device-name <device> ] use a given scanner device. [ -h | --help ] display this help message and exit. [ -L | --list-devices ] show available scanner devices. [ -v | --verbose ] give even more status messages. [ -V | --version ] print version information. [ -N | --no-overwrite ] don\'t overwrite existing files. [ -o | --output-file <name> ] name of file to write image data (%d replacement in output file name). [ -S | --scan-script <name> ] name of script to run after every scan. [ --script-wait ] wait for scripts to finish before exit [ -s | --start-count <num> ] page count of first scanned image. [ -e | --end-count <num> ] last page number to scan. [ -r | --raw ] write raw image data to file. Options specific to device `hp:/dev/sg3\': Scan Mode: --preview[=(yes|no)] [no] Request a preview-quality scan. --mode Lineart|Halftone|Gray|Color [Lineart] Selects the scan mode (e.g., lineart, monochrome, or color). --resolution 12..1600dpi (in steps of 1) [300] Sets the resolution of the scanned image. Enhancement: --brightness -127..127 (in steps of 1) [0] Controls the brightness of the acquired image. --contrast -127..127 (in steps of 1) [0] Controls the contrast of the acquired image. --auto-threshold[=(yes|no)] [no] Enable automatic determination of threshold for line-art scans. Advanced Options: --custom-gamma[=(yes|no)] [no] Determines whether a builtin or a custom gamma-table should be used. --gamma-table 0..255,... (in steps of 1.52587890625e-05) [inactive] 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). --matrix-type Auto|NTSC Gray|XPA Gray|Red|Green|Blue [Auto] Set the scanners color matrix. --matrix-rgb -1.98438..1.98438,... (in steps of 1.52587890625e-05) [inactive] Custom color matrix. --halftone-pattern Coarse|Fine|Bayer|Vertical|Horizontal|Custom [inactive] Defines the halftoning (dithering) pattern for scanning halftoned images. --speed Auto|Normal|Fast|Extra Fast [Auto] Determines the speed at which the scan proceeds. --smoothing Auto|Off|2-pixel|4-pixel|8-pixel [Auto] Select smoothing filter. --depth 1 [inactive] Number of bits per sample, typical values are 1 for "line-art" and 8 for multibit scans. --output-8bit[=(yes|no)] [inactive] Use bit depth greater eight internally, but output only eight bits. --source Normal|XPA [Normal] Selects the scan source (such as a document-feeder). --lamp-off [] Shut off scanner lamp. Geometry: -l 0..215.788mm (in steps of 1.52587890625e-05) [0] Top-left x position of scan area. -t 0..355.47mm (in steps of 1.52587890625e-05) [0] Top-left y position of scan area. -x 0..215.788mm (in steps of 1.52587890625e-05) [215.788] Width of scan-area. -y 0..355.47mm (in steps of 1.52587890625e-05) [355.47] Height of scan-area. --mirror-horizontal Off|On [Off] Mirror image horizontally. --mirror-vertical Off|On [Off] Mirror image vertically. Type ``scanadf-perl --help -d DEVICE\'\' to get list of all options for DEVICE. List of available devices: hp:/dev/sg3' }, 'hp:/dev/sg3' => { 'default' => 'Usage: scanimage [OPTION]... Start image acquisition on a scanner device and write image data to standard output. Parameters are separated by a blank from single-character options (e.g. -d epson) and by a "=" from multi-character options (e.g. --device-name=epson). -d, --device-name=DEVICE use a given scanner device (e.g. hp:/dev/scanner) --format=pnm|tiff file format of output file -i, --icc-profile=PROFILE include this ICC profile into TIFF file -L, --list-devices show available scanner devices -f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output can be specified: %d (device name), %v (vendor), %m (model), %t (type), %i (index number), and %n (newline) -b, --batch[=FORMAT] working in batch mode, FORMAT is `out%d.pnm\' or `out%d.tif\' by default depending on --format --batch-start=# page number to start naming files with --batch-count=# how many pages to scan in batch mode --batch-increment=# increase page number in filename by # --batch-double increment page number by two, same as --batch-increment=2 --batch-prompt ask for pressing a key before scanning a page --accept-md5-only only accept authorization requests using md5 -p, --progress print progress messages -n, --dont-scan only set options, don\'t actually scan -T, --test test backend thoroughly -h, --help display this help message and exit -v, --verbose give even more status messages -B, --buffer-size=# change input buffer size (in kB, default 32) -V, --version print version information Options specific to device `hpaio:/net/PSC_1500_series?ip=192.168.0.28\': Scan mode: --mode Lineart|Gray|Color [Color] Selects the scan mode (e.g., lineart, monochrome, or color). --resolution 75..1200dpi [75] Sets the resolution of the scanned image. Advanced: --contrast 0..100 [inactive] Controls the contrast of the acquired image. --compression None|JPEG [JPEG] Selects the scanner compression method for faster scans, possibly at the expense of image quality. --jpeg-quality 0..100 [10] Sets the scanner JPEG compression factor. Larger numbers mean better compression, and smaller numbers mean better image quality. --batch-scan[=(yes|no)] [no] Enables continuous scanning with automatic document feeder (ADF). --source Flatbed [Flatbed] Selects the scan source (such as a document-feeder). Geometry: --length-measurement Unknown|Approximate|Padded [Padded] Selects how the scanned image length is measured and reported, which is impossible to know in advance for scrollfed scans. -l 0..215.9mm [0] Top-left x position of scan area. -t 0..296.926mm [0] Top-left y position of scan area. -x 0..215.9mm [215.9] Width of scan-area. -y 0..296.926mm [296.926] Height of scan-area. Type ``scanimage --help -d DEVICE\'\' to get list of all options for DEVICE. List of available devices: v4l:/dev/video0 hpaio:/net/PSC_1500_series?ip=192.168.0.28', 'Lineart' => 'Usage: scanadf-perl [OPTION]... Start image acquisition on a scanner device and write image data to output files. [ -d | --device-name <device> ] use a given scanner device. [ -h | --help ] display this help message and exit. [ -L | --list-devices ] show available scanner devices. [ -v | --verbose ] give even more status messages. [ -V | --version ] print version information. [ -N | --no-overwrite ] don\'t overwrite existing files. [ -o | --output-file <name> ] name of file to write image data (%d replacement in output file name). [ -S | --scan-script <name> ] name of script to run after every scan. [ --script-wait ] wait for scripts to finish before exit [ -s | --start-count <num> ] page count of first scanned image. [ -e | --end-count <num> ] last page number to scan. [ -r | --raw ] write raw image data to file. Options specific to device `hp:/dev/sg3\': Scan Mode: --preview[=(yes|no)] [no] Request a preview-quality scan. --mode Lineart|Halftone|Gray|Color [Lineart] Selects the scan mode (e.g., lineart, monochrome, or color). --resolution 12..1600dpi (in steps of 1) [300] Sets the resolution of the scanned image. Enhancement: --brightness -127..127 (in steps of 1) [0] Controls the brightness of the acquired image. --contrast -127..127 (in steps of 1) [0] Controls the contrast of the acquired image. --auto-threshold[=(yes|no)] [no] Enable automatic determination of threshold for line-art scans. Advanced Options: --custom-gamma[=(yes|no)] [no] Determines whether a builtin or a custom gamma-table should be used. --gamma-table 0..255,... (in steps of 1.52587890625e-05) [inactive] 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). --matrix-type Auto|NTSC Gray|XPA Gray|Red|Green|Blue [Auto] Set the scanners color matrix. --matrix-rgb -1.98438..1.98438,... (in steps of 1.52587890625e-05) [inactive] Custom color matrix. --halftone-pattern Coarse|Fine|Bayer|Vertical|Horizontal|Custom [inactive] Defines the halftoning (dithering) pattern for scanning halftoned images. --speed Auto|Normal|Fast|Extra Fast [Auto] Determines the speed at which the scan proceeds. --smoothing Auto|Off|2-pixel|4-pixel|8-pixel [Auto] Select smoothing filter. --depth 1 [inactive] Number of bits per sample, typical values are 1 for "line-art" and 8 for multibit scans. --output-8bit[=(yes|no)] [inactive] Use bit depth greater eight internally, but output only eight bits. --source Normal|XPA [Normal] Selects the scan source (such as a document-feeder). --lamp-off [] Shut off scanner lamp. Geometry: -l 0..215.788mm (in steps of 1.52587890625e-05) [0] Top-left x position of scan area. -t 0..355.47mm (in steps of 1.52587890625e-05) [0] Top-left y position of scan area. -x 0..215.788mm (in steps of 1.52587890625e-05) [215.788] Width of scan-area. -y 0..355.47mm (in steps of 1.52587890625e-05) [355.47] Height of scan-area. --mirror-horizontal Off|On [Off] Mirror image horizontally. --mirror-vertical Off|On [Off] Mirror image vertically. Type ``scanadf-perl --help -d DEVICE\'\' to get list of all options for DEVICE. List of available devices: hp:/dev/sg3', 'Color' => 'Usage: scanadf-perl [OPTION]... Start image acquisition on a scanner device and write image data to output files. [ -d | --device-name <device> ] use a given scanner device. [ -h | --help ] display this help message and exit. [ -L | --list-devices ] show available scanner devices. [ -v | --verbose ] give even more status messages. [ -V | --version ] print version information. [ -N | --no-overwrite ] don\'t overwrite existing files. [ -o | --output-file <name> ] name of file to write image data (%d replacement in output file name). [ -S | --scan-script <name> ] name of script to run after every scan. [ --script-wait ] wait for scripts to finish before exit [ -s | --start-count <num> ] page count of first scanned image. [ -e | --end-count <num> ] last page number to scan. [ -r | --raw ] write raw image data to file. Options specific to device `hp:/dev/sg3\': Scan Mode: --preview[=(yes|no)] [no] Request a preview-quality scan. --mode Lineart|Halftone|Gray|Color [Color] Selects the scan mode (e.g., lineart, monochrome, or color). --resolution 12..1600dpi (in steps of 1) [300] Sets the resolution of the scanned image. Enhancement: --brightness -127..127 (in steps of 1) [0] Controls the brightness of the acquired image. --contrast -127..127 (in steps of 1) [0] Controls the contrast of the acquired image. --auto-threshold[=(yes|no)] [inactive] Enable automatic determination of threshold for line-art scans. Advanced Options: --custom-gamma[=(yes|no)] [no] Determines whether a builtin or a custom gamma-table should be used. --gamma-table 0..255,... (in steps of 1.52587890625e-05) [inactive] 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). --matrix-type Auto|NTSC RGB|XPA RGB|Pass-through [Auto] Set the scanners color matrix. --matrix-rgb -1.98438..1.98438,... (in steps of 1.52587890625e-05) [inactive] Custom color matrix. --halftone-pattern Coarse|Fine|Bayer|Vertical|Horizontal|Custom [inactive] Defines the halftoning (dithering) pattern for scanning halftoned images. --speed Auto|Normal|Fast|Extra Fast [Auto] Determines the speed at which the scan proceeds. --smoothing Auto|Off|2-pixel|4-pixel|8-pixel [Auto] Select smoothing filter. --depth 8|10 [8] Number of bits per sample, typical values are 1 for "line-art" and 8 for multibit scans. --output-8bit[=(yes|no)] [inactive] Use bit depth greater eight internally, but output only eight bits. --source Normal|XPA [Normal] Selects the scan source (such as a document-feeder). --lamp-off [] Shut off scanner lamp. Geometry: -l 0..215.788mm (in steps of 1.52587890625e-05) [0] Top-left x position of scan area. -t 0..355.47mm (in steps of 1.52587890625e-05) [0] Top-left y position of scan area. -x 0..215.788mm (in steps of 1.52587890625e-05) [215.788] Width of scan-area. -y 0..355.47mm (in steps of 1.52587890625e-05) [355.47] Height of scan-area. --mirror-horizontal Off|On [Off] Mirror image horizontally. --mirror-vertical Off|On [Off] Mirror image vertically. Type ``scanadf-perl --help -d DEVICE\'\' to get list of all options for DEVICE. List of available devices: hp:/dev/sg3' } }, 'profile' => {}, 'unsharp radius' => '0', 'window_maximize' => '1', 'pid' => '6393', 'unsharp amount' => '1', 'OCR output' => 'replace', 't' => '0', 'OCR on scan' => '', 'Page range' => 'all', 'default' => { 'hp:/dev/sg0' => [ { 'br-x' => '210' }, { 'br-y' => '297' }, { 'brightness' => '-1' }, { 'contrast' => '-1' } ] }, 'window_height' => '962', 'rotate reverse' => '0', 'brightness' => '-1', 'Dark threshold' => '0.12', 'pages to scan' => '2', 'resolution' => '300', 'Blank threshold' => '0.005', 'unpaper on scan' => '', 'libsane-perl version' => '0.03', 'x' => '210', 'downsample dpi' => '150', 'window_width' => '1273', 'threshold tool' => '80', 'unsharp sigma' => '1', 'thumb panel' => '159', 'contrast' => '-1', 'unsharp threshold' => '0.05', 'l' => '0', 'SANE version' => '1.0.21', 'Page range default' => 'all', 'downsample' => '', 'restore window' => '1', 'batch-scan' => 'no', 'pdf compression' => 'png' }; gscan2pdf 0.9.31 Using de_DE.UTF-8 locale Startup LC_NUMERIC C Running init Gtk2-Perl version 1.222 Built for 2.20.1 Running with 2.20.1 Using GtkImageView version 1.6.4 Using Gtk2::ImageView version 0.05 Using PDF::API2 version 0.73 Found Image::Magick Found ImageMagick Found scanadf Found xdg-email Found gocr Found tesseract Found cjb2 (djvu) Found unpaper Found libtiff Using /tmp/LYw1VGejuc for temporary files Using tessdata at /usr/share/tesseract-ocr/tessdata scanimage --formatted-device-list="'%i','%d','%v %m' " 2>/dev/null Forked PID 15621 *** unhandled exception in callback: *** Can't call method "hide_all" on an undefined value at /usr/bin/gscan2pdf line 4917. *** ignoring at /usr/bin/gscan2pdf line 12513. Waiting to reap process at /usr/bin/gscan2pdf line 4990. Reaped PID 0 $VAR1 = { 'gamma-table' => { 'tip' => '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).', 'min' => '0', 'max' => '255', 'default' => 'inactive' }, 'source' => { 'tip' => 'Selects the scan source (such as a document-feeder).', 'default' => 'Normal', 'values' => [ 'Normal', 'XPA' ] }, 'mode' => { 'tip' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', 'default' => 'Lineart', 'values' => [ 'Lineart', 'Halftone', 'Gray', 'Color' ] }, 'custom-gamma' => { 'tip' => 'Determines whether a builtin or a custom gamma-table should be used.', 'default' => 'no', 'values' => [ 'yes', 'no' ] }, 'x' => { 'tip' => 'Width of scan-area.', 'unit' => 'mm', 'min' => '0', 'max' => '215.788', 'default' => '215.788' }, 'matrix-rgb' => { 'tip' => 'Custom color matrix.', 'min' => '-1.98438', 'max' => '1.98438', 'default' => 'inactive' }, 'y' => { 'tip' => 'Height of scan-area.', 'unit' => 'mm', 'min' => '0', 'max' => '355.47', 'default' => '355.47' }, 'auto-threshold' => { 'tip' => 'Enable automatic determination of threshold for line-art scans.', 'default' => 'no', 'values' => [ 'yes', 'no' ] }, 'smoothing' => { 'tip' => 'Select smoothing filter.', 'default' => 'Auto', 'values' => [ 'Auto', 'Off', '2-pixel', '4-pixel', '8-pixel' ] }, 'speed' => { 'tip' => 'Determines the speed at which the scan proceeds.', 'default' => 'Auto', 'values' => [ 'Auto', 'Normal', 'Fast', 'Extra Fast' ] }, 'lamp-off' => { 'tip' => 'Shut off scanner lamp.', 'default' => '' }, 't' => { 'tip' => 'Top-left y position of scan area.', 'unit' => 'mm', 'min' => '0', 'max' => '355.47', 'default' => '0' }, 'mirror-vertical' => { 'tip' => 'Mirror image vertically.', 'default' => 'Off', 'values' => [ 'Off', 'On' ] }, 'mirror-horizontal' => { 'tip' => 'Mirror image horizontally.', 'default' => 'Off', 'values' => [ 'Off', 'On' ] }, 'contrast' => { 'tip' => 'Controls the contrast of the acquired image.', 'step' => '1', 'min' => '-127', 'max' => '127', 'default' => '0' }, 'depth' => { 'tip' => 'Number of bits per sample, typical values are 1 for "line-art" and 8 for multibit scans.', 'default' => 'inactive', 'values' => [ '1' ] }, 'l' => { 'tip' => 'Top-left x position of scan area.', 'unit' => 'mm', 'min' => '0', 'max' => '215.788', 'default' => '0' }, 'brightness' => { 'tip' => 'Controls the brightness of the acquired image.', 'step' => '1', 'min' => '-127', 'max' => '127', 'default' => '0' }, 'preview' => { 'tip' => 'Request a preview-quality scan.', 'default' => 'no', 'values' => [ 'yes', 'no' ] }, 'resolution' => { 'tip' => 'Sets the resolution of the scanned image.', 'step' => '1', 'unit' => 'dpi', 'min' => '12', 'max' => '1600', 'default' => '300' }, 'output-8bit' => { 'tip' => 'Use bit depth greater eight internally, but output only eight bits.', 'default' => 'inactive', 'values' => [ 'yes', 'no' ] }, 'halftone-pattern' => { 'tip' => 'Defines the halftoning (dithering) pattern for scanning halftoned images.', 'default' => 'inactive', 'values' => [ 'Coarse', 'Fine', 'Bayer', 'Vertical', 'Horizontal', 'Custom' ] }, 'matrix-type' => { 'tip' => 'Set the scanners color matrix.', 'default' => 'Auto', 'values' => [ 'Auto', 'NTSC Gray', 'XPA Gray', 'Red', 'Green', 'Blue' ] } }; $VAR1 = []; $VAR1 = { 'source' => 'Normal', 'Paper size' => 'A4', 'mode' => 'Lineart', 'contrast' => '-1', 'x' => '210', 'l' => '0', 'y' => '297', 'brightness' => '-1', 'speed' => 'Auto', 'resolution' => '300', 't' => '0' }; scanimage-perl --device-name='hp:/dev/sg0' --mode='Lineart' --source='Normal' --contrast='-1' -x 210 -l 0 -y 297 --brightness='-1' --speed='Auto' --resolution='300' -t 0 --batch --progress --batch-count=2 '0','hp:/dev/sg0','Hewlett-Packard C2520A' rotate facing 0 rotate reverse 0 non-duplex mode rotate_facing 0 rotate_reverse 0 unpaper OCR Forked PID 15624 Waiting to reap process at /usr/bin/gscan2pdf line 6162. Reaped PID 15624 Running sane_init Exiting via sane_exit Argument "" isn't numeric in subtraction (-) at /usr/bin/scanimage-perl line 391. Argument "" isn't numeric in subtraction (-) at /usr/bin/scanimage-perl line 391. scanimage-perl: option --contrast: index 2 out of range [0..2] Running sane_init Exiting via sane_exit
signature.asc
Description: OpenPGP digital signature