You are currently offline, waiting for your internet to reconnect

Changing Header and Footer Commands in Notepad

This article was previously published under Q78790
This article has been archived. It is offered "as is" and will no longer be updated.
When you use Notepad in Microsoft Windows, you can remove and/or changeheaders and footers. The default header and footer settings inNotepad are as follows:
Headers: &f
Footers: Page &p
These commands give you the title of the document on the top of the pageand a page number at the bottom.
All header and footer setting must be entered manually each time you wantto print a document. These settings cannot be saved.

To change headers and footers, choose Page Setup from the File menu andenter the desired command(s) in the Header and Footer text boxes. Thefollowing is a short list of header and footer commands:
   Command   Action   -------   --------------------------------------   &l        Left-align the characters that follow   &c        Center the characters that follow   &r        Right-align the characters that follow   &d        Print the current date   &t        Print the current time   &f        Print the name of the document   &p        Print the page number				
If you leave the Header or Footer text box empty, no header or footer willprint. You can also insert words into the Header and Footer text box andthey will print in their appropriate position. Letters after the "&" signdo not have to be capitalized.

In Notepad, your header is centered, regardless of the formatting codes youuse, if the formatting code is not the first item in the Header text box.For example, to align a title to the left side of the page, use &lTitletext.
"Microsoft Windows User's Guide," page 386
"Microsoft Excel User's Guide," page 535
3.00 3.0 3.00a 3.0a 3.10 3.11

Article ID: 78790 - Last Review: 12/04/2015 09:10:51 - Revision: 3.0

Microsoft Windows 3.0 Standard Edition, Microsoft Windows for Workgroups 3.1, Microsoft Windows for Workgroups 3.11

  • kbnosurvey kbarchive KB78790