Control font settings for Headers and Footers

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
amutch
Benefactor
Benefactor
Posts: 113
Joined: Fri Jan 10, 2003 7:39 am

Control font settings for Headers and Footers

Post by amutch »

Where does PWB store the settings related to font colors, sizes, etc. used in the Headers and Footers and set under Page setup? Is there a way to lock that down? We have patrons who like to change those and we would prefer they stay with the default settings.

Thanks!

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

Re: Control font settings for Headers and Footers

Post by Scott »

PWB v2 uses the Internet Explorer HTML Rendering engine which stores the Page Setup information in the Windows Registry.

Some of these settings can be manipulated via the "[PageSetup]" section of the PWB INI file.

[PageSetup]
UseCustom=False
Footer=&u&b&d
Header=&w&bPage &p of &P
MarginBottom=0.75000
MarginLeft=0.75000
MarginRight=0.75000
MarginTop=0.75000
Duplex=1
Orientation=1

Other settings can be found in the following Windows Registry location.

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer

You could have PWB import a registry script when it starts via the PWB "[Files]StartupScript=" setting in the INI file.

--Scott

amutch
Benefactor
Benefactor
Posts: 113
Joined: Fri Jan 10, 2003 7:39 am

Re: Control font settings for Headers and Footers

Post by amutch »

Thanks!

Post Reply