从 .NET Web 应用程序访问 WIA/TWAIN
我们正在开发 C#.NET Web 应用程序,它必须能够连接到前端用户的扫描仪、网络摄像头或签名板 (http://www.signotec.com/)设备并执行其操作。这应该嵌入浏览器中。
据我所知,Java、AIR、Silverlight4(仍处于测试阶段)是可能的。
您更喜欢什么,这是实现这一目标的最佳解决方案。前端用户可以限制使用Windows,但应该是浏览器无关的(如果没有简单的跨浏览器解决方案,也可以限制为IE7+)
我刚刚读过 通过网络浏览器进行 WIA - ASP.NET 我希望有一些新的东西;)
Google Gears 怎么样?我读到他们不会继续开发它:(
We are developing C#.NET web application, which MUST have possibility to connect to front-end user's scanner, webcam or sign-pad (http://www.signotec.com/) device and execute their actions. This should be embedded with browser.
AS far as I know it's possible with Java, AIR, Silverlight4 (it's still beta).
What do you prefer it's best solution to achieve that. Front-end users can be limited to use Windows, but it should be browser independent (if there is not any simple cross browser solution, it can also be limited to IE7+)
I just read
WIA through web browser - ASP.NET
and I hope there is something NEW out there ;)
What about Google Gears? I read that they will not continue to develop it :(
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你看过ActiveX吗?我知道它是特定于 IE 的,但它可能是 Silverlight4 之前的世界中唯一的选择。
Have you looked at ActiveX? I know it's IE-specific, but it might be your only option in the pre-Silverlight4 world.
Scanner.js 正是这样做的。它允许最终用户从 TWAIN WIA 扫描仪桌面浏览器(Chrome、Firefox、IE)扫描文档,并且您的服务器端可以用任何编程语言(包括 C# ASP.NET)实现。
例如,下面的 JavaScript 代码将允许您获取扫描图像并显示在您的页面上:
或者,您也可以将扫描图像直接上传到网络服务器。 访问此 Github 存储库更多例子。
Scanner.js does exactly that. It allows the end user to scan documents desktop browsers (Chrome, Firefox, IE) from TWAIN WIA scanners and your server side can be implemented in any programming language including C# ASP.NET.
For example, the JavaScript code below will allow you to obtain the scanned images and display on your page:
Alternatively, you may upload the scanned images directly to the web server. Visit this Github repository for more examples.