Fix Microsoft Word Printing Page Number Field Codes
Question details
Print actual page numbers instead of page number field codes in a Word document.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- A document contains page numbers in its header or footer and needs to be printed.
- Observed behavior
- Word prints field codes, such as page number field codes, instead of the page numbers.
Open the affected document in Word and check whether the header or footer shows a page number or a field code. Also check File > Print to see how the document is previewed.
Change Word's setting for printing field codes
Use this setting when page numbers appear on screen but field codes are printed.
In Word, select File > Options, then choose Advanced.
Scroll to the Print section and clear the checkbox labeled Print field codes instead of their values. Select OK.
Select File > Print and check the preview, then print the document to verify that the page numbers appear.

Switch field codes to page numbers on screen
Use the field display shortcut when codes appear in the document instead of page numbers.
Print Word Documents with WPS Writer
WPS Office is a free, lightweight alternative with a familiar interface. Open compatible Word documents in WPS Writer and review their layout before printing for an easy transition from Microsoft Office.

Frequently Asked Questions
Why does Word print a page field code instead of a number?
Word may be set to print field codes rather than their values. Go to File > Options > Advanced and clear Print field codes instead of their values in the Print section.
How do I show page numbers instead of field codes on screen?
Press Alt+F9 in the open Word document to switch between field codes and their results.
Does Alt+F9 change Word's print setting?
No. Alt+F9 toggles the field display in the document. To change what Word prints, check File > Options > Advanced > Print.
Can I open my Word document in WPS Writer?
Yes. WPS Writer supports Microsoft Word DOC and DOCX files. Open the document in WPS Writer and check its layout and page numbers in print preview before printing.




