0

I have a button which does a window.print() that prints out an Oracle APEX classic report, and I am just wondering if there is any way to add a page number while printing?

I added the following CSS code to the html header section of the region, which doesn't seem to work.

<style media="print" type="text/css">
div#pageFooter:after  
{
 counter-increment: page;  
 content: "Page " counter(page) " of " counter(pages);
}  
</style>

It printed out "Page 1 of 0" only on the first page.

Hleb
  • 7,037
  • 12
  • 58
  • 117
William Mu
  • 115
  • 5
  • 16

0 Answers0