I scanned the same document with Simple Scan and had no trouble
producing a grayscale image. I'm no expert, but that seems to rule out
HPLIP as being the problem.

I just did the same scan with XSane to be sure it was gray (SimpleScan
doesn't specify between gray and B&W) and produced a perfect scan.

Here's the gscan2pdf output:

          undef,
          {
            'cap' => 0,
            'unit' => 0,
            'max_values' => 0,
            'desc' => '',
            'title' => 'Scan Mode',
            'type' => 5,
            'constraint_type' => 0
          },
          {
            'cap' => 5,
            'max_values' => 1,
            'name' => 'mode',
            'val' => 'Gray',
            'unit' => 0,
            'desc' => 'Selects the scan mode (e.g., lineart, monochrome, or 
color).',
            'constraint' => [
                              'Color',
                              'Gray',
                              'Lineart'
                            ],
            'type' => 3,
            'title' => 'Scan mode',
            'constraint_type' => 3
          },
          {
            'cap' => 37,
            'max_values' => 1,
            'name' => 'source',
            'val' => undef,
            'unit' => 0,
            'desc' => 'Selects the scan source (such as a document-feeder).',
            'constraint' => [
                              'Flatbed',
                              'Transparency Adapter'
                            ],
            'type' => 3,
            'title' => 'Scan source',
            'constraint_type' => 3
          },
          {
            'cap' => 5,
            'max_values' => 1,
            'name' => 'preview',
            'val' => 0,
            'unit' => 0,
            'desc' => 'Request a preview-quality scan.',
            'type' => 0,
            'title' => 'Preview',
            'constraint_type' => 0
          },
          {
            'cap' => 5,
            'max_values' => 1,
            'name' => 'depth',
            'val' => 8,
            'unit' => 0,
            'desc' => 'Number of bits per sample, typical values are 1 for 
"line-art" and 8 for multibit scans.',
            'constraint' => [
                              8,
                              16
                            ],
            'type' => 1,
            'title' => 'Bit depth',
            'constraint_type' => 2
          },
          {
            'cap' => 5,
            'max_values' => 1,
            'name' => 'resolution',
            'val' => 300,
            'unit' => 4,
            'desc' => 'Sets the resolution of the scanned image.',
            'constraint' => [
                              1200,
                              600,
                              300,
                              150,
                              75
                            ],
            'type' => 1,
            'title' => 'Scan resolution',
            'constraint_type' => 2
          },
          {
            'cap' => 64,
            'unit' => 0,
            'max_values' => 0,
            'desc' => '',
            'title' => 'Geometry',
            'type' => 5,
            'constraint_type' => 0
          },
          {
            'cap' => 5,
            'max_values' => 1,
            'name' => 'tl-x',
            'val' => 0,
            'unit' => 3,
            'desc' => 'Top-left x position of scan area.',
            'constraint' => {
                              'min' => 0,
                              'max' => '215.899993896484',
                              'quant' => 0
                            },
            'type' => 2,
            'title' => 'Top-left x',
            'constraint_type' => 1
          },
          {
            'cap' => 5,
            'max_values' => 1,
            'name' => 'tl-y',
            'val' => 0,
            'unit' => 3,
            'desc' => 'Top-left y position of scan area.',
            'constraint' => {
                              'min' => 0,
                              'max' => 295,
                              'quant' => 0
                            },
            'type' => 2,
            'title' => 'Top-left y',
            'constraint_type' => 1
          },
          {
            'cap' => 5,
            'max_values' => 1,
            'name' => 'br-x',
            'val' => '215.899993896484',
            'unit' => 3,
            'desc' => 'Bottom-right x position of scan area.',
            'constraint' => {
                              'min' => 0,
                              'max' => '215.899993896484',
                              'quant' => 0
                            },
            'type' => 2,
            'title' => 'Bottom-right x',
            'constraint_type' => 1
          },
          {
            'cap' => 5,
            'max_values' => 1,
            'name' => 'br-y',
            'val' => 279,
            'unit' => 3,
            'desc' => 'Bottom-right y position of scan area.',
            'constraint' => {
                              'min' => 0,
                              'max' => 295,
                              'quant' => 0
                            },
            'type' => 2,
            'title' => 'Bottom-right y',
            'constraint_type' => 1
          },
          {
            'cap' => 64,
            'unit' => 0,
            'max_values' => 0,
            'desc' => '',
            'title' => 'Enhancement',
            'type' => 5,
            'constraint_type' => 0
          },
          {
            'cap' => 69,
            'max_values' => 1,
            'name' => 'custom-gamma',
            'val' => 0,
            'unit' => 0,
            'desc' => 'Determines whether a builtin or a custom gamma-table 
should be used.',
            'type' => 0,
            'title' => 'Use custom gamma table',
            'constraint_type' => 0
          },
          {
            'cap' => 101,
            'max_values' => 16384,
            'name' => 'gamma-table',
            'val' => undef,
            'unit' => 0,
            '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).',
            'constraint' => {
                              'min' => 0,
                              'max' => 16383,
                              'quant' => 0
                            },
            'type' => 1,
            'title' => 'Image intensity',
            'constraint_type' => 1
          },
          {
            'cap' => 101,
            'max_values' => 16384,
            'name' => 'red-gamma-table',
            'val' => undef,
            'unit' => 0,
            'desc' => 'Gamma-correction table for the red band.',
            'constraint' => {
                              'min' => 0,
                              'max' => 16383,
                              'quant' => 0
                            },
            'type' => 1,
            'title' => 'Red intensity',
            'constraint_type' => 1
          },
          {
            'cap' => 101,
            'max_values' => 16384,
            'name' => 'green-gamma-table',
            'val' => undef,
            'unit' => 0,
            'desc' => 'Gamma-correction table for the green band.',
            'constraint' => {
                              'min' => 0,
                              'max' => 16383,
                              'quant' => 0
                            },
            'type' => 1,
            'title' => 'Green intensity',
            'constraint_type' => 1
          },
          {
            'cap' => 101,
            'max_values' => 16384,
            'name' => 'blue-gamma-table',
            'val' => undef,
            'unit' => 0,
            'desc' => 'Gamma-correction table for the blue band.',
            'constraint' => {
                              'min' => 0,
                              'max' => 16383,
                              'quant' => 0
                            },
            'type' => 1,
            'title' => 'Blue intensity',
            'constraint_type' => 1
          },
          {
            'cap' => 64,
            'unit' => 0,
            'max_values' => 0,
            'desc' => '',
            'title' => 'Extras',
            'type' => 5,
            'constraint_type' => 0
          },
          {
            'cap' => 5,
            'max_values' => 1,
            'name' => 'lamp-off-time',
            'val' => 15,
            'unit' => 0,
            'desc' => '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.',
            'constraint' => {
                              'min' => 0,
                              'max' => 60,
                              'quant' => 0
                            },
            'type' => 1,
            'title' => 'Lamp off time',
            'constraint_type' => 1
          },
          {
            'cap' => 37,
            'max_values' => 1,
            'name' => 'threshold',
            'val' => undef,
            'unit' => 5,
            'desc' => 'Select minimum-brightness to get a white point',
            'constraint' => {
                              'min' => 0,
                              'max' => 100,
                              'quant' => 1
                            },
            'type' => 2,
            'title' => 'Threshold',
            'constraint_type' => 1
          },
          {
            'cap' => 37,
            'max_values' => 1,
            'name' => 'threshold-curve',
            'val' => undef,
            'unit' => 0,
            'desc' => 'Dynamic threshold curve, from light to dark, normally 
50-65',
            'constraint' => {
                              'min' => 0,
                              'max' => 127,
                              'quant' => 1
                            },
            'type' => 1,
            'title' => 'Threshold curve',
            'constraint_type' => 1
          },
          {
            'cap' => 37,
            'max_values' => 1,
            'name' => 'disable-dynamic-lineart',
            'val' => undef,
            'unit' => 0,
            'desc' => 'Disabel use of a software adaptative algorithm to 
generate lineart instead of relying on hardware lineart',
            'type' => 0,
            'title' => 'Disable dynamic lineart',
            'constraint_type' => 0
          },
          {
            'cap' => 5,
            'max_values' => 1,
            'name' => 'disable-interpolation',
            'val' => 0,
            'unit' => 0,
            'desc' => 'When using high resolutions where the horizontal 
resolution is smaller than the vertical resolution this disables horizontal 
interpolation.',
            'type' => 0,
            'title' => 'Disable interpolation',
            'constraint_type' => 0
          },
          {
            'cap' => 5,
            'max_values' => 1,
            'name' => 'color-filter',
            'val' => 'Green',
            'unit' => 0,
            'desc' => 'When using gray or lineart this option selects the used 
color.',
            'constraint' => [
                              'Red',
                              'Green',
                              'Blue'
                            ],
            'type' => 3,
            'title' => 'Color Filter',
            'constraint_type' => 3
          },
          {
            'cap' => 5,
            'max_values' => 1,
            'name' => 'sensors',
            'val' => undef,
            'unit' => 0,
            'desc' => 'Scanner sensors and buttons',
            'type' => 5,
            'title' => 'Sensors',
            'constraint_type' => 0
          },
          {
            'cap' => 70,
            'max_values' => 1,
            'name' => 'scan',
            'val' => 0,
            'unit' => 0,
            'desc' => 'Scan button',
            'type' => 0,
            'title' => 'Scan button',
            'constraint_type' => 0
          },
          {
            'cap' => 32,
            'unit' => 0,
            'max_values' => 1,
            'desc' => 'File button',
            'name' => 'file',
            'title' => 'File button',
            'type' => 0,
            'constraint_type' => 0
          },
          {
            'cap' => 32,
            'unit' => 0,
            'max_values' => 1,
            'desc' => 'Email button',
            'name' => 'email',
            'title' => 'Email button',
            'type' => 0,
            'constraint_type' => 0
          },
          {
            'cap' => 70,
            'max_values' => 1,
            'name' => 'copy',
            'val' => 0,
            'unit' => 0,
            'desc' => 'Copy button',
            'type' => 0,
            'title' => 'Copy button',
            'constraint_type' => 0
          },
          {
            'cap' => 32,
            'unit' => 0,
            'max_values' => 1,
            'desc' => 'Page loaded',
            'name' => 'page-loaded',
            'title' => 'Page loaded',
            'type' => 0,
            'constraint_type' => 0
          },
          {
            'cap' => 32,
            'unit' => 0,
            'max_values' => 1,
            'desc' => 'OCR button',
            'name' => 'ocr',
            'title' => 'OCR button',
            'type' => 0,
            'constraint_type' => 0
          },
          {
            'cap' => 32,
            'unit' => 0,
            'max_values' => 1,
            'desc' => 'Power button',
            'name' => 'power',
            'title' => 'Power button',
            'type' => 0,
            'constraint_type' => 0
          },
          {
            'cap' => 32,
            'unit' => 0,
            'max_values' => 1,
            'desc' => 'The scanner needs calibration for the current settings',
            'name' => 'need-calibration',
            'title' => 'Need calibration',
            'type' => 0,
            'constraint_type' => 0
          },
          {
            'cap' => 5,
            'max_values' => 1,
            'name' => 'Buttons',
            'val' => undef,
            'unit' => 0,
            'desc' => '',
            'type' => 5,
            'title' => 'Buttons',
            'constraint_type' => 0
          },
          {
            'cap' => 32,
            'unit' => 0,
            'max_values' => 1,
            'desc' => 'Start calibration using special sheet',
            'name' => 'calibrate',
            'title' => 'Calibrate',
            'type' => 4,
            'constraint_type' => 0
          },
          {
            'cap' => 85,
            'unit' => 0,
            'max_values' => 1,
            'desc' => 'Clear calibration cache',
            'name' => 'clear-calibration',
            'title' => 'Clear calibration',
            'type' => 4,
            'constraint_type' => 0
          }
        ];
$VAR1 = [];
rotate facing 0
rotate reverse 0
non-duplex mode
rotate_facing 0
rotate_reverse 0
unpaper 1
OCR 
Running sane_start for SANE_Handle 208295040
Getting parameters for SANE_Handle 208295040
gscan2pdf: scanning image of size 2549x3295 pixels at 8 bits/pixel
gscan2pdf: acquiring gray frame
gscan2pdf: min/max graylevel value = 48/255
gscan2pdf: read 8398955 bytes in total
Scanned page /tmp/ydrTi7mTQj/out1.pnm. (scanner status = 5)
importing scan with resolution=300
Format is P5
Header is 37
Header suggests 8398992
Expecting 8398992, found 8398992
Importing /tmp/ydrTi7mTQj/out1.pnm, format Portable anymap
Added /tmp/ydrTi7mTQj/ZWUYJ_boWj.pnm at page 1 with resolution 300
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/ydrTi7mTQj/ZWUYJ_boWj.pnm 
--output-file-sequence /tmp/ydrTi7mTQj/S009gVccLz.pnm ;
Forked PID 4317
Processing sheet: /tmp/ydrTi7mTQj/ZWUYJ_boWj.pnm -> 
/tmp/ydrTi7mTQj/S009gVccLz.pnm
Waiting to reap process at /usr/bin/gscan2pdf line 10566.
Reaped PID -1
Forked PID 4323
Defining page at 611.76pt x 790.8pt
Adding /tmp/ydrTi7mTQj/S009gVccLz.pnm at 300 dpi
Process 4323 exited.
Closing SANE_Handle 208295040
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to