Solved

Don't want to print header and footer in Notepad

Posted on 2002-05-31
9
455 Views
Last Modified: 2010-04-13
Hi all,

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.

Thanks.
0
Comment
Question by:phuctran
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
9 Comments
 
LVL 44

Expert Comment

by:CrazyOne
ID: 7048207
I afraid this function is built into the executable and is not customizable. You might consider using Word Pad.


The Crazy One
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 7048225
You might consider using this free replacement which does not use headers or footers.
NotePad+
http://www.mypeecee.org/rogsoft/notepad.html

or this one
http://users.erols.com/fwcetus/cnotepad.htm
http://users.erols.com/fwcetus/cnotepad.zip
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 7048241
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 4

Accepted Solution

by:
EricWestbo earned 200 total points
ID: 7049181
This has worked for me:

** This suggestion contains information about editing the registry. Before you edit the registry, make sure that you understand how to restore it if a problem occurs. **

1. Open your registry editor and change the value data in [HKCU\Software\Microsoft\Notepad>fSavePageSettings] from 0 to 1.  Close the editor.

2. Open Notepad>File>Page_Setup and delete the header and footer strings.  Close notepad.

The next time you open notepad, the header and footer strings will not appear.

Hope this helps!

/EW

** WARNING : Using Registry Editor incorrectly can cause serious problems that may require that you reinstall your operating system. Microsoft cannot guarantee that problems that result from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.  **
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 7049188
Good call EricWestbo. I confirm that the registry setting does work.
0
 
LVL 4

Expert Comment

by:EricWestbo
ID: 7055938
phuctran....

where do we stand on this?  did the comment resolve your issue?  if so, please aware points as appropriate, otherwise, please post more information so that we can pursue the matter further.

/ew
0
 
LVL 3

Author Comment

by:phuctran
ID: 7162947
Oh, sorry.  Somehow, my email server did forward these notification to my mail server (I only check that mail server).  I will response as soon as possible.  I think if EricWestbo's solution works, he will get the point because I did use another program instead of Notepad but I don't like that solution (I cannot ask my customers to install a program to solve that problem).

Thank you.
0
 
LVL 3

Author Comment

by:phuctran
ID: 7162996
EricWestbo,

It works.  Thank you.
0
 
LVL 4

Expert Comment

by:EricWestbo
ID: 7163385
my pleasure...

/ew
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Let’s face it: one of the reasons your organization chose a SaaS solution (whether Microsoft Dynamics 365, Netsuite or SAP) is that it is subscription-based. The upkeep is done. Or so you think.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question