In TextEdit, print the page number (in the footer) and the date and document title (in the header).
Open TextEdit for me
Choose File > Print, then click Show Details.
Select “Print header and footer.”
Note: Headers and footers appear only on printed pages, not on the screen.