What do you mean by "Non-USB"? Serial? PS2?
I'd imagine that with either PS2 or USB would work the same, as the OS handles the text input all the same. If it's some other input, it might be different-- you might need to know if PHP has an interface to a certain device driver.
alc6379
Cookie... That's it
2,820 posts since Dec 2003
Reputation Points: 186
Solved Threads: 147
We build linux based POS systems with PHP/MySQL. We plug a good USB scanner (try cobra) and it reads the barcode and translates to text. There's not a script side parsing from code39 to text that you have to do, that's what the reader does. If your reader sends delimiters, (like mag stripe readers do) you will need to strip those but that's easy enough. We've used serial port readers but its always a pain getting compatible drivers etc. Just drop a few more bucks and go USB to save headaches.
barnamos
Junior Poster in Training
50 posts since Mar 2005
Reputation Points: 15
Solved Threads: 0
Hi starsunited. I'll need to do that work soon. A co-worker did it and as far as I remember when talked to him he used handhelds with bar code readers. Basically the handheld has WinCE so he was able to read the barcode and the handheld passed the information directly to a PHP page that handled the code. This is a pretty good thing because if you have a wireless connection you can make live connections to a master database to process orders. I'll try to find more information about how they implemented it.
RamiroS
Junior Poster in Training
57 posts since Mar 2005
Reputation Points: 10
Solved Threads: 2
We use a Cobra scanner that lets you set whether or not to send a "return" after a successful read. Most have that setting available, and the good ones let you program the scanner directly without having to use a Winblows machine (shuddder) and load software etc. We use a modified Konqueror browser as the Point of sale interface.
barnamos
Junior Poster in Training
50 posts since Mar 2005
Reputation Points: 15
Solved Threads: 0