E
E
EvgeniyRava2015-11-12 23:00:18
PHP
EvgeniyRava, 2015-11-12 23:00:18

How to link a wireless barcode scanner to a website?

Please let me know if anyone has faced similar issue.
It is necessary that the scanner read the information and send a request to the server.
How to integrate a barcode scanner with the site.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexander Borisovich, 2015-11-12
@Alexufo

All in all there is no problem. Buy any usb scanner and it works like a keyboard. And on the site it is enough to keep the focus on the input where the numbers will be entered. sound the response from the site by playing a sound in the browser, so as not to be afraid of losing focus. Or it's better to drive everything into a textarea and send a bunch of barcodes to the server by clicking the button. No integration is needed.

R
Ravshan Abdulaev, 2015-11-12
@ravshanium

some kind of nonsense, a barcode scanner is a regular input device, like a keyboard. Installed on the user's computer, with drivers as an input device.
If everything is set correctly, then place the cursor in the text input field, the scanner scans the code and, in the place where the cursor is set, numbers or letters are entered, usually numbers ... The scanner itself does not send anything anywhere, unless of course it's some fancy scanner...

W
wol_fi, 2015-11-12
@wol_fi

Through an applied programming language it will probably be easier than through php.
And so dig towards working with com ports (even usb scanners can work through com emulation), for example, through direct I / O us2.php.net/manual/ru/book.dio.php

S
Sergey, 2015-11-13
@gangstarcj

Make a page on the site, with one large input (form) on the whole screen, program this page to send data when you enter it. If the scanner works like a keyboard, then there will be no problems at all. The scanner enters data into the input and presses enter, the data is sent

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question