Skip to content

Instantly share code, notes, and snippets.

@sepastian
Created June 24, 2025 20:05
Show Gist options
  • Save sepastian/fa1318381259c8b7cc3ece91fc190344 to your computer and use it in GitHub Desktop.
Save sepastian/fa1318381259c8b7cc3ece91fc190344 to your computer and use it in GitHub Desktop.
Linux Scanimage Brother DS-640
# 1. Install official Linux drivers from Brother
# e.g. https://support.brother.com/g/b/downloadtop.aspx?c=us_ot&lang=en&prod=ds640_us_eu_as
# 2. Install sane-utils (Debian)
sudo apt install sane-utils
# 3. Connect scanner, list available scanners
scanimage -L
# device `brother5:bus2;dev2' is a Brother DS-640 USB scanner
# Scan
#
# Note: scanning pabes in batch mode, using --batch
# did not work; the scanner reported no page in
# the feeder after page 1...
scanimage --device='brother5:bus2;dev2' \
--format=jpeg \
--resolution=300 \
--AutoDocumentSize=yes \
--AutoDeskew=yes \
--output-file=006.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment