Skip to content

TownSuite/TownSuite.TwainScanner

Scanning component which allows you to control work of flatbed scanner, web and digital camera and any other TWAIN device from .NET environment. You can use this library in your programs written in any programming languages compatible with .NET technology.

Fork of https://sarafftwain.codeplex.com/

Scanner setup

  • Install your printers twain driver with its official driver pack

Usage

.\TownSuite.TwainScanner.exe

Available output filetypes.

  • PDF
  • PNG
  • JPG
  • TIFF

Set a default selected output filetype and scanner.

.\TownSuite.TwainScanner.exe -scansettings "JPG \"Brother DS-620\"" 

Enable ocr

The following example enables ocr. To use ocr the following application arguments must be set on startup.

  • -enableocr
  • -ocrapiurl "PLACEHOLDER"
  • -ocrbearertoken "PLACEHOLDER"
  • Optionally a working directory for temp files can be set
    • -tempdir "PLACEHOLDER"
TownSuite.TwainScanner.exe -enableocr -ocrapiurl "PLACEHOLDER" -ocrbearertoken "PLACEHOLDER" -tempdir "PLACEHOLDER"

About

No description, website, or topics provided.

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
license.txt
GPL-3.0
COPYING.txt

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors