Display barcode of transaction record on the footer along with the page number using advanced PDF/HTML template

Provide the code below in the advanced PDF/HTML template

<macro id="nlfooter">
            <table border="0" cellpadding="1" cellspacing="1" style="width:100%;"><tr>
    <td style="width: 80%;"><barcode codetype="code128" showtext="true" value="${record.tranid}"/></td>
    <td align="right" style="padding: 0;"><pagenumber/> of <totalpages/></td>
    </tr></table>
<div style="text-align: right;">&nbsp;</div>
<p>&nbsp;</p>
</macro>

Leave a comment

Your email address will not be published. Required fields are marked *