Solved

Don't want to print header and footer in Notepad

Posted on 2002-05-31
9
449 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
 
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

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…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now