[SOLVED] Custom Print Template Empty PDF

I built a Custom Print Template, Everything is working fine. The template is generated fine and I can print fine. But, when I create a PDF it is empty.

Never mind. I fixed it.

In case someone faces this problem, I had put my code inside <div id="header-html" class="hidden-pdf"></div> tag. Remove it and it will generate PDF also.

1 Like