In the Printer View Margins topic:
Page Number Margin
The page number margin, implemented by the PrinterPageNumberMargin class, is used to display the current page number on each page, along with the total page count. It appears in the bomttom placement.
Also an issue with 2012.1.