ESC $ n1 n2

[Function]

Specifying the absolute positions

[Code]

<1B>H<24>H<n1><n2>

[Range]

0

n1

255

 

0

n2

255

[Outline]

The printing start position is moved to a position specified with

 

(n1 + (n2 × 256) ) × basic calculation pitch from the beginning

 

(left margin) of a line.

 

• The moved position 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 × 256

 

 

from the beginning of a line.

[Caution]

The basic calculation pitch is set by GS P. After the line feed

 

width is set, if the basic calculation by GS P leaves a fraction,

 

the fraction is corrected with the minimum pitch of the

 

mechanism, and the remainder is omitted.

 

In STANDARD MODE, this command uses the horizontal (Paper

 

feed direction) basic calculation pitch (x).

 

In PAGE MODE, this command acts differently depending on

 

the start point:

 

(1) If the start point specified by ESC T is top right or bottom

 

 

left, the command uses the vertical (Paper feed direction)

 

 

basic calculation pitch (y).

 

(2) If the start point specified by ESC T is top left or bottom

 

 

right , the command uses the horizontal (Perpendicular to

 

 

the paper feed direction) basic calculation pitch (x).

 

Specification beyond the end of the line is ignored.

[Default]

The initial value is not defined.

[See Also]

ESC \, GS P, GS \, GS $

— 61 —

Page 81
Image 81
Citizen Systems iDP3240 user manual ESC $ n1 n2, Default