I need to open Notepad and print out the txt file automatically. However, it always print the header (&f) and footer (Page &p) which I don't want. I delete the header and footer in Notepad then close it and open it again, the default header and footer are still there. The task automatically opens and closes Notepad, so next time it runs, a new Notepad will run.
I searched in Registry to find a key for that setting but could not find anything.
Does anyone know how to completely delete the header and footer from notepad.