Brother International PJ-883 ESC/ P Brother Command Reference - Page 55

ESC a Specify alignment

Page 55 highlights

ESC/P Command Reference ESC a Specify alignment ASCII: ESC a n Hexadecimal: 1B 61 n Parameters 0≤n≤3 or "0"≤n≤"3" Description  Prints the subsequent text with the alignment described below, according to the value of n. n=0 or 48 ("0"): Applies left alignment. n=1 or 49 ("1"): Applies center alignment. n=2 or 50 ("2"): Applies right alignment. n=3 or 51 ("3"): Applies nothing.  The default setting is n=0.  Data is aligned between the left and right margins by entering a CR, LF, and FF code or by buffer printing.  If the alignment setting is not at the beginning of the line, the alignment is specified after a line feed. The beginning of the line indicates the left margin position for left alignment; for right and center alignment, it means that no image or character is entered on the line.  HT, ESC \ and ESC $ are ignored when n=1 or n=2.  If the print media is continuous length tape, the printing orientation is landscape and the page length is not specified, commands specifying alignment are ignored. - 49 - 5. Control Command Details

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129

ESC/P Command Reference
- 49 -
5. Control Command Details
ESC a
Specify alignment
ASCII:
ESC
a
n
Hexadecimal: 1B
61
n
Parameters
0≤
n
≤3
or
“0”≤
n
≤“3”
Description
Prints the subsequent text with the alignment described below, according to the value of n.
n=0 or 48 (“0”): Applies left alignment.
n=1 or 49 (“1”): Applies center alignment.
n=2 or 50 (“2”): Applies right alignment.
n=3 or 51 (“3”): Applies nothing.
The default setting is n=0.
Data is aligned between the left and right margins by entering a CR, LF, and FF code or by buffer printing.
If the alignment setting is not at the beginning of the line, the alignment is specified after a line feed.
The beginning of the line indicates the left margin position for left alignment;
for right and center alignment, it means that no image or character is entered on the line.
HT, ESC \ and ESC $ are ignored when n=1 or n=2.
If the print media is continuous length tape, the printing orientation is landscape and the page length is not
specified, commands specifying alignment are ignored.