Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Regarding Clipper and Page Scanners

Status
Not open for further replies.

jeff66

Programmer
Sep 27, 2003
8
US
Looking to incorporate page scanner into my clipper application (version ver5.2E) or x-base. Trying to use a page scanner within my application to scan and assign file name that I will give it. Either program will do, but preferably the clipper program.
 
You could put the files in a special-setup dir (C:\scanned), and have the Clipper app scan with Directory() function to find all available files, and process the files not already processed, or move processed files to a .\Processd subdir (just 8 chars ;-) )

HTH
TonHu
 
Switch to xHarbour ( and use the DLL or COM interface to connect to the TWAIN libraries delivered with the scanner.
There are numerous samples for other languages on the i-net, like Delphi/Pascal or C++, so you should be able to find a solution.

Clipper won't allow you to directly call DLL's or COM objects, except by using the Vouch32.lib ( search for Library or go to forum at that uses external parts to achieve that, but remember that DOS apps do not perform very well on modern Windows versions like 2000 or XP.

HTH
TonHu
 
I developed a clipper app some years ago that ran the twain compliant scanner to scan in resumes. Worked pretty slick, so it can be done...
 
I linked in a library that gives my Clipper code functions to run a scanner, like "scan" and "view" and "print."
works pretty slick and is seamless; no exiting Clipper app to run a scanner program, etc.
I had the lib developed for my own use and would consider selling you a copy. email me at circes9@excite.com if interested.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top