the more is ;barcode scanner itself can't tell that a particular barcode number is product A or B. it has to be linked to a database containing the products and their barcodes. like when you scan a product in hypermarket, the POS machine itself contains/is linked to a database, to display what product and its price.