Printing Problems

Fix Microsoft Word Printing Page Number Field Codes

Natalie TaylorNatalie Taylor Nov 14, 2026 868 views

Question details

Print actual page numbers instead of page number field codes in a Word document.

Fix Microsoft Word Printing Page Number Field Codes
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.
Before you start

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.

Solution 1Recommended

Change Word's setting for printing field codes

Use this setting when page numbers appear on screen but field codes are printed.

1
Open Word options

In Word, select File > Options, then choose Advanced.

2
Disable field code printing

Scroll to the Print section and clear the checkbox labeled Print field codes instead of their values. Select OK.

3
Check and print

Select File > Print and check the preview, then print the document to verify that the page numbers appear.

Change Word's setting for printing field codes
Free Microsoft Office alternative

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.

Open and edit Microsoft Word DOC and DOCX filesPreview document layouts and page numbers before printingWork in a familiar, easy-to-use interfaceUse a free, lightweight office suite for everyday documents
microsoft office alternative - wps 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.