m1212nf only scans first page using ADF. Errors after that

Bug #653391 reported by Erin
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
HPLIP
Fix Released
Undecided
Unassigned
hplip (Fedora)
Confirmed
Undecided
Unassigned

Bug Description

I have put the info in my question here:
https://answers.launchpad.net/hplip/+question/126985

I am currently running HPLIP 3.10.6

According to the release information for HPLIP 3.10.5, it is supposed to support ADF and flatbed scanning, but I am unable to get it working correctly.

Revision history for this message
Naga Samrat Chowdary, Narla (samrat-hplip) wrote :

This is a bug in HPLIP. This issue will get fix in next coming releases.

Thanks,
Naga Samrat Chowdary, Narla

Changed in hplip:
status: New → Confirmed
Revision history for this message
Erin (tuxgirl) wrote :

great! Is there someplace I can follow the issue, or see approximately when the next release is expected? I didn't see it listed anywhere else. It looks like releases happen every 2-3 months. I would be willing to help test this issue if needed, so that a fix can go out soon.

Thanks!
~Erin

Revision history for this message
Adam Williamson (awilliamson) wrote :

Same problem here (Fedora 14). Batch scanning is just about the main reason I bought this machine, so it not working is a really big problem. I was careful to check via HP's website that this was listed as supported in Linux before I bought the printer, and the printer is even listed as 'recommended' for Linux. I'd really appreciate it if you could fix this soon, or else I will have to consider returning the printer.

Revision history for this message
Erin (tuxgirl) wrote :

Adam:
That was my problem as well. I'm hoping to at least get an update on when the next release will occur, but I haven't heard anything.

Revision history for this message
Erin (tuxgirl) wrote :

I noticed that the newest version of hplip was released a couple days after Naga's correspondence, so I updated, but I am still having the same problems (this one and the backwards scan) with version 3.10.9. Why is this listed in the documentation as supported when it doesn't work?

Revision history for this message
Erin (tuxgirl) wrote :

(from the supported printers page for the laserjet pro m1212nf):

Item Description
Minimum HPLIP version 3.10.4
Support level Full (See note11.)
Recommended? Yes (See note15.)

15"Recommended" means that the printer is fully supported in HPLIP and is recommended for use on your Linux system. For information of what "fully supported" means, see this KB article.

"Full":
All device functions and features which are available from HPLIP are supported, provided your device supports these features. HP personnel monitor Launchpad forum posts and attempt (but cannot guarantee) to answer questions posted for this support class.
See this KB article for full list of HPLIP features.

In the list of HPLIP features:
Automatic document feeder (ADF) scanning.

Like Adam, I researched this printer before purchasing. I checked to make sure that the scanner and the ADF was listed as supported, and had it not been supported, I would not have purchased the printer. Thus, it was somewhat frustrating when, once I started reporting problems, I was told that they were recognized bugs. I understand that open-source software is written by volunteers, and that not everything will be supported perfectly. I just would like to suggest that until these bugs can be fixed, the printer should probably not be listed as fully supported, to prevent others from buying the printer and then being surprised by the problems.

Revision history for this message
Erin (tuxgirl) wrote :

any update?

Revision history for this message
Naga Samrat Chowdary, Narla (samrat-hplip) wrote :

Fix for this issue will be available in the next release of HPLIP.

Thanks,
Naga Samrat Chowdary, Narla

Changed in hplip:
status: Confirmed → Triaged
status: Triaged → In Progress
status: In Progress → Fix Committed
Revision history for this message
Divij (divijtaneja) wrote :

Facing the same problem on the 3.10.9 on Ubuntu 9.10 / 10.4 / 10.10

Is there a file such as the hp.conf (etc/sane.d) or another wherein editing or uncommenting a line or two can serve as a temp quick fix?

Revision history for this message
Adam Williamson (awilliamson) wrote :

Naga, I see hplip 3.11.1 is out, but there's no specific mention of this bug in the changelog. Is it fixed in this release? Thanks!

Revision history for this message
Adam Williamson (awilliamson) wrote :

I just tested with 3.11.1, in current Fedora Rawhide, and the bug is still present:

[adamw@adam tmp]$ scanimage -d "hpaio:/net/HP_LaserJet_Professional_M1212nf_MFP?ip=192.168.1.50" -v --batch --format=tiff --mode Gray --source ADF
Scanning -1 pages, incrementing by 1, numbering from 1
Scanning page 1
scanimage: scanning image 620 pixels wide and variable height at 8 bits/pixel
scanimage: acquiring gray frame
scanimage: min/max graylevel value = 36/255
scanimage: read 510260 bytes in total
Scanned page 1. (scanner status = 5)
Scanning page 2
scanimage: scanning image 620 pixels wide and variable height at 8 bits/pixel
scanimage: acquiring gray frame
scanimage: min/max graylevel value = 255/0
scanimage: sane_read: Error during device I/O
Scanned page 2. (scanner status = 9)
[adamw@adam tmp]$ rpm -q hplip
hplip-3.11.1-1.fc15.x86_64

Changed in hplip:
status: Fix Committed → Confirmed
Revision history for this message
Adam Williamson (awilliamson) wrote :

I do see "- ADF scan support for HP LaserJet Pro{M1212nf, M1213nf, M1217nfw} MFP devices" in the changelog now, actually, but as I wrote, still hitting the bug.

I think one thing may have changed - the error doesn't completely break usage of the printer until the next reboot, as it used to. You can try the multi-page scan over and over and just get the same error, and you can do a single-page scan, or a print, and it will work. But the ADF scan still never works, no matter how much you try :(

Revision history for this message
Adam Williamson (awilliamson) wrote :

oh, and in case you wondered, yes, libsane-hpaio is updated:

libsane-hpaio-3.11.1-1.fc15.x86_64

Revision history for this message
Adam Williamson (awilliamson) wrote :

Tim Waugh suggesting testing with SANE_DEBUG_HPAIO=255. Here's the result. It scans page 1 correctly, then on page 2:

scanimage: min/max graylevel value = 26/255
scanimage: read 509640 bytes in total
Scanned page 1. (scanner status = 5)
Scanning page 2
[hpaio] scan/sane/marvell.c 833: sane_hpaio_start()
[hpaio] scan/sane/marvell.c 819: sane_hpaio_get_parameters(): format=0,
last_frame=1, lines=-1, depth=8, pixels_per_line=620, bytes_per_line=620
scanimage: scanning image 620 pixels wide and variable height at 8 bits/pixel
scanimage: acquiring gray frame
[hpaio] scan/sane/marvell.c 947: sane_hpaio_read() handle=0x20c9110
data=0x21ac670 maxLength=32768
[hpaio] scan/sane/marvell.c 953: ipConvert error=10
[hpaio] scan/sane/marvell.c 974: -sane_hpaio_read() output=0x21ac670
bytes_read=0 maxLength=32768 status=9
scanimage: min/max graylevel value = 255/0
scanimage: sane_read: Error during device I/O
Scanned page 2. (scanner status = 9)
[hpaio] scan/sane/marvell.c 983: sane_hpaio_cancel()
[hpaio] scan/sane/marvell.c 541: sane_hpaio_close()
[hpaio] sane_hpaio_exit(): scan/sane/hpaio.c 1607

Revision history for this message
Yash (yashwant-k-sahu) wrote :

I hope you have installed the latest plug-in also.
Please remove the printer, Add the printer again. And also install the plug-in files.

Thanks and Regards
Yashwant

Revision history for this message
Naga Samrat Chowdary, Narla (samrat-hplip) wrote :

Sorry for inconvenience caused due to this !!!
Patch for this issue can be available in the next release of HP LIP.

Thanks for your patience !!!
Naga Samrat Chowdary, Narla

Changed in hplip:
status: Confirmed → Fix Committed
Changed in hplip (Fedora):
status: New → Confirmed
Revision history for this message
Adam Williamson (awilliamson) wrote :

I see 11.3 and 11.3a have come out since Naga posted the above, but there is no mention of this issue in the changelog. is it fixed in those releases?

Revision history for this message
Adam Williamson (awilliamson) wrote :

trying with 3.11.3, my first attempt failed because the pages weren't stuck into the ADF hard enough - "Document feeder out of documents". after I pushed them in so the LCD says 'Document loaded' and tried again, all subsequent attempts give "Error during device I/O" , it never manages to connect to the device at all, seems like. I can ping the printer's IP just fine.

[adamw@adam concordance (f14)]$ SANE_DEBUG_HPAIO=255 scanimage -d "hpaio:/net/HP_LaserJet_Professional_M1212nf_MFP?ip=192.168.1.50" -v --batch --format=tiff --mode Gray --source ADF
[sanei_debug] Setting debug level of hpaio to 255.
[hpaio] sane_hpaio_init(): scan/sane/hpaio.c 1594
[hpaio] scan/sane/marvell.c 378: sane_hpaio_open(/net/HP_LaserJet_Professional_M1212nf_MFP?ip=192.168.1.50)
scanimage: open of device hpaio:/net/HP_LaserJet_Professional_M1212nf_MFP?ip=192.168.1.50 failed: Error during device I/O
[hpaio] sane_hpaio_exit(): scan/sane/hpaio.c 1607
[adamw@adam concordance (f14)]$

Revision history for this message
Jason McVetta (jmcvetta) wrote :

Using 3.11.3 I am now able to scan documents using ADF. Also, scanning in color now works.

Thanks for the fix, Naga!

Revision history for this message
Adam Williamson (awilliamson) wrote :

Huh, interesting - guess I'll try again.

Revision history for this message
Yash (yashwant-k-sahu) wrote :

Adam, Can you please remove the device from HPLIP and add it again. While adding device, it will install the latest plugin also.
Thanks for contacting HPLIP
Yashwant

Changed in hplip:
status: Fix Committed → Fix Released
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.