Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427972 - net-print/hplip - Scanning with hplip fails: Invalid argument
Summary: net-print/hplip - Scanning with hplip fails: Invalid argument
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
Depends on:
Reported: 2012-07-25 01:32 UTC by Julian Pietron
Modified: 2013-10-13 16:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

Output of emerge --info (emerge-info.txt,5.22 KB, text/plain)
2012-07-25 01:32 UTC, Julian Pietron

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Pietron 2012-07-25 01:32:37 UTC
Created attachment 319160 [details]
Output of emerge --info

Since some time (I'm afraid I don't know exactly since when, but it must be 3-4 months at maximum) scanning from an ethernet-connected HP Color LaserJet CM1312nfi has ceased to work. This multifunction printing/scanning/faxing device is driven by hplip and the binary plugin, and used to work properly with all functionality expected. 
Now, trying to scan with either xsane or skanlite fails, while using the respective HP-utility from hplip (hp-scan) works. The error outputted by xsane and skanlite is "Invalid argument". Downgrading to sane-backends-1.0.19-r2 and hplip-3.11.10 resulted in the error changing to "Device I/O-Error". Any other combination of a more recent hplip (3.12.x) and sane-backends yielded the forementioned "Invalid argument" error. What does work is acquiring a preview scan in skanlite as well as in xsane, but as soon as one clicks the "Scan" button, the "Invalid argument" error is thrown. It does not matter how the scan is set up, the error occurrs for gray as well as colored scans for any resolution possible.
The only error that hp-check -b gives is that xsane was missing (but it is installed and can be executed, just doesn't work properly because of the error above).

emerge --info is attached.
Comment 1 Daniel Pielmeier gentoo-dev 2012-07-26 18:23:33 UTC
If you are able to scan hp-scan it seems xsane and skanlite do not get along with changes in hplip.

It is probably worth to open a bug about this upstream at anyway. Can you please do so and report the bug number here?
Comment 2 Julian Pietron 2012-07-26 20:35:51 UTC
The bug is filed at .
Comment 3 Daniel Pielmeier gentoo-dev 2012-07-27 15:18:12 UTC
Thank you!
Comment 4 Daniel Pielmeier gentoo-dev 2012-11-13 18:44:02 UTC
Xsane works fine here with a HP Photosmart 6510 (no plugin needed).

Can you try upgrading to the latest version of hplip-3.12.10a (do not forget to upgrade the binray plugin as well). Then restart cups, delete and re-configure all printer queues. Please report back if this fixes the problem.
Comment 5 Daniel Pielmeier gentoo-dev 2013-10-13 16:35:45 UTC
Still a problem with hplip-3.13.9?