Page History
...
Parameter | Description of Fields | Comments | Default |
---|---|---|---|
Parm1 -Header Font | <1> Font Name | "Font String" | Courier New |
<2> Point Size | 4-128 | 10 | |
<3> Justification | Not used - set the justification with the header and footer flags | "" | |
<4> FontBold | 0=Normal 1=Bold | 0 | |
<5> Italics | 0/1 | 0 | |
<6> Underline | 0/1 | 0 | |
<7> Strikethrough | NOT USED | 0 | |
<8> ForeColor | COLORREF | 0 (Black) | |
Parm2 - Footer Font | Same format as the Header FontStructure |
See also
Example
Code Block |
---|
/* The following example shows how to use the FONTHEADFOOT message to change the header to Bold, 14 point, Time New Roman and the footer to 10 Point, Times New Roman.*/ declare function Set_Printer stat = Set_Printer("INIT") ;* Start printing headerfont = "Times New Roman,14,L,1" ;* 14 point, Left just, Bold convert "," to @fm in headerfont ;* Use @FM delimiter footerfont = "Times New Roman,14,L" ;* 14 point, Left just, Bold convert "," to @fm in footerfont ;* Use @FM delimiter stat = Set_Printer("FONTHEADFOOT", headerfont, footerfont) ;* Set font stat = Set_Printer("TERM") ;* End printing |