A-98
ESC X Set Horizontal Starting Position Example
OPEN "COM1:9600,n,8,1" FOR OUTPUT AS #1
PRINT #1, “^027*^029t^030^029V1";
PRINT #1, “True Left Margin^010";
PRINT #1, “^027X^001^150";
PRINT #1, “2 inch ";
PRINT #1, “Indent^010";
PRINT #1, “^027X^000^203";
PRINT #1, “1 inch Indent";
PRINT #1, “^010^012”;
Example 23: ESC X Set Horizontal Starting Position
ESC Y Set Vertical Starting Position Example
OPEN "COM1:9600,n,8,1" FOR OUTPUT AS #1
PRINT #1, “^027*^029t^030^029V1";
PRINT #1, “True Top Margin^010";
PRINT #1, “^027Y^020";
PRINT #1, “20 millimeters from the top^010";
PRINT #1, “^027Y^010";
PRINT #1, “10 millimeters from the top^010";
PRINT #1, “^012”;
Example 24: ESC Y Set Vertical Starting Position
GS DC2 Set Font to Double Height Example
OPEN "COM1:9600,N,8,1" FOR OUTPUT AS #1
PRINT #1, “^027*^027T^029^018";
PRINT #1, “This line is Double Height^010";
PRINT #1, “^029^019";
PRINT #1, “This line is Normal Height^010";
PRINT #1, “^012”;
Example 25: GS DC2 Set Font to Double Height
GS DC3 Cancel Double Height Example
OPEN "COM1:9600,N,8,1" FOR OUTPUT AS #1
PRINT #1, “^027*^027T^029^018";
PRINT #1, “This line is Double Height^010";
PRINT #1, “^029^019";
PRINT #1, “This line is Normal Height^010";
PRINT #1, “^012”;
Example 26: GS DC3 Cancel Double Height