Scanning via xsane or skanlite results in 'Invalid Argument' error

Bug #1029641 reported by Julian Pietron
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned
Gentoo Linux
Unknown
Medium

Bug Description

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".
The distribution this occurs on is Gentoo GNU/Linux, the respective software versions are: sane-backends 1.0.22, hplip 3.12.6, xsane 0.998, skanlite 0.8.

Downgrading to sane-backends-1.0.19 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).

If I can be of help providing more information, don't hesitate to ask.

The bug is also filed in the Gentoo Bug Tracker here: https://bugs.gentoo.org/show_bug.cgi?id=427972 .

hp-check-Output is attached. As far as I can see, the only problem is that xsane isn't detected (but it is installed on my system).

Revision history for this message
In , Julian Pietron (julian-whisper-net) wrote :

Created attachment 319160
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.

Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

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 https://bugs.launchpad.net/hplip anyway. Can you please do so and report the bug number here?

Revision history for this message
Julian Pietron (julian-whisper-net) wrote :
Revision history for this message
In , Julian Pietron (julian-whisper-net) wrote :
Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

Thank you!

Changed in gentoo:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
John Bowling (johnlb2002) wrote :

I have the same problem with openSUSE 12.1 and an HP_LaserJet_M1212nf_MPF.

I did get good results from 'Simple Scan', with both one page on the scan surface and multiple pages in the feeder.
It will display the pages as they scan, and you can then copy them individually to files.
I believe it goes direct to the scanner connection (which I have as LAN) and bypasses the HPLIP.

Error notice with XSane started with 'Scan' from HPLIP Device Manager or from the system (KDE3) menu:

HPLIP Device Status
HP_LaserJet_Professional_M1212nf_MFP
Printer (000000000QJ51YACSl1c)
Device Communication error (5012)

Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

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.

Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

Still a problem with hplip-3.13.9?

Changed in gentoo:
status: New → Unknown
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.