ESC $

 

 

 

Set Absolute Print Position

Format:

 

 

 

 

ASCII code:

ESC

$

nl

n2

Decimal:

27

36

nl

n2

Hexadecimal:

1B

24

n7

n2

Comments:

This sequence specifies the distance from the currently set left margin that subsequent characters are to be printed, using this formula: total number of dots = nl + (n2 X 256). Each unit equals 1/60th of an inch. The sequence is ignored and the previous setting remains effective if the position specified is beyond the right margin. This command applies to both draft and NLQ.

ESC 1

 

 

 

Set Relative Position

Format:

 

 

 

 

ASCII code:

ESC

1

nl

n2

Decimal:

27

92

nl

n2

Hexadecimal:

1B

SC

nl

n2

Comments:

Determines the position (relative to the current position) at which printing of following data will start. To find nl and n2, first calculate

the displacement required in l/l20ths of an inch. Send the resulting number using this formula: total number of dots = nl + (n2 X 256). If the displacement is to the left, subtract the number from 65536 before you

use the formula. The command is ignored if it would move the print position outside the current margins. This command applies to both draft and NLQ.

Command Summary

8-21