hp-scan

scans documents from HP all-in-one devices

TLDR

Scan document
$ hp-scan
Specify output file
$ hp-scan -o [output.pdf]
Scan to JPEG
$ hp-scan -t jpeg -o [output.jpg]
Specify resolution
$ hp-scan -r [300]
Use ADF
$ hp-scan --adf

SYNOPSIS

hp-scan [options]

DESCRIPTION

hp-scan scans documents from HP all-in-one devices. It supports various output formats and resolutions.The tool can use the flatbed or automatic document feeder. It provides a command-line alternative to the graphical scanning interface.

PARAMETERS

-o, --output FILE

Output filename.
-t, --type TYPE
Output format (pdf, jpeg, png).
-r, --resolution DPI
Scan resolution.
--adf
Use automatic document feeder.
-p PRINTER
Printer/scanner name.
-d DEVICE
Device URI.
--help
Display help information.

INSTALL

sudo apt install hplip
sudo dnf install hplip
sudo pacman -S hplip
sudo zypper install hplip
nix profile install nixpkgs#hplip

CAVEATS

Part of HPLIP package. Some models need plugin. Requires scanner-capable device.

HISTORY

hp-scan is part of HPLIP (HP Linux Imaging and Printing) for scanning on HP multifunction devices.

SEE ALSO

hp-setup(1), scanimage(1)