简体   繁体   English

如何将条形码扫描器集成到ASP.NET Web应用程序中?

[英]How to integrate barcode scanner into an ASP.NET Web application?

  • How to integrate barcode scanner into an ASP.NET Web application? 如何将条形码扫描器集成到ASP.NET Web应用程序中?

  • Any open source library for doing it? 这样做的任何开源库?

You (probably) will not have a barcode scanner into your server, but on user computers. 您(可能)不会在您的服务器中使用条形码扫描仪,而是在用户计算机上。

A barcode scanner typically reads a barcode, understand it, and to make that read data to be understood by your computer as entered by keyboard. 条形码扫描器通常读取条形码,理解条形码,并使计算机能够理解读取数据,如键盘输入的那样。 So you'll just need to send that data to server to be processed. 因此,您只需将该数据发送到服务器即可进行处理。

EDIT: I don't have experience on reading barcodes, by you can look into this link to find how to create them: C# Barcode Generator WebService . 编辑:我没有阅读条形码的经验,你可以通过这个链接找到如何创建它们: C#条形码生成器WebService Maybe you should buy one component for both tasks. 也许你应该为这两项任务购买一个组件。

If you need the barcode written into a textbox, you'll not need extra work to do. 如果您需要将条形码写入文本框,则无需额外的工作。 Barcode scanners simulate keypress event. 条形码扫描仪模拟按键事件。 Even you can handle window.keypress event to hook the preamble and postamble characters. 即使你可以处理window.keypress事件来挂钩前导和后同步字符。 That way the client do not need to focus on the specific textbox. 这样客户端就不需要专注于特定的文本框。

Or else the reader uses a hardware driver (? don't know such vendors exists ?) , then you'll need an ActiveX object to wrap the library. 或者读者使用硬件驱动程序(?不知道这些供应商存在?),那么你需要一个ActiveX对象来包装库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用Asp.net Web应用程序访问客户端计算机上安装的客户端应用程序(扫描仪或.exe) - how to access client application (Scanner or .exe) which are installed on client machine using Asp.net web application 如何使用ASP.Net MVC 5将条形码阅读器连接到Web应用程序 - How to connect a barcode reader using ASP.Net MVC 5 for a web application 如何将Autofac和Log4Net与ASP.NET Web API 2应用程序集成 - How to Integrate Autofac and Log4Net with ASP.NET Web API 2 Application 是否可以将GPS系统集成到asp.net Web应用程序中? - Is it possible to integrate GPS system in an asp.net web application? 将CMS集成到ASP.NET MVC Web应用程序中? - Integrate CMS into ASP.NET MVC web application? ASP.NET Core Web 应用程序集成 TcpSockets - ASP.NET Core Web Application integrate TcpSockets 将Delphi ISAPI DLL集成到ASP.NET Web应用程序中 - Integrate Delphi ISAPI DLL into an ASP.NET web application 在ASP.NET Web窗体中呈现条形码 - Render a barcode in ASP.NET Web Form 如何将超级终端与我们的asp.net Web应用程序集成以通过喷墨打印机打印一些文本? - how to integrate hyper terminal with our asp.net web application for printing some text through inkjet printer? 如何在Visual Studio 2017 ASP.NET核心Web应用程序中集成Bootstrap 4? - How to integrate Bootstrap 4 in Visual Studio 2017 ASP.NET Core Web Application?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM