I want to print page number in each page when printing.
I want to acheive this with turn off browser print preview settings.
Here is my code.
.rptFooter {
counter-reset: footerNum;
}
.rptFooter:after {
counter-increment: footerNum;
content: "Page " counter(footerNum) " of " counter(footerNum) ;
}
i am getting in each page
Page 1 of 1