Barcode scanner code