Kaustubh's avatar

How to read barcode data from barcode scanner

Hi Guys

I generated barcode successfully, but now i want to read barcode from the barcode reader device (i dont have right now) but i want to know that is there any package which, fetch the data from that barcode device.

From reading barcode i will be able to display full details on user system.

Thanks in advance

0 likes
7 replies
ModestasV's avatar

@Kaustubh Most of the barcode/qr readers that you can get online reads the data into a field. For example, if you autofocus BARCODE field, it will automatically fill it after scanning. I've had multiple readers and all of them were just sending data like normal "keyboard" and it was your duty to put it in correct place. In my case - autofocused field.

2 likes
johnef_sh's avatar

@info@modestasv.lt I blive it will send the barcode to the text field, but how about submit automatically without clicking enter. Only if the the barcode is scanned from the scanner not paste to the field. any idea

Kaustubh's avatar

@ModestasV i didnt get it, I actually want to know how does it happen that when I scan the barcode using barcode scanner, how it will automatically put in my html textbox

Is there any specific package for that? ....i am new to it

hajrovica's avatar

i think @ModestasV meant to use html auto focus attribute which will cause one filed with that attribute to be focused after page load and ready for data entry

check here https://www.w3schools.com/tags/att_input_autofocus.asp

So basically you can have page with one filed with auto focus enabled as data entry point. Most of barcode scanners are sending enter key at the end which will trigger your form processing and sent your data automaticly

1 like
ksaparov's avatar

Hi everyone. I have a problem. I want to launch my barcode reader device with camera on Laravel project. I have barcodes. Just I need to launch my device on Laravel. How can I do it? Tell me please if u don't mind!

Please or to participate in this conversation.