guides:programming:programmers_reference_manual:print_setheader

Print_SetHeader function

Note: \PAGE will print the current page number. This can be used in conjunction with any of the printer functions.

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.
  • guides/programming/programmers_reference_manual/print_setheader.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1