Solved

"Acquire" image from scanner...

Posted on 1998-02-04
3
395 Views
Last Modified: 2011-09-20
I want to be able to start the scanner-software from my app.  How do I do it?
I also want to place the scanned image in my app.
Please give me some hints here...

I use Delphi Developer 2.0..
Thanx!

Erik N.
0
Comment
Question by:Erik N
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Expert Comment

by:inter
ID: 1358249
Dear Erik N.,

I want to repeat my comment to one of the previous questions from
gipa:


This might be a hard question upon what you want to do. If you want just to start the scanning application (e.g. deskscan.exe for HP ScanJet clone) it is not complicated and you can do it by
WinExec; However if you want to start deskscan and get the scanned data you'd better use TWAIN which is a uniform interface to the scanning devices(by this way you can use any TWAIN compatible scanner device). Calling the twain to perform data transfer task is not easy. Another way (only if the scanner vendor provides this kind of interface) is using OLE. If your scanning software register itself as an OLE server, you can write an OLE client application which connects it. An when, from the scanning application 'update' is selected, you ole client control receives the data. The last way I know is to use the third parth component (for example ImageGear OCX from accusoft is excellent) but it requires that you pay for it.


Igor
0
 
LVL 8

Accepted Solution

by:
ZifNab earned 20 total points
ID: 1358250
Here is a free example of calling the twain-api :

 ftp://delphiexchange.com/pub/free/deztwain.zip

Good luck,
Zif.
0
 

Author Comment

by:Erik N
ID: 1358251
Dear Igor.
I will not try to "Get" the scanned data from a scanner-device, since it seems to be hard to accomplish. I will instead make it possible to start any scanner-program, using Winexec or Create- process..
Thanks for your comment, Igor...

Thank you also to ZifNab....

Erik N.

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question