Read images from devices such as scanners and cameras, writing the images to standard output in PNM (Portable aNyMap) format. 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.
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.
Specify the scanner device to use—e.g., /dev/scanner.
Show the available scanner devices, as with -L, but also format the output. Possible format specifications are:
Specify the file format of the output file. The possible values are pnm and tiff.
Print a help message and exit. You can get device-specific help by running scanimage as follows:
scanimage -h -ddevice
Include the specified ICC profile in the TIFF output file.
Display a list of available devices. The list may not be complete, particularly when accessing scanners across the network. Only scanners listed in a configuration file (typically in the directory /etc/sane.d) are displayed. A scanner with no configuration file entry must be accessed by its full device name.
Set the specified options, but don't actually scan anything.
Run some sanity tests to be sure the backend works as defined by the SANE API.
Run in verbose mode, providing additional messages.