FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » barcode reader integration in web application
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
barcode reader integration in web application [message #174746] Sat, 02 July 2011 16:14 Go to next message
renjith raj is currently offline  renjith raj
Messages: 1
Registered: July 2011
Karma: 0
Junior Member
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 [message #174747 is a reply to message #174746] Sat, 02 July 2011 18:00 Go to previous messageGo to next message
Peter H. Coffin is currently offline  Peter H. Coffin
Messages: 245
Registered: September 2010
Karma: 0
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
Re: barcode reader integration in web application [message #174748 is a reply to message #174746] Sat, 02 July 2011 18:53 Go to previous message
Gregor Kofler is currently offline  Gregor Kofler
Messages: 69
Registered: September 2010
Karma: 0
Member
Am 2011-07-02 18:14, renjith raj meinte:
> 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

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.

Gregor


--
http://vxweb.net
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: how to unset session variable when leaving page
Next Topic: Get day and month part from date
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 21:16:37 GMT 2024

Total time taken to generate the page: 0.04105 seconds