Scanning from a Duplex source from 276dw doesn't return the full amount of data

Bug #1656343 reported by Dmitry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
In Progress
Undecided
Unassigned

Bug Description

Using Ubuntu 16.04 32-bit
HPLIP 3.16.5
HP 276dw
Custom SANE-based scan utility (libSANE+Qt just for image manipulation, attached)

I am able to scan from a Duplex source. sane_get_parameters() reports that the image parameters are:

bytes_per_line: 1911
pixels_per_line: 637
lines: 1050

So I expect 1911*1050 = 2'006'550 bytes from the scanner for a single page. However after reporting SANE_STATUS_EOF I have only 1'589'952 bytes stored in a buffer.

The same app works just fine with Epson scanners.

Revision history for this message
Dmitry (dmitrymq) wrote :
Revision history for this message
kritika arora (kritika-arora1) wrote :

Hi ,

Please download the latest hplip-3.15.11.run file from: http://hplipopensource.com/hplip-web/gethplip.html.

Run command 'sh hplip-3.15.11.run' in terminal to re-install the hplip package as some of the dependencies are not installed.

Write back if the issue continues.

Thanks,
kritika

Changed in hplip:
status: New → In Progress
Revision history for this message
Dmitry (dmitrymq) wrote :

Hi. I've installed 3.16.11 from Zesty (http://packages.ubuntu.com/zesty/hplip , recompiled with debuild) with no luck, the error is the same.

>as some of the dependencies are not installed

Which dependencies do I need to install?

Revision history for this message
kritika arora (kritika-arora1) wrote :

Hi,

Regret the delay in response.

You are requested to include the below mentioned line of code in main.cpp.

params.lines = total/params.bytes_per_line; just before image() function call.

as the default calculated values of length and width are taken as maximum, which is making the scanned image uneven.

Thanks,
kritika

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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