Table of Contents

FOOTER Set_Printer Message

Description

The FOOTER message is used to set the page footer. The font that is used by the FOOTER message is set with the FONTHEADFOOT message.

Parameters

Parameter
Description of Fields
Comments
Default
Parm1 - Footer
<1> Footer
"Footer String" can contain:
'P' Current page
'D' Current date
'T' Current time
'F' File name
Left:@VM:Center:@VM:Right
@FM between lines
""
Parm2 -
NOT USED
""

Remarks

The footer can contain special codes in single quotes to insert data into the footer and control the output of the footer. The 'D' code for date will use the Short Date format from the International section of the Windows Control Panel. Use the 'DL' code to print the date using the Long Date format from the International section of the Windows Control Panel. Use @FM to delimit lines in the footer, and use @VM to separate the left, center, and right justified footer text. The footer will be placed just below the bottom margin. Make sure there is enough room for the footer text and font below the bottom margin, otherwise the footer will be clipped. The Footer parameter specifies the footer text. There is approximately one character distance between each column. To change the distance between the columns use the CONTROL message. To set the first page footer use the CONTROL message. The ColFooter parameter is used to set the column footers. The column footer uses @VM between columns, and @FM between rows. To mix standard text with columnar text use the TEXT and TEXTCOL messages.

See Also

FONTHEADFOOT, HEADER Set_Printer messages

Example

* The following example shows to use the FOOTER message.
declare function Set_Printer
stat = Set_Printer("INIT") ;* Start printing
footer = "This is the main Footer Page 'P' File = 'F'"
* Set the footer
stat = Set_Printer("FOOTER", footer) ;* Set footer
stat = Set_Printer("TERM") ;* End printing