beautypg.com

Citizen Systems CBM-230/231 User Manual

Page 48

background image

CBM-230/231 User’s Manual

CITIZEN

48

(28) Specifying Absolute Positions (ESC $ n1 n2)

Code : [1B]h + [24]h + n1 + n2
* {0

n1

FF}

{0

n2

1} Data is described in Hex code.

The printing start position is specified in the number of dots from the beginning of line.

l The number of dots is divided by 256, whose quotient is taken as n2 and the residual as n1.

Therefore, the printing start position is equal to n1 + n2 x 256 from the beginning of line..

l Specifying beyond the line end is ignored.

(29) Specifying Relative Positions (ESC ¥ n1 n2)

Code : [1B]h + [5C]h + n1 + n2
* {0

n1

FF}

{0

n2

FF} Data is described in Hex code.

l The printing start position is specified in the number of dots from the current position.
l Rightward direction is taken as plus and leftward direction as minus.
l To specify N dot in minus (left) direction, use a complement of N for assignment.

- N dots = 65536 - N

l The number of dots is divided by 256, whose quotient is taken as n2 and the residual as n1.
l Specifying exceeding the end of line is ignored.