Scanning doesn't work. error: No data read.

Asked by Martins Pukitis on 2020-01-22

1. Your Linux Distribution and version.
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.10
2. Your printer make/model.
HP LaserJet 2840
3. If possible, run 'hp-check -t' and post the output.
4. A detailed explanation of your problem.
Console log:
lieta@PC:~/Downloads/hplip-3.19.12$ hp-scan hpaio:/net/HP_Color_LaserJet_2840?zc=NPI269545 -g

HP Linux Imaging and Printing System (ver. 3.19.6)
Scan Utility ver. 2.2

Copyright (c) 2001-18 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.

warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/net/HP_Color_LaserJet_2840?zc=NPI269545
Opening connection to device...
error: Unable to set option source to value Flatbed

Resolution: 300dpi
Mode: gray
Compression: JPEG
Scan area (mm):
  Top left (x,y): (0.000000mm, 0.000000mm)
  Bottom right (x,y): (228.599991mm, 381.000000mm)
  Width: 228.599991mm
  Height: 381.000000mm
Destination(s): file
Output file:
warning: File destination enabled with no output file specified.
Setting output format to PNG for greyscale mode.
warning: Defaulting to '/home/lieta/Downloads/hplip-3.19.12/hpscan001.png'.

Warming up...

Scanning...
Reading data: [\ ] 0%
error: No data read.
Closing device.

5. Steps to recreate the problem.
hp-scan hpaio:/net/HP_Color_LaserJet_2840?zc=NPI269545 -g

Question information

Language:
English Edit question
Status:
Open
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
2020-01-22
Last reply:
Martins Pukitis (lieta) said : #1

Output of journalctl -xe:
...
jan 22 14:37:00 PC /hp-scan[15227]: hp-scan[15227]: warning: No destinations specified. Adding 'file' destination by default.
jan 22 14:37:09 PC /hp-scan[15227]: io/hpmud/pml.c 348: SetPml failed ret=12
jan 22 14:37:18 PC /hp-scan[15227]: io/hpmud/pml.c 348: SetPml failed ret=12
jan 22 14:37:26 PC /hp-scan[15227]: io/hpmud/pml.c 348: SetPml failed ret=12
jan 22 14:37:31 PC /hp-scan[15227]: io/hpmud/pml.c 444: GetPml failed ret=12
jan 22 14:37:31 PC /hp-scan[15227]: hp-scan[15227]: error: Unable to set option source to value Flatbed
jan 22 14:37:31 PC /hp-scan[15227]: hp-scan[15227]: warning: File destination enabled with no output file specified.
jan 22 14:37:31 PC /hp-scan[15227]: hp-scan[15227]: warning: Defaulting to '/home/lieta/Downloads/hplip-3.19.12/hpscan001.png'.
jan 22 14:37:32 PC /hp-scan[15227]: sane_hpaio_read(maxLength=2699): No scan pending!
jan 22 14:37:32 PC /hp-scan[15227]: hp-scan[15227]: error: No data read.
jan 22 14:37:39 PC /hp-scan[15227]: io/hpmud/pml.c 348: SetPml failed ret=12

Can you help with this problem?

Provide an answer of your own, or ask Martins Pukitis for more information if necessary.

To post a message you must log in.