scan.py assumes printer has 'Flatbed' source. Printer only has 'Auto' and 'ADF'
Bug #1280438 reported by
comtek_it
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned |
Bug Description
scan.py from hplip-3.14.1 sets our HP 2840 to ADF mode, even when ADF is not specified.
This seems to be due to the line:
if 'Flatbed' not in source_option and 'ADF' in source_option:
Reverting to:
if len(source_option) == 1 and 'ADF' in source_option:
fixes it (although of course we get an error 'error: Unable to set option source to value Flatbed' when doing non-ADF scans.
The printers in question only have "Auto" and "ADF" in source_option.
To post a comment you must log in.
Please do the following steps.
- Open /usr/share/ hplip/data/ models/ models. dat file in root mode. laserjet_ 2840] section. Change scan-src=1 to scan-src=3.
- Search for [hp_color_
- Save the file.
- Now run hp-scan or xsane.
Please inform us your result.