Public bug reported:

Ubuntu 16.04.1
Xsane .999
Scanner is All-in-1 HP Photosmart 6520
Scanning function operates normally when the scan mode in the main window is 
set at either Color or Gray. With scan mode at Lineart, the "Preview" function 
shows the complete document, but when "Scan" is selected the scan bar travels a 
very short distance and returns to its normal docking position. The resultant 
image shows only the top 5-10% of the document. The window left of the "Scan" 
button, showing the size of the image, always shows 1MB for the Lineart scan, 
but 24 MB for a Color scan (either PNG or JPEG).

Output of:
$ hp-scan -m lineart -r 100 -o tempa.png
HP Linux Imaging and Printing System (ver. 3.16.3)
Scan Utility ver. 2.2

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Using device hpaio:/usb/Photosmart_6520_series?serial=TH32B1109805TZ
Opening connection to device...

Resolution: 100dpi
Mode: lineart
Compression: JPEG
Scan area (mm):
Top left (x,y): (0.000000mm, 0.000000mm)
Bottom right (x,y): (215.900009mm, 297.010681mm)
Width: 215.900009mm
Height: 297.010681mm
Destination(s): file
Output file: /home/bill/tempa.png

Warming up...

Scanning...
Reading data: [************************************************** 
************************************************** 
*********************************] 100% 122.2 KB
Read 122.2 KB from scanner.
error: Did not read enough data from scanner (I/O Error?)
Closing device.
END

Note that there is no file generated for "tempa.png".
Also, the above command for mode gray or color successfully scans the entire 
document.

Lastly, the output of the following terminal command successfully scans
the complete document for modes lineart, color, and gray:

$ scanimage -d hpaio:/usb/Photosmart_6520_series?serial=TH32B1109805TZ
--resolution 300 --mode lineart -x 215 -y 295 > filename.pbm

Bill

** Affects: xsane (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: lineart xsane

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1628150

Title:
  Xsane will not scan complete document in "lineart" mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xsane/+bug/1628150/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to