Read images from devices such as scanners and cameras, writing the images to standard output in one of the PNM (Portable aNyMap) formats. scanimage uses the SANE interface to access the scanner and can support any device for which there is a SANE backend.
Black-and-white, grayscale, or color
Only accept MD5 authorization requests.
- -b [format], --batch[=format]
Work in batch mode, using a document feeder. Each page is written to a file, as specified by format, using a printf-type string. The default format is out%d.pnm for the PNM formats and out%d.tif for TIFF.
- -B, --buffersize
Change the buffersize from the default 32 KB to 1 MB.
The number of pages to scan in batch mode. Use this option for scanners that do not signal when they are empty; the default is to continue scanning until such a signal is received.
Increment the page number by 2 in batch mode. Used for scanning two-sided originals on a single-sided scanner.
Increment the number in the filename by num in batch mode.
In batch mode, prompt the user to press Return before scanning a page. Useful for manually feeding multiple pages.
Specify the page number in batch mode to use in the first filename. The default is 0.
- -d device, --device-name=device
Specify the scanner device to use. See -L to show the available devices.
- -f format, --formatted-device-list ...