barcode reader integration in web application

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
We have a customer in need for a new on-line library managing
application. Taking all things into consideration, web application
seems the way to go. However, they also use bar code readers for
issuing and returning books. This bar code reader is connected to a
user machine and we need to access it from our server

How to read those bar codes into web application? Any ideas, how to do
it? Java applet, flash, ActiveX or something different?

Scanners are Datalogic Forumula 732e and Metrologic Scanpal. Web
application will be PHP running on Apache web server

Thanks and Regards
Renjith Raj

Re: barcode reader integration in web application

On Sat, 2 Jul 2011 09:14:06 -0700 (PDT), renjith raj wrote:
Quoted text here. Click to load it

The first scanner is an RS-232 one. You'll need to catch the incoming
data off the serial port. There's a "php-serial" class out there, but
I've never had a use for it, so I don't know much about it.

The second can have a keyboard wedge and thus requires no special
programming. You'll just pretend that someone using the scanner typed
the barcode value. Unless the customer has only an RS232 for the
scanners, in which case you're back to the class above.

40. I will be neither chivalrous nor sporting. If I have an unstoppable
    superweapon, I will use it as early and as often as possible instead
    of keeping it in reserve.
    --Peter Anspach's list of things to do as an Evil Overlord

Re: barcode reader integration in web application

Am 2011-07-02 18:14, renjith raj meinte:
Quoted text here. Click to load it

Who cares? The input will be generated on a *webpage* - correct? So it's
an HTML/JS/Browser issue at best. Frequently those scanners mimick
simple key presses. All it needs is a bog standard input field (which is
focused). Aim the scanner on your barcode and - voilá - the input
element is filled with the code. Submit the form and you are done.



Site Timeline