Package: sane Version: 1.0.14-17 Severity: important Tags: upstream X-Debbugs-Cc: debbug.s...@sideload.33mail.com
The scanadf command apparently does not pass the --adf option to the HP driver, so the device scans the platen instead of using the ADF: ===8<---------------------------------------- $ scanadf -o book.pdf -d 'hpaio:/net/hp_officejet_pro_8610?ip=192.168.178.99&queue=false' Scanned document book.pdf scanadf: sane_start: Invalid argument Invalid argument Scanned 1 pages ===8<---------------------------------------- Note that the “Invalid argument” errors do not stop the scanning process from happening. But it scans just one page from the platen instead of using the ADF. This suggests that the front-end may be supplying the wrong option to the back-end to use the ADF (yet the scanner carries on). Some folks may be suspicious of a *.pdf filename when scanadf only supports PNM formats. But I believe the HP driver is limited to PDF docs when using the ADF. Nonetheless, “-o book.pbm” was also tried and same result. So naturally a test was done to pass the “--adf” device option to the device: ===8<---------------------------------------- $ scanadf -o book.pdf -d 'hpaio:/net/hp_officejet_pro_8610?ip=192.168.178.99&queue=false' --adf scanadf: unrecognized option '--adf' ===8<---------------------------------------- -- System Information: Debian Release: 12.7 APT prefers stable-updates APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 'stable'), (500, 'oldstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-28-amd64 (SMP w/2 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages sane depends on: ii libc6 2.36-9+deb12u8 ii libgimp2.0 2.10.34-1+deb12u2 ii libglib2.0-0 2.74.6-2+deb12u3 ii libgtk2.0-0 2.24.33-2+deb12u1 ii libsane1 1.2.1-2 sane recommends no packages. Versions of packages sane suggests: ii gimp 2.10.34-1+deb12u2 -- no debconf information