Description
The POS message is used to set the current printing position for the TEXT, TEXTCOL, ADDTABLE, and TABLE Set_Printer() messages.
Parameters
| Parameter | Description of Fields | Comments | Default |
|---|---|---|---|
| Parm1 - POS | <1> X | Current X pos | "" |
| <2> Y | Current Y pos | "" |
Remarks
Most Set_Printer() messages will ignore the X position, because they print at the left margin and use the current justification from the FONT message.
Example
/* The following example shows how to use the POS message to print text at 3 inches below the top margin. */
declare function Set_Printer
stat = Set_Printer("INIT") ;* Start printing
stat = Set_Printer("POS", 0:@FM:3.0)
stat = Set_Printer("TEXT", "Test 1 2 3 . . . ")
stat = Set_Printer("TERM") ;* End printing