Printing of headers and footers

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
jfrasier
Benefactor
Benefactor
Posts: 135
Joined: Sun Jun 27, 2004 9:05 pm

Printing of headers and footers

Post by jfrasier »

I am trying to use the pwb.ini to NOT have headers and footers. I have tried putting ;header= and header= but I still get a header. How can I get rid of it entirely? I am using PWB 2.06.

thanks

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

In PWB v2.09 or earlier, a blank setting in any of the [PageSetup] keys will result in the functionality being disabled. This has been changed in PWB v2.10 to allow for a blank field.

As a work around you can use just a "&" in the key to prevent the header from being printed.

[PageSetup]
UseCustom=True
Footer=&
Header=&
...

--Scott

jfrasier
Benefactor
Benefactor
Posts: 135
Joined: Sun Jun 27, 2004 9:05 pm

Post by jfrasier »

Thanks, Scott. That works ok. Oddly enough when I print from PWB with the & and &, the page prints on 2 pages (2nd page mostly blank) but when I use IE and remove the & from the header and footer it fits on one page.

I can live with that but just thought I would mention it.

Jane

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

Instead of using the PWB setting, you can also set it in the registry directly.

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup

Header=""

The only problem with this is it is a user setting and can be changed by the user.

Just make sure you set the custom page setup in PWB to false, or PWB will change it back.

--Scott

Post Reply