Hasty Briefsbeta

Bilingual

Using the Brother DS-640 Scanner on NixOS

17 hours ago
  • The Brother DS-640 is a compact USB scanner that requires proprietary drivers to work on NixOS.
  • Enable SANE scanners and add your user to the scanner and lp groups in the NixOS configuration.
  • Use the brscan5 driver (not brscan4) to avoid partial page scans.
  • For a graphical interface, install simple-scan via Home Manager.
  • Verify the scanner with `scanimage --list-devices`; if it shows 'Unknown USB scanner', try a different USB port.
  • Test scanning with `scanimage --device="brother5:bus4;dev2" --format=jpeg --output-file=scan.jpg`.
  • Improve scan quality using options like --AutoDeskew=yes, --AutoDocumentSize=yes, and --resolution 300.