适用于 Web 表单/Win 表单输入的最佳条形码扫描仪

发布于 2024-08-15 15:49:52 字数 401 浏览 5 评论 0原文

我有一个打印电子机票的应用程序。最初我使用了很酷的二维条形码,因为它允许我使用 GUID 作为代码。然而,可以扫描二维条形码的扫描仪太昂贵了。所以现在我只使用 Telerik Reporting 提供的任何代码,例如 code39 http://demos.telerik.com/reporting/barcodes/demo.aspx


我想让人们使用通过 USB 连接到主机的扫描仪来扫描条形码。扫描的代码应自动出现在 Web 表单或 win 表单的文本框中。

您推荐哪些 100 美元以下的 USB 手持式扫描仪?

I have an application that prints eTickets. Originally I used the cool 2-D bar code because it allowed me to use the GUID as the code. However scanners that can scan 2-D bar codes are way too expensive. So now I just use any of the codes that the Telerik Reporting too offers, like code39
http://demos.telerik.com/reporting/barcodes/demo.aspx


I want to allow people to scan the bar code with a scanner connected to the host computer via USB. The scanned code should automatically appears on the textbox of either the Web Form or win Form.

What USB Hand-held scanners do you recommend in the sub-$100 range?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

箹锭⒈辈孓 2024-08-22 15:49:52

我刚刚得到“Adesso NuScan 1000U 条码阅读器”

如果您在 Web 表单上使用它,它的工作原理如下:
单击文本框,在开发页面时,您可能需要使用 javascript 焦点来确保预先选择文本框。

然后你扫描条形码。

扫描仪会将条形码直接放入文本框中,然后按返回键。

如果您使用 .net Web 表单,我建议您将表单放入 asp:panel 中,并在面板属性中将默认按钮设置为按钮 id。这样,返回时就会按下正确的按钮。

这是我的结果的详细信息: 电子客票软件的条形码扫描

I just got the "Adesso NuScan 1000U Bar Code Reader"

If you use it on a Web Form, it works like this:
You click in the textbox, when developing the page you may want to use a javascript focus to make sure that the textbox is pre-selected.

Then you scan the bar code.

The scanner will put the bar code directly into the textbox and hit the return key.

If you are using .net web forms I would recommend putting your form in a asp:panel and in the panal properties set the default button to the button id. This way the correct button will be hit on return.

Here's the details of my results: Bar Code Scanning for eTicketing software

凉栀 2024-08-22 15:49:52

就 USB 扫描仪而言,这不是此类问题的网站。不过,您可能需要查看 Google 购物。

许多条形码扫描仪根据条形宽度将图像转换为数字序列。鉴于他们这样做,我已经看到其中一些扫描仪充当 HID [键盘/鼠标输入设备]。我会指示用户将光标放在文本框中并扫描,或手动输入条形码编号。文本发生更改后,发送 AJAX 请求或回发以处理此处的逻辑。

As far as the USB scanners go, this isn't the site for that kind of question. However, you may want to look on Google Shopping.

Many of the barcode scanners turn the image into a numerical sequence based on the width of the bars. Given that they do that I've seen a few of these scanners act as a HID [keyboard/mouse input device]. I would instruct the user to put the cursor in a text box and scan, or type the bar code number in manually. After there is a text change, send a AJAX request or postback to handle the logic from there.

绅士风度i 2024-08-22 15:49:52

您可能会遇到将网络摄像头实现为条形码扫描仪的麻烦。 Google 返回大量结果。这是来自 sourceforge 的一个:

http://sourceforge.net/projects/zbar/

这有一个好处它确实很便宜并且可供很多人使用,但它的工作效果不如真正的扫描仪。

you could go through the trouble of implementing a webcam as a barcode scanner. Google returns lots of results. Here's one from sourceforge:

http://sourceforge.net/projects/zbar/

This has the benefit of being really cheap and available to many people, but it doesn't work as awesomely as does a real scanner.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文