← 返回命令列表

Linux command

hp-scan 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

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

说明

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.

参数

-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.

FAQ

What is the hp-scan command used for?

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.

How do I run a basic hp-scan example?

Run `hp-scan` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -o, --output _FILE_ do in hp-scan?

Output filename.