Description

Sets the page header print and font.

Syntax

status = Print_SetHeader (headertext, font)

Parameters

The Print_SetHeader function has the following parameters:

ParameterDescription
headertextText for the heading.
FontStructure of the font as returned by Utility ("CHOOSEFONT").

Returns

True for successful execution or False for failure.

Example

/* Sets the print header to number each page consecutively and put the date on each page. */
FontStruct = Utility("CHOOSEFONT", @Window)
Print_SetHeader('This is the Header: P.\PAGE':@FM: |
"Date: 8/3/95", FontStruct)
Note:  In order for lines of text to wrap, each line must be delimited by an @FM.