Solved

Don't want to print header and footer in Notepad

Posted on 2002-05-31
9
452 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
  • 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Visual C++ Runtime Error on Windows 2000 Server 2 1,506
Making a spare domain pc 12 325
Registry Error Stop 0X0000051 3 2,805
Closing cmd window after script execution 4 305
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…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

773 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