DOCUMENT:Q78790 11-OCT-1999 [win95x] TITLE :Changing Header and Footer Commands in Notepad PRODUCT :Microsoft Windows 95.x Retail Product PROD/VER:WINDOWS:3.0,3.0a,3.1,3.11 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Windows versions 3.0, 3.0a, 3.1, 3.11 - Microsoft Windows for Workgroups versions 3.1, 3.11 ------------------------------------------------------------------------------- SUMMARY ======= When you use Notepad in Microsoft Windows, you can remove and/or change headers and footers. The default header and footer settings in Notepad are as follows: Headers: &f Footers: Page &p These commands give you the title of the document on the top of the page and a page number at the bottom. MORE INFORMATION ================ All header and footer setting must be entered manually each time you want to print a document. These settings cannot be saved. To change headers and footers, choose Page Setup from the File menu and enter the desired command(s) in the Header and Footer text boxes. The following 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 will print. You can also insert words into the Header and Footer text box and they will print in their appropriate position. Letters after the "&" sign do not have to be capitalized. In Notepad, your header is centered, regardless of the formatting codes you use, 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 "&lTitle text" (without the quotation marks). REFERENCES ========== "Microsoft Windows User's Guide," page 386 "Microsoft Excel User's Guide," page 535 Additional query words: 3.00 3.0 3.00a 3.0a 3.10 3.11 ====================================================================== Keywords : Technology : kbAudDeveloper kbWin3xSearch kbWFWSearch kbZNotKeyword3 kbWin300 kbWin300a kbWin310 kbWin311 kbWFW310 kbWFW311 Version : WINDOWS:3.0,3.0a,3.1,3.11 ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1999.