Bar or QR code generator