guides:programming:programmers_reference_manual:pos_set_printer_message

POS Set_Printer Message

The POS message is used to set the current printing position for the TEXT, TEXTCOL, ADDTABLE, and TABLE Set_Printer() messages.

ParameterDescription of FieldsCommentsDefault
Parm1 - POS<1> XCurrent X pos""
<2> YCurrent Y pos""

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.

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