Page Setup
The Page Setup command allows you to specify your print settings (headers and footers, margins, font size, and orientation) within ProAdmin. 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 ProAdmin.
Each user can define their print settings. Changes to print settings alter your standard print settings. That is, they are retained and used each time that you print.
When you start ProAdmin, 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 ProAdmin. 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.
ProAdmin 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 a section from the Detailed Results:
Detailed Results Printed February 24, 2016 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 |
(used for ProVal) database file name (without drive & path) |
#DATE |
current date |
#MODE |
(used for ProVal) 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 |
ProAdmin version number and date |
For Network Administrators
The standard header and footer are stored in the [Header] and [Footer] sections respectively in the PROADMIN.INI file. Empty or absent [Header] and [Footer] sections denote that ProAdmin 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