I want to add page number in the footer in the format of “Page 1 of 3” or else “Page 2”, “Page 3”
Tried this, but not working.
<div class="print-format-footer">
<p id="pagenum"><strong>{{ _("Page {0} of {1}").format('<span class="page"></span>', '<span class="topage"></span>') }}</strong>
</p>
NCP
2
Hi @nirmal2010,
Page numbers will only show in PDF, not in print or full-page print.
Reference:
Thank You!
4 Likes
Thanks a lot @NCP for this code. Is there any possibility to print the page number?
NCP
4
Maybe not, but you can try.
Sarah
6
Hi @nirmal2010 Any Success on printing page number in print(full page print) ?
No @Sarah
I didn’t get a solution for this.