•The print starting position moves from the current position to [N ✕ horizontal or vertical motion unit]
•The horizontal and vertical motion unit are specified by GS P.
•The GS P command can change the horizontal (and vertical) motion unit. However, the value cannot be less than the minimum horizontal movement amount, and it must be in even units of the minimum horizontal movement amount.
•In standard mode, the horizontal motion unit is used.
•In page mode, the horizontal or vertical motion unit differs as follows, depending on the starting point of the printing area:
➀When the starting position is set to the upper left or lower right of the printable area using ESC T, the horizontal motion unit (x) is used.
➁When the starting position is set to the upper right or lower left of the printable area using ESC T, the vertical motion unit (y) is used.
[Reference] ESC $, GS P
ESC a n
[Name] | Select justification |
|
| |
[Format] | ASCII | ESC | a | n |
| Hex | 1B | 61 | n |
| Decimal | 27 | 97 | n |
[Range] | 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 |
|
|
[Description] Aligns all the data in one line to the specified position. n selects the type of justification as follows:
n |
| Justification |
|
|
|
0, 48 |
| Left justification |
|
|
|
1,49 |
| Centering |
|
|
|
2, 50 |
| Right justification |
|
|
|
[Notes] | • The command is enabled only when input at the beginning of the | |
| line. | |
| • If this command is input in page mode, the printer performs only | |
| internal flag operation. | |
| • This command does not affect printing in page mode. | |
| • Lines are justifiedwithin the specified printing area. | |
| • Spaces set by HT, ESC $, and ESC \ are all justified. | |
[Default] | n = 0 | |
[Example] |
|
|