hey guys my boddy is opening a gym and im going to make a web site for him and software to track his clients.
now he is going to get a barcode scanner for his membership cards..
how can i take the data from the scanner and assosiate it to a memeber?
witht the barcode scanner i heard that there is like a driver and some small apps that comes with it..suposaly it scans it and displays results?
is this true?
If you hook a barcode scanner up to a computer it is just like hooking a keyboard up to it. Meaning..... If you open notepad (or an editor in your OS) and scan a barcode it will directly enter the resulting scan into notepad/your editor. When writing a program for it you just need to provide a textbox and have that text-box be the focused input. I wrote a small one for LXE Scanners (Windows Mobile) and as the text changed I did a search. Worked great but those guys never implemented it.
If you have any more questions about it, just ask.
ok..so it is possible to make it web based.i just need to find the link between the notpad and the scanner?or i can shuse the destination?
No. For instance if you wanted to scan a barcode into a webpage text box you would load that webpage in your browser and click on the textbox. Take the scanner and scan the barcode and it will fill in the textbox with the results.
automaticly?wow how does it now to go in that box?
oh its like a keyboard write?
Yes, assuming you've already plugged it in once and have the operating system drivers setup correctly it will work as I described it above.
nice thx!
You can also use javascript to automatically put the cursor in the desired form entry, and have the barcode scanner send an ENTER character so the form submits on barcode scan.
That is an excellent tip!
tgh!i will google that.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks