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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scanner

Status
Not open for further replies.

gattabria

Programmer
Jul 17, 2004
26
US
I want to be able to scan a document directly into VFP 9 using my page scanner. I found the PaperPort scan control tool object in active x controls, but I cannot seem to configure the control to accept my scanner. When the control opens no scanners are listed and I cannot insert any info into the area. If I open PaperPort on its own, my scanner appears and I can scan.
 
I havent used the active x control, but there is a good article on controling twain devices at
By: Mike Lewis using eztwain to talk to the scanner
wjwjr

This old world keeps spinning round - It's a wonder tall trees ain't layin' down
 
They want you to buy eztwain at this site. It costs $425 single user or $995 multiuser. This costs more than VFP itself!!!!!!!!!!
 
Try viscomsoft.com
have vfp driver and examples. $65 or so.


Nasib Kalsi
 
gattabria

This one is a toned-down version (not all fonctions are there)

If your customer wants a feature that that costs, then the cost should be passed along to the customer.


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
ReFox XI (www.mcrgsoftware.com)
 
Gattabria,

They want you to buy eztwain at this site.

Not true.

The article that White605 pointed you to was written by me. Its purpose is to show you the code needed to interface your scanner to VFP, which is precisely what you aked for.

Contrary to what you state, I do not "want" you to buy Eztwain. I have no vested interest in this or any other product.

But in any case, your strident reply is somewhat inappropriate. You asked for advice on a technical issue. You received a perfectly reasonable reply. Don't get angry with the person who replied just because the proposed solution is above your budget.

Finally, as Mike Gagnon pointed out, you don't have to spend $425 on Eztwain. There is a perfectly good freeware version which I think will do exactly what you want.

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Also, correct me if I'm wrong, but a TWAIN compliant device comes with it's driver/software which should still work as described in the article by Mike.
I wrote an application employing code derived from Mike's example (Thanks Mike), which by using TWAIN calls, uses a webcam to take snapshots of employees, which print on ID badges and keep on file with human resources. We purchased three different webcams, and all have worked seamlessly without me changing the code at all, or purchasing any extra software.


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Dave,

I wrote an application employing code derived from Mike's example (Thanks Mike), which by using TWAIN calls, uses a webcam to take snapshots of employees, which print on ID badges and keep on file with human resources

I'm delighted you found my code useful.

Your application sounds similar to mine. We used a web cam to take mug shots of people attending an exhibition.

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
I tried eztwain1.prg for VFP but keep getting error "cannot load 32 bit dll eztw32.dll"
 
I agree with all the above posts.

I know, EZtwain has a free classic eztwain and then the more advanced, for which the support is free and require you purchase at the cost you have mentioned. If cost is an issue you could try 1. Eztwain's Free version 2. Buy another company as viscomsoft.
I have tried viscomsoft scanner driver and works great. However, The advanced version from DOSADI have more features including scanning BarCode. You might find more if you google 'scanner drivers', etc.

Nasib Kalsi
 
Could someone suggest some simple snippet of code to interface my Brother scanner with my VFP database?
 
I think you have all the information you need in this thread.

If it is a TWAIN compliant device, there are code samples and a step by step guide in the link provided to Mike Lewis' site.

If it isn't TWAIN compliant, you will most likely need to consult a Brother or PaperPort forum or maybe even the manufacturer themselves on how to use your aforementioned "PaperPort scan control tool object active x". They will probably even have examples.
If you then need help in adapting those examples to work with or for VFP, then we can be of more assistance I'm sure.


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
I just came across faq by

Craigs Boyd faq184-3891.

Might give you some help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top