Skip to content

DenisLAD/twain4java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twain Java Library

Java library for Windows x86 и x64.

Tested on

  • Kyocera Exosys M2040dn (NET, USB)
  • HP MFP 1102 (NET)
  • Xerox USB
  • Cannon USB
  • ...

Usage

Compile and install Clone project and install in local repository.

git clone https://github.com/DenisLAD/twain4java.git
cd twain4java
mvn install

Dependency in your project

<dependency>
    <groupId>free.lucifer</groupId>
    <artifactId>twain4java</artifactId>
    <version>0.3</version>
</dependency>

Code

Collection<Source> sources = SourceManager.instance().getSources();
Source source = sources.get(0);
source.setDpi(200);
source.setColor(Source.ColorMode.COLOR);
List<File> files = source.scan();

About

Pure JAVA Twain library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages