Brightness setting unaffective when scanning with MFP M177fw
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Incomplete
|
Undecided
|
Unassigned | ||
hplip (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
The scan results from almost all the scan programs (simple-scan, scanimage, hp-scan) are way too light, faded, and missing details when scanning with my MFP M177fw from Linux (Debian 7.8 x86), so I've tried to adjust brightness and contrast settings from the command line, like this:
hp-scan -b -500 -c -10 or this:
scanimage -d hpaio:/
Tried scanning in different modes (Gray and Color) and resolutions (150/300/600), and also compression modes. In color mode neither the contrast, nor the brightness settings had any effect (tried -1000, -500, 0, 500, 1000 and even far out of range). In gray mode the contrast worked, but not the brightness. With turning SANE and other debug switches on, it looks like the command is sent to SANE (even looks accepted), but it has no effect (see logs below).
This might be a problem with the scanner or with the driver, I can't tell. This is my third HP MFP printer, and never had similar problems with hplip scanning.
The output from hp-check is attached (latest hplip as of today, also latest available firmware for printer/scanner), and I can send sample images if necessary. (Showing the lack of difference)
The output from hp-scan:
HP Linux Imaging and Printing System (ver. 3.15.2)
Scan Utility ver. 2.2
Copyright (c) 2001-15 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
hp-scan[26965]: debug: getDeviceUri(None, None, ['hpaio'], {'scan-type': (<built-in function gt>, 0)}, , True)
hp-scan[26965]: debug: Mode=0
hp-scan[26965]: debug: Cache miss: hp_color_
hp-scan[26965]: debug: Reading file: /usr/share/
hp-scan[26965]: debug: Searching for section [hp_color_
hp-scan[26965]: debug: Found section [hp_color_
hp-scan[26965]: debug: {'hpaio:
Using device: hpaio:/
warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/
Opening connection to device...
hp-scan[26965]: debug: Supported source Options: ['Flatbed', 'ADF'] size=2
hp-scan[26965]: debug: Device supported resolutions [75, 100, 150, 200, 300, 600, 1200]
Resolution: 300dpi
Mode: gray
Compression: JPEG
Contrast: 10
Brightness: -1000
Scan area (mm):
Top left (x,y): (0.000000mm, 0.000000mm)
Bottom right (x,y): (215.899994mm, 296.925995mm)
Width: 215.899994mm
Height: 296.925995mm
Destination(s): file
Output file:
hp-scan[26965]: debug: Supported modes: ['lineart', 'gray', 'color'] size=3
warning: File destination enabled with no output file specified.
Setting output format to PNG for greyscale mode.
warning: Defaulting to '/fhome/
Warming up...
Scanning...
hp-scan[26965]: debug: expected_bytes = 8936794
hp-scan[26965]: debug: format=0
hp-scan[26965]: debug: Expecting to read 8.5 MB from scanner.
hp-scan[26965]: debug: format_name=gray
hp-scan[26965]: debug: last_frame=1
hp-scan[26965]: debug: ppl=2549
hp-scan[26965]: debug: lines=3506
hp-scan[26965]: debug: depth=8
hp-scan[26965]: debug: bpl=2549
hp-scan[26965]: debug: byte_format=RGBA
hp-scan[26965]: debug: pad_bytes=0
hp-scan[26965]: debug: Gray Read 2549 bytes
hp-scan[26965]: debug: Gray Read 5098 bytes
...
hp-scan[26965]: debug: Gray Read 8934245 bytes
hp-scan[26965]: debug: Gray Read 8936794 bytes
hp-scan[26965]: debug: Scan thread exiting...
Read 8.5 MB from scanner.
hp-scan[26965]: debug: PPL=2549 lines=3506 depth=8 BPL=2549 pad=0 total_read=8936794 total_write=
Closing device.
Outputting to destination 'file':
Saving to file /fhome/
Done.
affects: | ubuntu → hplip (Ubuntu) |
Hi Zoltan,
Thank you for reporting this issue. We will try and reproduce the same here.
Can you confirm the same behavior on xsane application ?
Rgds,
goutam