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
3
votes
2 answers
How can i invoke a paper scanner using php code?
How can I invoke a paper scanner using php code?
I have already used Dynamic Web TWAIN for scanning, but it is not free.
I need an open source code to scan.
Please help me. Thank you in advance.

Lijimol v r
- 31
- 1
- 1
- 5
3
votes
2 answers
How to modify resolution (DPI) Range in TWAIN User Interface (DS)
I would like set DPI range in Twain Scanner User Interface. Have a look at below Screenshot. The DPI drop down start from 50 to 600.How can I restrict this from 400 to 600.
I have tried the following code but it just sets the DPI, if user changes…

Gajendra
- 1,291
- 1
- 19
- 32
3
votes
1 answer
Using Twain Module in Python
I have 64 bit Windows and 64 bit Python . In the twain docs said : supports only 32 bit . I have used twain data source to install my 64 bit machine and used this code to connect scanner device:
import twain
sm = twain.SourceManager(0)
ss =…

Cahit Yıldırım
- 499
- 1
- 10
- 26
3
votes
1 answer
Running a scanning app on a 64-bit machine via ClickOnce
Okay, here's my setup.
I have a c# app working perfectly on all 32-bit Windows XP-Vista-7 machine. I already have a verisign PFX to support the ClickOnce deployment and is using Atalasoft DotTwain 8.0 as the 3rd party scanner helper.
When I publish…

Martin Ongtangco
- 22,657
- 16
- 58
- 84
3
votes
1 answer
Twain Driver - TWAINDSM.DLL Error in Windows OS x64
We have developed an application to control and scan any file like images, etc as a C# Winform App and it works under x86 OS platform successfully. In the app, we use C# twain class which to send a command to scanner so we can achieve what we…

Muzzy B.
- 182
- 4
- 17
3
votes
0 answers
How to make twain drivers of Twain scanner to be detected by Image Capture in Mac OS X (cocoa programming)
I am having the twain drivers(Mac Compatibility) of the twain scanner(panasonic). I installed the divers into my Mac machine and the drivers were installed in the path : Library ▸ Image Capture ▸ TWAIN Data Sources folder.
After the installation of…

Monish Kumar
- 2,788
- 4
- 38
- 54
3
votes
2 answers
access WIA/TWAIN from .NET web application
We are developing C#.NET web application, which MUST have possibility to connect to front-end user's scanner, webcam or sign-pad (http://www.signotec.com/) device and execute their actions. This should be embedded with browser.
AS far as I know it's…

AnzeR
- 590
- 4
- 11
- 23
3
votes
2 answers
OS X Mac and writing a twain scanning application
Can someone point me to the correct place to start development of a twain scanning appliation for the MAC osx. I have done some simple objective c development in the past, but nothing interfacing with a device.

user139523
- 73
- 5
3
votes
1 answer
Why is setting PixelType not working when negotiating Twain Session?
I'm trying to specify programmatically settings for scanning in TWAIN session. Because amount of code here would be significant I'm going to try to explain the problem without pasting the entire code. I hope there's someone good at TWAIN to help…

Marcin Rybacki
- 974
- 1
- 9
- 19
3
votes
1 answer
uk.co.mmscomputing.device.twain.TwainIOException: Cannot load Twain Source Manager
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.
system info: windows 7 ultimate 64 bit - jre 7 32 bit
JarLib.load: Successfully…

blackmamba
- 99
- 3
- 11
3
votes
2 answers
TDelphiTwain component, corrupts delphi form (dfm file)
I have downloaded opensource delphi twain component (TDelphiTwain).
The interesting thing is, that when placed and saved on the form it creates bad dfm entry for itself.
object DelphiTwain: TDelphiTwain
OnSourceDisable =…

John
- 1,834
- 5
- 32
- 60
3
votes
1 answer
TWAIN example, C++
From C++ I want to set the following scanner parameters using TWAIN library: resolution, window position and histogram settings (shadow, highlight, gamma, max/min intensity). Is there any good example on the web which I could use as a starting…

Ekaterina Mishina
- 1,633
- 5
- 20
- 23
3
votes
1 answer
uk.co.mmscomputing twain scanner
I am using this mmscomputing library as java applet to scan an image or document.
Using swings,awt i created one scan button which is acquiring scanner by calling scanner.acquire() method of mmscomputing jar..
and then placing that scanned image…

Ashish Kataria
- 520
- 3
- 11
- 31
3
votes
2 answers
How do I set the DPI of a scan using TWAIN in C++
I am using TWAIN in C++ and I am trying to set the DPI manually so that a user is not displayed with the scan dialog but instead the page just scans with set defaults and is stored for them. I need to set the DPI manually but I can not seem to get…

netadptr0719
- 57
- 1
- 7
2
votes
1 answer
How do I enumerate resolutions supported via TWAIN
I have to enumerate DPI's supported by scanner via TWAIN interface.
// after Acquire is called...
TW_CAPABILITY twCap;
GetCapability(twCap, ICAP_XRESOLUTION)
if (twCap.ConType == TWON_ENUMERATION) {
pTW_ENUMERATION en = (pTW_ENUMERATION)…

Andrew Florko
- 7,672
- 10
- 60
- 107