Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
01-31-2010, 08:24 PM #1
- Join Date
- Jan 2010
- Thanked 0 Times in 0 Posts
How to launch the scanning process?
On the client(user) of the Web application,there is a scanner which
is connected to the client machine and when the user puts a document (such as a paper containing text and images) on the surface of the scanner, he can click on a button on a form of the Web application and this click must trigger the scanning process and the file resulting of the scanning must be placed in a folder of the client machine (let's say this folder is D:\Images).
I don't know how I can implement this.
Please , how can I solve this problem?
Thanks you in advance for your answers.
02-01-2010, 12:54 AM #2
- Join Date
- Dec 2005
- Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
- Thanked 637 Times in 625 Posts
A normal web server and browser can't do this. Can you imagine the chaos that would ensue if web developers could access client machine's devices? You'd have websites causing all sorts of mischief!
You should be able to work something out though. For example, you can have a button on your webpage that prompts the user to download a file. This file can be used as a trigger file for a script you've previously installed on the client's machine. You'll also need to create a CRON-type listener (I think Windows has a cron-like application, or you can google "cron for windows" and find something you can use). This listener can detect when the file your user downloads comes into existance and kick off the scanner at that moment. Your script will also need to delete the file that was downloaded so the process can be repeated.