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

问题描述

我需要在一个网页读取吧code扫描数据。我同意,配备了键盘楔驱动程序的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?

推荐答案

是的,如果你要扫描到网页的形式(而不是你自己的桌面应用程序),您需要有计算机上的某些类型的键盘楔软件该浏览到的网页。 (避风港 t一起使用它,但它看起来还支持蓝牙)。

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.

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

09-02 16:04