Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

reading from barcode scanner

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?

like image 406
coolguy Avatar asked Aug 08 '10 18:08

coolguy


1 Answers

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").

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.

like image 57
Angelo Avatar answered Oct 15 '22 12:10

Angelo