Citizen CBM-270 user manual Esc $, Esc ¥

Models: CBM-270

1 114
Download 114 pages 19.21 Kb
Page 69
Image 69

CBM-270 User’s Manual

ESC $

n1

n2

[Function]

Specifying the absolute positions

[Code]

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

[Range]

0 £ n1 £ 255

 

0 £ n2 £ 1

[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 ´ 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) ;

END

[Print Results]

69

CITIZEN

Page 69
Image 69
Citizen CBM-270 user manual Esc $, Esc ¥