Esc A N Select Character Align Mode - SNBC BTP-R580II Programming Manual

Table of Contents

Advertisement

• The horizontal and vertical motion units are specified by GS P.
• In standard mode, the horizontal motion unit is used.
• In page mode, the horizontal or vertical motion unit differs as follows, depending on
the direction and starting position of the print area:
① When the starting position is set to the upper left or lower right of the print area
using ESC T, the horizontal motion unit is used.
② When the starting position is set to the upper right or lower left of the print area
using ESC T, the vertical motion unit is used;
[Relative]
ESC $, GS P

ESC a n Select character align mode

[Function]
Align all the print data in some specified align mode.
[Format]
ASCII
Hex
Decimal 27
[Range]
0 ≤ n ≤ 2, 48 ≤ n ≤ 50
Relationship between value of n and align mode:
[Notes]
• This command is enabled only when processed at the beginning of the line in
standard mode.
• If this command is input in page mode, the printer performs only internal flag
operations.
• This command adjusts the space area according to commands HT, ESC $ or ESC\.
[Default]
n = 0
[Example]
0A(Entering line mode)
1B 40(Initialization)
1B 61 00(Set left justification)
41 42 43 0A
41 42 43 44 0A
41 42 43 44 45 0A
1B 61 01(Setting centering)
41 42 43 0A
41 42 43 44 0A
41 42 43 44 45 0A
1B 61 02(Set right justification)
41 42 43 0A
41 42 43 44 0A
41 42 43 44 45 0A
Result:
ESC
a
n
1B
61
n
97
n
n
0, 48
1, 49
2, 50
BTP-R580II Programming Manual
Justification
Left justification
Centering
Right justification
- 11 -

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents