2016-01-20 19:51:11 -05:00
2015-09-26 13:16:10 -04:00
2016-01-20 19:51:11 -05:00
2016-01-20 19:38:53 -05:00

SANE Command-Line Scan to PDF

Sane command-line scanning bash shell script on Linux with OCR and deskew support. The script automates common scan-to-pdf operations for scanners with an automatic document feeder, such as the awesome Fujitsu ScanSnap S1500, with output to PDF files.

Tested and run regularly on Fedora, but should work on other distributions with the requirements below.

Features

  • Deskew (if supported by scanner driver, or software-based via unpaper)
  • Crop (if supported by scanner driver)
  • Creates searchable PDFs (with tesseract)
  • Duplex (if scanner supports it)
  • Specify resolution
  • Truncate n pages from end of scan e.g. duplex scanning with last page truncated
  • Specify page width and height for odd size pages, or common sizes (Letter, Legal, A4)
  • Output to single file, or to a list of files

Requirements

  • bash
  • pnmtops (netpbm-progs)
  • ps2pdf (ghostscript)

Optional

  • unpaper (for software deskew)
  • flock (usually provided by util-linux) (for properly ordered verbose logs)
Description
No description provided
Readme 289 KiB
Languages
Shell 100%