How to Remove the File Name from a Printed Document in Windows 7 Notepad

Notepad is a free text editor included with every copy of Windows 7, and it provides a very basic tool for creating and printing text documents.

But you may find that Notepad is printing the file name at the top of the page, which can be problematic for your needs.

Fortunately, this is a setting that you can adjust, allowing you to print your Notepad files without the included file name, if you so wish.

Our tutorial below will show you where to go in Notepad to apply the change to your documents and remove the file name from the top of your printed documents.

Stop Printing File Name at the Top of the Page in Notepad

The steps in this article were written using the version of Notepad included in Windows 7.

Step 1: Open the document in Notepad.

Step 2: Click the File tab at the top of the window, then click Page Setup.

click file, then click page setup

Step 3: Click inside the Header field, then delete the &f text displayed there. Note that there may also be &p text displayed in the Footer field, which will print the page number at the bottom of the page. You can delete that as well, if you do not need the page number printed at the bottom of the page.

clear the header field

Step 4: Click the OK button at the bottom of the window to apply the changes.

click the ok button

You can then click File at the top of the window, then Print to open the Print window and print your document.

Note that if you want to print the file name and page numbers on future documents, then you will need to add the &f and &p text back into the header and footer fields on the Page Setup menu, respectively.

Find out how to remove the file name from a printed document in Notepad if you don’t wish to display that information on the printed version of the document.

Do CSV files on your computer open in Notepad by default, but you would prefer to have them open with Excel? This guide will show you how to make that change.

Join Our Free Newsletter

Featured guides and deals

You may opt out at any time.
Read our Privacy Policy