Esc A N - Citizen CBM1000 User Manual

Cbm america user's manual line thermal printer cbm1000
Hide thumbs Also See for CBM1000:
Table of Contents

Advertisement

ESC a n

[Function]
[Code]
[Range]
[Outline]
[Caution]
[Default]
[Sample Program]
[Print Results]
Aligning the characters
<1B>H<61>H<n>
0
n
2
48
n
50
All the printed data within one line are aligned in the specified
position.
• Depending on the value "n", positional alignment is carried
out as shown in the table below:
n
0,48
1,49
2,50
• This command is valid only when it is inputted at the beginning
of a line.
• This command does not affect the PAGE MODE.
n = 0
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);
END
AAAAA
Left-justified
— 83 —
Position
Left end alignment
Centering
Right end alignment
AAAAA
Centered
Right-justified
Paper Feed
AAAAA
Direction

Advertisement

Table of Contents
loading

Table of Contents