• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 323
  • Last Modified:

scan through webpage

hi, experts,

     I am trying to search for a solution where I could scan document through web page in a typical web application built primarily in java/j2ee.
    Any reference/idea is welcomed!

thanks,
Acton
0
actonwang
Asked:
actonwang
  • 5
  • 5
  • 2
  • +1
4 Solutions
 
CEHJCommented:
You would have to upload the document to use an actual scanner on the server side. I'm assuming you're talking about optical scanning ...
0
 
actonwangAuthor Commented:
To make it clear, I want clients to scan their documents in their local and then transfer to the server and not vice versa.

so I am asking the solution at client side and not server side.

thanks.
0
 
CEHJCommented:
Yes, i understand that. From the client's point of view, it's file upload.

You need to get something like a servlet at the other end to invoke the hardware, then send the image back to the client
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
Pramod KumarCommented:
http://stackoverflow.com/questions/3504231/how-can-i-trigger-a-scanner-from-a-browser

This isn't possible from directly within a standard HTML/js page - js has no permissions to access peripherals like scanners.

It may well be possible using either flash or silverlight but suspect you'd hit permissions issues (There's articles here and here but it may be a) too involved and b) not quite what you're after).

If you control the machines the web app will be running on, I'd recommend using a simple desktop client to perform the scan and allowing connections to it from within the webpage by opening up a local port

so js does an AJAX call to (say) http://localhost:1234/Services/Scan which returns an image


=======================================
Hope below may be helpful fro you:
http://www.chestysoft.com/ximage/twainupload.asp
0
 
actonwangAuthor Commented:
is there any solution using flash or java applet?
0
 
CEHJCommented:
>>This isn't possible from directly within a standard HTML/js page - js has no permissions to access peripherals like scanners.

As i understand it, actonwang doesn't want to access peripherals at the client, so that's academic
0
 
actonwangAuthor Commented:
CEHJ,  i don't have this limitation and welcome any open ideas. but preferablly on java/flash/applet but any other .net or other solutions are also welcome since I want to get some picture what people are using/doing.
0
 
CEHJCommented:

>>CEHJ,  i don't have this limitation and welcome any open ideas.

If you mean it's OK to run at the client, then you need to have ALL clients equipped with a scanner that can be accessed with an api from client-side *signed* code. That would be a tall order normally...
0
 
Pramod KumarCommented:
There are some API by which u can trigger scanner device, but i have not tested those.

http://www.catenary.com/howto/scn3.html

Once it is  done, then you should write a signed applet and put onto your webpage.
0
 
actonwangAuthor Commented:
thanks,

can anyone give an real life example or some sites which are actually using the technology? does it have to tie with specific scanner hardware?
0
 
CEHJCommented:
You might be better off finding an online service with an api. I don't know whether this has an api, but it certainly does OCR ok:

http://www.onlineocr.net/default.aspx
0
 
indigo23Commented:
0
 
actonwangAuthor Commented:
thanks. guys
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

  • 5
  • 5
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now