You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

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

Parameters

ParameterDescription of FieldsCommentsDefault
Parm1 - POS<1> XCurrent X pos""
 <2> YCurrent 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
  • No labels