blog.jj5.net (2003 to 2005)

I discovered a notepad.exe feature!

Wed Feb 9 18:17:00 UTC+1100 2005

Categories:

...who'd of thought that was possible?

Turns out you can configure the header and footer as part of the print settings. I'd never thought to look before, but that file name smack bang on the top of the page has pissed me off for years.

Use File => Page Setup to configure the header/footer.

You can use these codes to insert particular information:

&f - Insert the open file's name or "(untitled)" if the file has no name.
&d - Insert the date.
&t - Insert the time specified by your computer's clock.
&p - Insert page numbers.
&& - Insert an ampersand (&).
&l - Align header to left.
&c - Align header to centre.
%r - Align header to right.

The defaults settings are:

Header: &f
Footer: Page &p

My current settings are:

Header:
Footer: &l&f - Page &p - Printed: &d at &t UTC

Good work notepad! :)


Copyright © 2003-2005 John Elliot