barcode writing to input box