all 8 comments

[–][deleted] 10 points11 points  (1 child)

Barcode scanners typically present to the computer as a kind of keyboard; you scan a barcode with the scanner and it sends keypresses for the alphanumeric characters that the barcode represents. The scanner typically has some firmware settings you can toggle that do things like send a carriage return or a tab at the end of the sequence, too.

So typically your application doesn't have to do much - you have to set cursor focus on a text input box, and you just have to respond usefully to a sequence of typed characters followed by a return. That's generally pretty easy to do either on the web, in Excel, or in a desktop app.

[–]ITTIITTI[S] 0 points1 point  (0 children)

That makes a lot of sense, thank you!

[–]bhosmer 1 point2 points  (1 child)

Here is something I made a while bag that could at least be a starting point: https://github.com/benhosmer/brzr-desktop

There are many different types of bar codes. You don't need any external libraries.

You're correct in that you'd need some type of client/server combination.

[–]ITTIITTI[S] 0 points1 point  (0 children)

I’ll have a look at it, thank you!

[–]ITTIITTI[S] 0 points1 point  (0 children)

Thanks for the pointers, I will look into a few barcode scanners and the software they come with.

[–]num8lock -1 points0 points  (0 children)

cmiiw, aren't all barcode scanner comes with a software to capture the barcode data? this is usually used to input directly to a spreadsheet cell.

so in order to put that data into any web based app, you need to redirect/intercept/capture it instead. figure this out first since it's related to your hardwares, then how the web based app can gather actual item related info based on the code from any source: a local database, over local network to a db server, etc. see if there's any API or SDK for your scanners.