Re: barcode reader integration in web application [message #174747 is a reply to message #174746] |
Sat, 02 July 2011 18:00 |
Peter H. Coffin
Messages: 245 Registered: September 2010
Karma:
|
Senior Member |
|
|
On Sat, 2 Jul 2011 09:14:06 -0700 (PDT), renjith raj wrote:
> 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
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
|
|
|