How barcode scanning works in case multiple barcodes are printed?