Reputation:
I'm planning to create a web application for a set of pharmacy stores. I'm using Laravel and MySQL. The problem is that I've never used Barcode Scanner, so I do not know how it is operated. And my question is "How can I use Barcode Scanner and implement it in my Laravel application?"
Upvotes: 0
Views: 7997
Reputation: 2166
A barcode is a representation of numbers or characters.
The scanner will read the barcode and output it as a string.
I would recommand you trying the scanner your own open a notepad, and scan a code you will understand the behavior. It's the same as writing yourself on your keyboard but obviously faster and safer.
For your question the easiest way to do that is to force the focus on an input, then it will be filled when the user scan something.
Upvotes: 1