Download Print this page

Citizen CBM-202PC-04 User Manual page 63

Thermal printer mechanical control lsi
Hide thumbs Also See for CBM-202PC-04:

Advertisement

[Function]
Aligning the characters
[Code]
<1B>H<61>H<n>
[Range]
{0 n 2}
[Outline]
All the printed data within one line are aligned in the specified position.
[Caution]
[Sample Program]
LPRINT CHR$ (&H1B) + "a" + CHR$ (0) ;
LPRINT "AAAAA" + CHR$ (&HA) ;
LPRINT CHR$ (&H1B) + "a" + CHR$ (1) ;
LPRINT "AAAAA" + CHR$ (&HA) ;
LPRINT CHR$ (&H1B) + "a" + CHR$ (2) ;
LPRINT "AAAAA" + CHR$ (&HA) ;
[Print Results]
Data is described in Hex code.
Depending on n value, positional alignment is carried out as in the table below:
n (Hex)
0
1
2
This is valid only when n is inputted at the beginning of line.
The initial value of n is "0".
Position
Left end alignment
Centering
Right end alignment
63
CBM-202PC-04 User's Manual
CITIZEN

Advertisement

loading