Link Search Menu Expand Document

Footer not showing in PDF

The header and footer do not fit into rectangle formed by margins. You should set appropriate margins to make header and footer visible.

Also note that the font size must be explicitly set in the header and footer.

"margins": "40px 0px 40px 0px",
"header": "<span style='font-size:12px !important; color:#808080; padding-left:20px'><strong>bold text</strong> bla bla</span>",
"footer": "<div style='width: 100%; font-size:10px; text-align: right; padding-right:20px'>Page <span class='pageNumber'></span> of <span class='totalPages'></span>.</div>"