$ curl cheat.sh/
# scanimage
# Scan images with the Scanner Access Now Easy API.
# More information: <http://sane-project.org/man/scanimage.1.html>.

# List available scanners to ensure the target device is connected and recognized:
scanimage -L

# Scan an image and save it to a file:
scanimage --format=pnm|tiff|png|jpeg > path/to/new_image

$
Follow @igor_chubin cheat.sh tldr