Barcode generation gem