Sets the page header print and font.

status = Print_SetHeader (headertext, font)

The Print_SetHeader function has the following parameters:

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

True for successful execution or False for failure.

/* 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.
  • No labels