PDA

View Full Version : plz )-(elp me


uLtra_nOOb
07-15-03, 11:55
i hope that some l33t pro6raming gurus can help me (if they read it) - please
so here is my problem:
i've got a portable bar code (ean) scanner. it came with no software, so i've had to program it. dunno me but i can't firgure something out (i am a noob). i don't know how to make him ,after he read the bar code, recognize and display the name of the thing to whom the bar code belongs. i have got an ASCII file who consists of the name of the thing, bar code and a delimiter, so i want my bar code scanner to display the thing's name to whom it belongs. do u know what am i talking about? if u don't i'll give u an example. u go in a groceries shop and u buy some bananas, the cashere will scan the barcode, and on the computer screen will show the name bananas. i want to have the same efect, with my portable scanner (which has his own display.
the programing is done in c language, and i know that some of u know what should i enter in the code to solve my problem.

p.s. sorry for miss spels (english is not my firs language)

_________________________________
"Live long and prosper"

:confused:

†T-Rex †
07-16-03, 07:24
I didn't know an individual could actually code a barcode scanner, besides the manufacturer...

da chicken
07-16-03, 12:00
More to the point, here's how those grocery store scanners work:
Scan item.
Compare item UPC number to database.
Get name and price from database.

The database is updated manually by the store.

uLtra_nOOb
07-17-03, 06:55
i know that, but this is a portable one,which is not used for sale, but for controlling the reserves. all i need is a code that will tell device (in c) to compare the scaned code to the ascii file (made from database), and if it finds a match to display the items name