Epson ESUP Commands Arranged by Topic

ESC $Set Absolute Print Position

Format:

ASCII code: ESC $ nl n2Decimal:27 36 nl n2Hexadecimal: 1B 24 n7 n2

Comments:

This sequence specifies the distance from the currently set left margin that s&sequent 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.

ESC \

 

 

 

Set Relative Position

Format:

 

 

 

 

ASCII code:

ESC

\

nl

n2

Decimal:

27

92

nl

n2

Hexadecimal:

1B

5C

nl

n2

Comments:

Determines the position (relative to the current position) at which printing of followiq data will start. To find nl and n2, first calculate the displacement required in l/ltoLhs of an inch. If the

displacement is to the left, subtract it from,65536. Send the resulting number using this formula: total number. of

dots = nl + (n2 x 256). The command is ignored if it would move the print position outside the current margins.

Command Summary 9-21