从条形码扫描仪读取 [英] reading from barcode scanner

查看:36
本文介绍了从条形码扫描仪读取的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要从网页中的条形码扫描仪读取数据.我同意 USB 扫描仪或配备有键盘驱动程序的扫描仪可以将数据发送到网页中的文本字段.我很想知道我们如何从基于 RS-232 的扫描仪和蓝牙扫描仪读取数据.他们是否也可以毫不费力地将数据发送到网页中的文本字段?如果没有,我该如何实现?

I need to read data from barcode scanner in a web page. I agree that a usb scanner or a scanner equipped with keyboard wedge driver could get the data to a text field in the web page. I'm curious to know how do we read the data from RS-232 based scanner and bluetooth scanner. Will they also get the data to a textfield in a web page without any extra effort? If not, how do I accomplish that?

推荐答案

是的,如果您要扫描到网页表单(而不是您自己的桌面应用程序),您需要在计算机上安装某种类型的键盘软件浏览网页.这是一个(避风港没用过,不过貌似也支持蓝牙").

Yes, if you're scanning into a webpage form (and not your own desktop app), you need to have some type of keyboard wedge software on the computer that browses to the webpage. Here's one (haven't used it, but it looks like it also supports "bluetooth").

然而,令我惊讶的是扫描仪的供应商尚未提供楔形软件.此外,如果扫描仪使用蓝牙,它可能在蓝牙 HID 配置文件上工作,这意味着您的操作系统会将其视为"键盘.请与供应商核实.

However, I'd surprised that the vendor of the scanner doesn't already supply the wedge software. Also, if the scanner uses bluetooth, it might work on the Bluetooth HID profile, which would mean that your OS would "see it" as a keyboard. Check with the vendor.

这篇关于从条形码扫描仪读取的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆