Description
The CONTROL message is used to set miscellaneous properties for printing. The Intercolumn parameter sets the distance, in points, between columns that are printed with the TEXTCOL message. If the First Page Header or Footer is set, then this header or footer is only printed on the first page and the remaining pages use the header and footer that is set with the HEADER and FOOTER messages. The First Page Header and Footer are printed with the First Page Font, if it is specified.
Parameters
Parameter | Description of Fields | Comments | Default |
---|---|---|---|
Parm1 - ControlInfo | <1> TimeOut | NOT USED | "" |
<2> Intercolumn | Distance between columns in Points, 10 to 64. Note: This parameter is deprecated and is not supported in OpenInsight. | 12 | |
Parm2 - First Page Header | <1> First Page Header | Header for the first page | "" |
Parm3 - First Page Footer | <1> First Page Footer | Footer for the first page | "" |
Parm4 - First Page Font | <1> FontInfo | Same structure as the FONT message | "" |
See also
Example
* The following example shows how to use the CONTROL message to set the first page header * and footer. declare function Set_Printer stat = Set_Printer("INIT") ;* Start printing stat = Set_Printer("CONTROL", "", "First Head", "First Foot", "Times New Roman":@FM:18) stat = Set_Printer("TEXT", "Test 1 2 3") stat = Set_Printer("TERM") ;* End printing