This article describes the techniques to insert page numbers and associated information in the headers and footers of a document.

Insert a Page Number Field
You need to place a page number field in a header or footer for that number to appear on each page and change from one page to the next.
The page number appears on a gray background indicating that it is a field; although visible on the screen, this background is not printed.
Layout: The Basics
Create a header or footer and then add a page number field
See pages 8 and 9 of the PDF document below:

