Here's the output of scanimage. Did I mention that the preview is perfect? The issue is the output to PDF.
br-y' => '279' }, { 'mode' => 'Lineart' }, { 'resolution' => '200' } ], 'genesys:libusb:006:005' => [ { 'br-y' => '279' }, { 'resolution' => '150' } ], 'genesys:libusb:006:004' => [ { 'mode' => 'Color' }, { 'br-x' => '215.899993896484' }, { 'br-y' => '279' }, { 'clear-calibration' => undef } ] }, 'window_height' => '690', 'rotate reverse' => '0', 'Dark threshold' => '0.12', 'pages to scan' => '1', 'resolution' => '300', 'Blank threshold' => '0.005', 'unpaper on scan' => '1', 'libsane-perl version' => '0.03', 'x' => '215.9', 'downsample dpi' => '150', 'window_width' => '1024', 'deskew-scan-direction' => 'left,top', 'threshold tool' => '70', 'unsharp sigma' => '1', 'thumb panel' => '155', 'border-align' => 'left,top', 'unsharp threshold' => '0.05', 'l' => '0', 'SANE version' => '1.0.21', 'no-mask-scan' => '1', 'downsample' => '', 'restore window' => '1', 'batch-scan' => 'no', 'pdf compression' => 'none' }; Found Image::Magick Found ImageMagick Found scanadf Found xdg-email Found gocr Found tesseract Found cuneiform Found cjb2 (djvu) Found unpaper Found libtiff Using /tmp/LsUJLwCuEq for temporary files Using tessdata at /usr/share/tesseract-ocr/tessdata cuneiform -l Cuneiform for Linux 0.7.0 Supported languages: eng ger fra rus swe spa ita ruseng ukr srp hrv pol dan por dut cze rum hun bul slo lav lit est tur. scanimage --formatted-device-list="'%i','%d','%v %m' " 2>/dev/null Forked PID 8081 Waiting to reap process at /usr/bin/gscan2pdf line 4990. Reaped PID -1 '0','genesys:libusb:006:002','Hewlett Packard ScanJet 2300c' $VAR1 = { 'source' => { 'tip' => 'Selects the scan source (such as a document-feeder).', 'default' => 'Flatbed', 'values' => [ 'Flatbed' ] }, 'mode' => { 'tip' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', 'default' => 'Lineart', 'values' => [ 'Color', 'Gray', 'Lineart' ] }, 'extend-lamp-timeout' => { 'tip' => 'Extends lamp timeout (from 15 minutes to 1 hour)', 'default' => 'no', 'values' => [ 'yes', 'no' ] }, 'x' => { 'tip' => 'Width of scan-area.', 'step' => '0.0999908', 'unit' => 'mm', 'min' => '0', 'max' => '215.889', 'default' => '215.889' }, 'l' => { 'tip' => 'Top-left x position of scan area.', 'step' => '0.0999908', 'unit' => 'mm', 'min' => '0', 'max' => '215.889', 'default' => '0' }, 'y' => { 'tip' => 'Height of scan-area.', 'step' => '0.0999908', 'unit' => 'mm', 'min' => '0', 'max' => '297.699', 'default' => '297.699' }, 'preview' => { 'tip' => 'Request a preview-quality scan.', 'default' => 'no', 'values' => [ 'yes', 'no' ] }, 'resolution' => { 'tip' => 'Sets the resolution of the scanned image.', 'unit' => 'dpi', 'default' => '100', 'values' => [ '100', '200', '300', '600', '1200', '2400' ] }, 't' => { 'tip' => 'Top-left y position of scan area.', 'step' => '0.0999908', 'unit' => 'mm', 'min' => '0', 'max' => '297.699', 'default' => '0' }, 'wait-for-button' => { 'tip' => 'Waits for button before scanning', 'default' => 'no', 'values' => [ 'yes', 'no' ] } }; scanimage --help --device-name='genesys:libusb:006:002' --mode='Gray' Forked PID 8084 Waiting to reap process at /usr/bin/gscan2pdf line 8024. Reaped PID -1 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 `genesys:libusb:006:002': Scan Mode: --mode Color|Gray|Lineart [Gray] Selects the scan mode (e.g., lineart, monochrome, or color). --source Flatbed|Transparency Adapter [inactive] Selects the scan source (such as a document-feeder). --preview[=(yes|no)] [no] Request a preview-quality scan. --depth 8|16 [8] Number of bits per sample, typical values are 1 for "line-art" and 8 for multibit scans. --resolution 1200|600|300|150|75dpi [300] Sets the resolution of the scanned image. Geometry: -l 0..215.9mm [0] Top-left x position of scan area. -t 0..295mm [0] Top-left y position of scan area. -x 0..215.9mm [215.9] Width of scan-area. -y 0..295mm [295] Height of scan-area. Enhancement: --custom-gamma[=(yes|no)] [no] Determines whether a builtin or a custom gamma-table should be used. --gamma-table 0..16383,... [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). --red-gamma-table 0..16383,... [inactive] Gamma-correction table for the red band. --green-gamma-table 0..16383,... [inactive] Gamma-correction table for the green band. --blue-gamma-table 0..16383,... [inactive] Gamma-correction table for the blue band. Extras: --lamp-off-time 0..60 [15] The lamp will be turned off after the given time (in minutes). A value of 0 means, that the lamp won't be turned off. --threshold 0..100% (in steps of 1) [inactive] Select minimum-brightness to get a white point --threshold-curve 0..127 (in steps of 1) [inactive] Dynamic threshold curve, from light to dark, normally 50-65 --disable-dynamic-lineart[=(yes|no)] [inactive] Disabel use of a software adaptative algorithm to generate lineart instead of relying on hardware lineart --disable-interpolation[=(yes|no)] [no] When using high resolutions where the horizontal resolution is smaller than the vertical resolution this disables horizontal interpolation. --color-filter Red|Green|Blue [Green] When using gray or lineart this option selects the used color. Sensors: --scan[=(yes|no)] [no] [hardware] Scan button --copy[=(yes|no)] [no] [hardware] Copy button Buttons: --clear-calibration [] Clear calibration cache Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE. List of available devices: genesys:libusb:006:002 $VAR1 = { 'source' => { 'tip' => 'Selects the scan source (such as a document-feeder).', 'default' => 'inactive', 'values' => [ 'Flatbed', 'Transparency Adapter' ] }, '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' => '16383', 'default' => 'inactive' }, 'lamp-off-time' => { 'tip' => 'The lamp will be turned off after the given time (in minutes). A value of 0 means, that the lamp won\'t be turned off.', 'min' => '0', 'max' => '60', 'default' => '15' }, 'clear-calibration' => { 'tip' => 'Clear calibration cache', 'default' => '' }, 'threshold' => { 'tip' => 'Select minimum-brightness to get a white point', 'step' => '1', 'unit' => '%', 'min' => '0', 'max' => '100', 'default' => 'inactive' }, 'disable-dynamic-lineart' => { 'tip' => 'Disabel use of a software adaptative algorithm to generate lineart instead of relying on hardware lineart', 'default' => 'inactive', 'values' => [ 'yes', 'no' ] }, 'mode' => { 'tip' => 'Selects the scan mode (e.g., lineart, monochrome, or color).', 'default' => 'Gray', 'values' => [ 'Color', 'Gray', 'Lineart' ] }, 'red-gamma-table' => { 'tip' => 'Gamma-correction table for the red band.', 'min' => '0', 'max' => '16383', 'default' => 'inactive' }, 'green-gamma-table' => { 'tip' => 'Gamma-correction table for the green band.', 'min' => '0', 'max' => '16383', 'default' => 'inactive' }, 'x' => { 'tip' => 'Width of scan-area.', 'unit' => 'mm', 'min' => '0', 'max' => '215.9', 'default' => '215.9' }, 'custom-gamma' => { 'tip' => 'Determines whether a builtin or a custom gamma-table should be used.', 'default' => 'no', 'values' => [ 'yes', 'no' ] }, 'y' => { 'tip' => 'Height of scan-area.', 'unit' => 'mm', 'min' => '0', 'max' => '295', 'default' => '295' }, 'copy' => { 'tip' => 'Copy button', 'default' => 'hardware', 'values' => [ 'yes', 'no' ] }, 'color-filter' => { 'tip' => 'When using gray or lineart this option selects the used color.', 'default' => 'Green', 'values' => [ 'Red', 'Green', 'Blue' ] }, 't' => { 'tip' => 'Top-left y position of scan area.', 'unit' => 'mm', 'min' => '0', 'max' => '295', 'default' => '0' }, 'blue-gamma-table' => { 'tip' => 'Gamma-correction table for the blue band.', 'min' => '0', 'max' => '16383', 'default' => 'inactive' }, 'depth' => { 'tip' => 'Number of bits per sample, typical values are 1 for "line-art" and 8 for multibit scans.', 'default' => '8', 'values' => [ '8', '16' ] }, 'disable-interpolation' => { 'tip' => 'When using high resolutions where the horizontal resolution is smaller than the vertical resolution this disables horizontal interpolation.', 'default' => 'no', 'values' => [ 'yes', 'no' ] }, 'l' => { 'tip' => 'Top-left x position of scan area.', 'unit' => 'mm', 'min' => '0', 'max' => '215.9', 'default' => '0' }, 'scan' => { 'tip' => 'Scan button', 'default' => 'hardware', 'values' => [ 'yes', 'no' ] }, 'preview' => { 'tip' => 'Request a preview-quality scan.', 'default' => 'no', 'values' => [ 'yes', 'no' ] }, 'threshold-curve' => { 'tip' => 'Dynamic threshold curve, from light to dark, normally 50-65', 'step' => '1', 'min' => '0', 'max' => '127', 'default' => 'inactive' }, 'resolution' => { 'tip' => 'Sets the resolution of the scanned image.', 'unit' => 'dpi', 'default' => '300', 'values' => [ '1200', '600', '300', '150', '75' ] } }; $VAR1 = []; $VAR1 = { 'l' => '0', 'y' => '279', 'Paper size' => 'US Letter', 'mode' => 'Gray', 'resolution' => '300', 'x' => '215.889', 't' => '0' }; rotate facing 0 rotate reverse 0 non-duplex mode rotate_facing 0 rotate_reverse 0 unpaper 1 OCR scanimage --device-name='genesys:libusb:006:002' --mode='Gray' -y 279 -l 0 --resolution='300' -x 215.889 -t 0 --batch --progress --batch-count=1 Forked PID 8088 Scanning 1 pages, incrementing by 1, numbering from 1 Scanning page 1 Scanned page 1. (scanner status = 5) Format is P5 Header is 37 Header suggests 8398992 Expecting 8398992, found 8398992 Importing out1.pnm, format Portable anymap Added /tmp/LsUJLwCuEq/SOmLsJa3cj.pnm at page 1 with resolution 300 Waiting to reap process at /usr/bin/gscan2pdf line 6162. Reaped PID 8088 unpaper --no-blackfilter --border-align left,top --output-pages 1 --no-blurfilter --no-noisefilter --white-threshold 0.9 --layout single --no-mask-scan --no-grayfilter --black-threshold 0.33 --deskew-scan-direction left,top --overwrite --input-file-sequence /tmp/LsUJLwCuEq/SOmLsJa3cj.pnm --output-file-sequence /tmp/LsUJLwCuEq/mwTmeIAae5.pnm ; Forked PID 8090 Processing sheet: /tmp/LsUJLwCuEq/SOmLsJa3cj.pnm -> /tmp/LsUJLwCuEq/mwTmeIAae5.pnm Waiting to reap process at /usr/bin/gscan2pdf line 10566. Reaped PID -1 Forked PID 8097 Defining page at 611.76pt x 790.8pt Adding /tmp/LsUJLwCuEq/mwTmeIAae5.pnm at 300 dpi Process 8097 exited. Exiting via sane_exit -- PDF is split in grayscale https://bugs.launchpad.net/bugs/619187 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs