scanimage
Scan images with the Scanner Access Now Easy API. tldr-pages
On Linux
Linux
List available scanners to ensure the target device is connected and recognized
scanimage --list-devicesIdentifyScan an image and save it to a file
scanimage --format pnm >path/to/new_imageIdentifySpecify the device to scan from
scanimage --device device_name >path/to/new_imageIdentifySpecify resolution for the scanned image (default resolution is 75dpi)
scanimage --resolution 300 >path/to/new_imageIdentify