Page Setup
The Page Setup command allows you to specify your print settings (headers and footers, margins, font size, and orientation) within ProVal. Print settings can be changed by using the Page Setup command (on the File menu) or by clicking the Print button when viewing something in ProVal.
Each user can define their print settings. The scope of any change in print settings depends on where you are:
In commands that let you save output styles (e.g., Valuation Output, Valuation Set Output, Frequency Tables, Descriptive Statistics, etc.), each output style has its own custom print settings. For these commands, changes to print settings are saved as part of the output style; they never affect your standard print settings. For output styles, you may also select whether to use a custom header and footer or your standard ones (the standard header and footer are specified using the Page Setup command).
In all other commands (e.g., Data Dictionary, Valuation Assumptions, Valuations, etc.), changes to print settings alter your standard print settings. That is, they are retained and used each time that you print.
When you start ProVal, the Printer is initialized to your Default Printer (as set in the Windows Control Panel). If you switch the printer, this setting is retained until you close ProVal. The Properties button gives you access to the selected printer’s settings (as determined by the printer driver).
Orientation switches between portrait and landscape.
Paper selects the size and source (e.g., printer tray).
Font Size changes the size of printed characters in points.
Margins are of the printed page and are measured in inches.
Header and Footer
Clicking the Header and Footer button leads to another dialog box, in which you define headers and footers.
ProVal headers and footers are specified using "templates" that give the form of the titles. A template is a mix of plain text, keywords and alignment symbols.
Plain text appears in your titles unchanged.
Keywords are replaced with appropriate values in the titles. For example, #DATE is replaced with the current date and #PAGE with the page number. The comprehensive keyword list is provided below.
Caret (^) symbols indicate alignment in a template. A line may contain up to two carets, which divide the line into three regions. The first region is left-justified, the second is centered, and the third is right-justified. If a line has only a single caret, the two regions are left-justified and right-justified. If a line has no carets, the spacing is not altered.
For example, the template:
#TITLE ^ Printed #DATE ^ Page #PAGE
produces the following when printing Valuation Output:
Valuation Output Printed 29 May 2009 Page 33
Keyword List
The following Keywords are permissible in the header or footer and may be written in either upper or lower case:
#PROJECT |
current Project name |
#CLIENT |
current Client name |
#DATABASE |
database file name (without drive & path) |
#DATE |
current date |
#MODE |
mode of computation (a pension mode or OPEB) |
#NUMPAGES |
total number of pages |
#PAGE |
page number |
#PATH |
path to client directory |
#TIME |
current time |
#TITLE |
report title (first line) |
#TITLE2 |
output style (if any) or name of library entry |
#USER |
current user name |
#UTC |
Coordinated Universal Time adjustment to local time (e.g., UTC – 5:00) |
#VERSION |
ProVal version number and date |
For Network Administrators
The standard header and footer are stored in the [Header] and [Footer] sections respectively in the PROVAL.INI file. Empty or absent [Header] and [Footer] sections denote that ProVal default(s) will be used.
The NumLinesBelow parameter in the [Header] section denotes the number of blank lines below the header and the NumLinesAbove parameter in the [Footer] section denotes the number of blank lines above the footer. An example of the [Header] and [Footer] sections is listed below:
[Header]
1=#TITLE ^ #USER Page #PAGE of #NUMPAGES
2=#TITLE2 ^ Printed: #DATE #TIME #UTC
BlankLinesBelow=2
[Footer]
1=Folder: #PATH
2=Project: #PROJECT ^ Version: #VERSION
BlankLinesAbove=1