TWAIN is a standard software protocol and applications programming interface (API) that regulates communication between software applications and imaging devices such as scanners and digital cameras.
Questions tagged [twain]
282 questions
40
votes
10 answers
.NET Scanning API
Is there any free or commercial component written in .NET (no COM interop) that will work with most twain scanners?

Erick Sgarbi
- 1,222
- 1
- 11
- 17
27
votes
2 answers
Twain device (scanner) control in Java
I want to scan a number of papers through Java. I found the mm's computing twain library.
When I run the example TwainExample.java at the site, I receive this error.
uk.co.mmscomputing.device.twain.TwainIOException: Cannot load Twain Source…

Any Thing
- 314
- 3
- 5
24
votes
11 answers
Interfacing with the end-user's scanner from a webapp (web/scanner integration)
Consider the following scanning procedure in a typical document handling webapp:
The user scans a document using a scanner connected to his/her computer
The scanned image is saved locally on the user's computer as a BMP/JPG/TIF/PNG file
The user…

knorv
- 49,059
- 74
- 210
- 294
19
votes
2 answers
Simulating a TWAIN Device
Our company is using some software that ONLY accepts input from an "Imaging Device" i.e. a TWAIN device (e.g. scanner).
The problem is that we are receiving our files digitally, so using an actual scanner would require us to print, scan, and shred…

biggusjimmus
- 2,706
- 3
- 26
- 31
15
votes
3 answers
Using a scanner without dialogs in C#
I'm building a .Net 4.0 application for remote control of a scanner device. I have tried both TWAIN and WIA libraries, but I have the same problem. Scanning images without scanner selection and scanning settings dialogs.
I found a useful article on…

Miljenko Barbir
- 1,193
- 1
- 11
- 32
14
votes
2 answers
TWAIN scanning components for Delphi
I need to add TWAIN scanning to an Delphi application and am having trouble locating an off-the-shelf component to do so.
I downloaded TDelphiTwain but, when used in D2010 on Windows Vista, it does not appear to recognize any Twain sources on my…

Larry Lustig
- 49,320
- 14
- 110
- 160
12
votes
3 answers
Getting Java and TWAIN to play together nicely
I'm working on building an app to scan directly from TWAIN scanner to a Java applet. I'm already aware of Morena and JTwain, but they cost money. I need free. I could re-invent the wheel with JNI, but it seems like someone has probably already done…

jacobko
- 8,740
- 7
- 32
- 36
9
votes
3 answers
Twain question: is it possible to scan just one document from feeder?
I am playing with the code from http://www.codeproject.com/KB/dotnet/twaindotnet.aspx
I am having a problem because twain returns control only after all documents in feeder are scanned. This leads to high memory usage if I scan 20 or more…
Deepak
8
votes
3 answers
Canon TWAIN scanner stuck on 'Warming up' for minutes
I'm trying to interface with a TWAIN-compliant multifunction printer and scanner, a Canon Pixma MG5750, from C# using the NTwain library. I'm writing a program to scan an image into an Image object.
The scanner has to warm up before scanning the…

Aaron Christiansen
- 11,584
- 5
- 52
- 78
8
votes
5 answers
Accessing scanner at client side from a web page without applet
I want to acces a scanner at client side, before I was using java applet without problem but after chrome has decided to not support java what can I do. If there's solution with JS, Jquery or other language please tell me

taha yahia
- 93
- 1
- 1
- 6
8
votes
1 answer
TWAIN/WIA implementation for JAVA
I am working on an application(Java Applet) that interacts with scanner. I understand I need a Twain library or WIA library to make it work in windows. But I am not sure what are the differences of two? I am trying to use this…

Mo3z
- 2,138
- 7
- 21
- 29
8
votes
5 answers
How do I check if the scanner is plugged in (C#, .NET TWAIN)
I'm using the .NET TWAIN code from http://www.codeproject.com/KB/dotnet/twaindotnet.aspx?msg=1007385#xx1007385xx in my application.
When I try to scan an image when the scanner is not plugged in, the application freezes.
How can I check if the…

SelvirK
- 925
- 3
- 18
- 42
7
votes
3 answers
Simulate or Virtual Twain source for Twain development
For developing a web based scan solution, I would love to test it on Windows or Mac without actually hooking up a scanner to my box. So is there a program/tool that emulates or gives me a virtual twain source with some default image data?

wolle
- 1,519
- 2
- 12
- 13
7
votes
4 answers
Wrapper class for WIA/TWAIN for a C# application?
Is there a wrapper class somewhere for WIA/TWAIN functionality in a C# application?
Every search I make points to the same old 2001 CodeProject page, there has to be something new out there, right?
Maybe I'm not looking in the right place. :P
I…
delete
6
votes
3 answers
C# TWAIN interaction
I'm trying to set up a C# application which uses TWAIN example from code project
This works fine except that I need to cast Form to IMessageFilter and
call IMessageFilter.PreFilterMessage() to catch TWAIN callbacks.
Also I need to start this…

Valentin V
- 24,971
- 33
- 103
- 152