Monday, March 9, 2009

Remove default header and footer from notepad

While printing any document from notepad, It will automatically include the header as the file name and footer as the page number. At some times it may be annoying. U have to disable it every time while printing.

To disable it permanently u have to do a little trick in registry.
Follow these steps:
1. Start->run->regedit
2. Goto the key HKCU\Software\Microsoft\Notepad
3. In the right pane look for a key named "szHeader" and "szTrailer"
4. Double click on it and delete the default value contained in it and press ok.

Thats it, the header and footer will never be displayed while printing from notepad. If u want to restore it put the default value back into those keys.
default values are
szHeader - "&f"
szTrailer - "Page &p"

Happy printing.

No comments:

Post a Comment

Page Counter