PPU-231 User’s Manual

ESC $ n1

n2

[Function]

Specifying the Absolute Positions

[Code]

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

[Range]

{0 ≤ n1 ≤ FF}

 

{0 ≤ n2 ≤ 1} Data is described in Hex code.

[Outline]

The printing start position is specified in the number of dots (1/203 inch

unit) from the beginning of line.

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..

[Caution]

• Specifying beyond the line end is ignored.

[Default]

• The initial value is not specified.

[See Also]

ESC ¥

[Sample Program]

 

 

LPRINT CHR$ (&H1B) + "$" ;

 

LPRINT CHR$ (0) + CHR$ (0) + "A" ;

 

LPRINT CHR$ (&H1B) + "$" ;

 

LPRINT CHR$ (50) + CHR$ (0) + "B" ;

 

LPRINT CHR$ (&H1B) + "$" ;

 

LPRINT CHR$ (0) + CHR$ (1) + "C" ;

 

LPRINT CHR$ (&HA) ;

 

LPRINT CHR$ (&H1B) + "$" ;

 

LPRINT CHR$ (100) + CHR$ (0) + "A" ;

 

LPRINT CHR$ (&H1B) + "¥" ;

 

LPRINT CHR$ (&HC2) + CHR$ (&HFF) + "B" ;

 

LPRINT CHR$ (&HA) ;

[Print Results]

 

66

CITIZEN

Page 79
Image 79
Citizen PPU-231 manual ESC $ n1, Esc ¥