Barcode registration