You can create a template for your badges that merges data exported from your address book, or from a number of databases directly, using LibreOffice or OpenOffice.