A simple barcode generator