Questions tagged [twaindotnet]

Twain Dot Net is a TWAIN image scanner API library for the .net platform

Twain Dot Net is a TWAIN library for the .net platform. It is based off the code from Thomas Scheidegger's article .NET TWAIN image scanner

See http://code.google.com/p/twaindotnet/

22 questions
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
2
votes
0 answers

TWAINDotNet throwing BadImageFormat exception

I have a .Net 4.5 WPF MVVM application I have added scanning support using the TWAINDotNet. All of the scanning features work fine until I build in Release and deploy. I confirmed that everything is getting built using the same .Net and "Any CPU"…
Chuck
  • 41
  • 1
  • 5
2
votes
1 answer

Duplex Scanning Failure Using Twain API for Epson DS-510

I want to scan a document using Twain Library for Epson DS-510 scanner using C# application, but it only scans one side. The scanner supports both side scanning of a page, and it's tested using the scanner scan feature, but it doesn't do scan with…
Muzzy B.
  • 182
  • 4
  • 17
2
votes
1 answer

AccessViolationException when we use twain_32.dll for scanning in windows 8.1

I have an application which communicates with scanner and gets the image , it is working fine till windows 7 but it is failing in windows 8.1, we use twain(twain_32.dll) library for scanning purpose, Kindly help me
2
votes
0 answers

How to detect difference between prism & non-prism 64 bit app when using TwainDotNET

I am trying to use https://code.google.com/p/twaindotnet/ for our internal app that is running on Windows 2008 terminal server (64 bit). I have found few remarks on the fact that this library cannot be used natively on 64 bit machine and that it…
fontan
  • 86
  • 10
1
vote
1 answer

TWAIN events in BackgroundWorker

I have a project in which I use a backgroundworker to do the scanning function from a scanner asynchronously by WIA2. It works well with WIA. Now I am trying to do the same by scanning with TWAIN. I can scan using TWAIN ok. However when I try to…
XabiZitu
  • 33
  • 7
1
vote
0 answers

How to print lines using dotnet twain api to epson plqcs22 passbook printer

Is there any possibilities to send printlines to the epson passbook printer using twain api. TWAIN API used: https://github.com/twain/twain-cs
1
vote
1 answer

Document scanning on Windows C# with an incremental custom progress UI?

How can I incrementally scan a document on Windows, from C#, while getting callbacks to show pieces of the image as they come in, and update my own custom progress UI? It looks like the scanner API options include: WIA, WIA Script Automation…
David Jeske
  • 2,306
  • 24
  • 29
1
vote
0 answers

Twain message loop under Windows XP

I'm working on a Google Chrome Twain Plugin and actually it's is almost done. The only major problem remains: the plugin does not work under Windows XP. And this is not what is desired. The plugin uses Chrome Native Messaging to establish…
1
vote
1 answer

TwainDotNet specific area scan

In my application I am using TwainDotNet library and I am scanning a specific area from flatbed. public Prasymas scanForm(Prasymas prasymas, bool isItFirstScan) { Enabled = false; _settings = new ScanSettings(); …
1
vote
0 answers

Virtual scanner (TWAIN) not working in C# (WPF)

It is about TWAINdotNet library. I have spent last 24 hours trying to do basic virtual scanner experiment in C#/WPF/VS2010. I have already downloaded and installed virtual scanner driver from http://sourceforge.net/projects/twain-samples/files/ and…
dotNET
  • 33,414
  • 24
  • 162
  • 251
1
vote
0 answers

Twain Scanning Removing Purple Edges

I am using Twain Dot Net to scan a relatively simple image and ultimately I am using Emgu CV to find the edges. Here is a screenshot of something I have scanned: However I adjust the thresholds in the image detection I get exactly the same edge…
kmp
  • 10,535
  • 11
  • 75
  • 125
0
votes
1 answer

What capability is related to TWAIN document type?

I am trying scan images using twain. I see most scanner manufactures' utilities have an option called "Document Type", "Color Matching", or "Scanner Type", whatever. (Not b/w or rgb option!) They usually let me select between none, text, image, and…
Dia
  • 851
  • 1
  • 15
  • 35
0
votes
1 answer

Twain disable UI in DAT_USERINTERFACE, still show UI during scan

I'm trying to programmatically control a twain scanner within my custom application. I don't want to show the scanner's native UI. I set CAP_INDICATORS capability to FALSE, and set CAP_UICONTROLLABLE capability to TRUE. Then I start the scan using…
Dia
  • 851
  • 1
  • 15
  • 35
0
votes
1 answer

How to add the Application in TWAIN data source?

There are multiple ways and libraries available for Consuming TWAIN data source in C# window application but my requirement is to make my application TWAIN ready which will be used as TWAIN data source for calling application.
Sanjay Gupta
  • 186
  • 2
  • 11
1
2