473,383 Members | 1,952 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

TWAIN or Scanner Driver

Dear All,

I wanna ask whether there is a method to communicate with scanner in C#.

Thank,
Carlos
Nov 17 '05 #1
3 6305
Carlos,

There is no way natively, but you should be able to access TWAIN
functionality through it's own API (I believe there is one) or through the
Windows Image Aquisition API. Either way, you will have to use P/Invoke or
COM interop.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Carlos" <---@---.com> wrote in message
news:uD**************@TK2MSFTNGP14.phx.gbl...
Dear All,

I wanna ask whether there is a method to communicate with scanner in C#.

Thank,
Carlos

Nov 17 '05 #2
Hi Nicholas!

Nicholas Paldino [.NET/C# MVP] wrote:
There is no way natively, but you should be able to access TWAIN
functionality through it's own API (I believe there is one) or
through the Windows Image Aquisition API. Either way, you will have
to use P/Invoke or COM interop.


Perhaps this is a starting point:

WIA Scripting and .NET
http://www.codeproject.com/dotnet/wi...tingdotnet.asp

Cheers

Arne Janning
Nov 17 '05 #3
On Thu, 6 Oct 2005 23:39:08 +0800, "Carlos" <---@---.com> wrote:
I wanna ask whether there is a method to communicate with scanner in C#.


There are commercial libraries to do this. Pagasus have a product
called TwainPro (http://www.pegasusimaging.com/twainpro.htm).

Hope this helps,
Mark
--
|\ _,,,---,,_ A picture used to be worth a
ZZZzzz /,`.-'`' -. ;-;;, thousand words - then along
|,4- ) )-,_. ,\ ( `'-' came television!
'---''(_/--' `-'\_)

Mark Stevens www.thepcsite.co.uk
Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Tomas Christiansen | last post by:
Anyone having experience with Kevin Gill's TWAIN module (from www.sourceforge.org)? Seems that a user MUST be logged in on the computer (Windows 2000) to be able to scan on a TWAIN-scanner?...
0
by: Neil Benn | last post by:
Hello, Has anyone had any success with python twain? I've downloaded it and run the module however, I'm getting a python core crash when calling to SourceManager.OpenSource. Needless to say,...
0
by: Mikael Olofsson | last post by:
Hi all! Sorry for this rather lengthy post. It's a long preamble followed by a few questions based on that. Here's my situation: I am trying to write a specialized scanner utility for my own...
3
by: Mateusz [PEYN] Adamus | last post by:
Hi First of all please let me know if there is some other, more suitable group for this news - TIA :-) Now, my problem. I'm writing an C# application in which I'm using some functions from...
4
by: Dustin Davis | last post by:
I'm hoping there is a TWAIN expert lurking here somewhere :) I'm writing a very customized application. The software will be set up in multiple location and will always have two types of scanners...
0
by: vsbsubramanian | last post by:
I am running Windows XP Pro (not SP 2) on my PIV 2.50 GHzs system with 256 MB RAM. While installing Cannon Twain 5 Driver for my Cannon Scanner Perfection 1250 model I get a message that ''An error...
3
by: =?Utf-8?B?UmljYXJkbyBGdXJ0YWRv?= | last post by:
I'm facing what i consider to be a serious problem, because i can't find the solution!!! I've made possible, for the software i'm developing, to aquire images from a scanner using WIA. The problem...
1
by: =?Utf-8?B?UmljYXJkbyBGdXJ0YWRv?= | last post by:
I'm facing what i consider to be a serious problem, because i can't find the solution!!! I've made possible, for the software i'm developing, to aquire images from a scanner using WIA. The problem...
1
by: join2nitin | last post by:
I have used Twain Driver for Scanning the documents its working through Window User Control UI. I have initialize Twain Driver in User Control as follows : tw.Init(this.Handle); It has...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.