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

ESC i a 04h, ESC $ CBh 00h, ESC V 02h 00h CBh 00h, ESC k 0Bh, ESC X 00h 64h 00h, At your side

Page 16 highlights

ESC/P Command Reference All commands together will make the example label shown below. ESC i a 04h ESC @ ESC i L 01h ESC $ CBh 00h ESC ( V 02h 00h CBh 00h ESC k 0Bh ESC X 00h 64h 00h At your side FF Select ESC/P mode Binary command: 1B 69 61 04 Initialize ESC/P mode Binary command: 1B 40 5 steps explained above Text to be print Binary command: 41 74 20 79 6F 75 72 20 73 69 64 65 Print start command Binary command: 0C However, these commands should be converted to binary data before sent to the printer, as shown below. Here is the captured converted binary data. When the printer receives above binary commands, the label shown below is printed. - 10 - 2. Examples of Using ESC/P Brother Commands

  • 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
- 10 -
2. Examples of Using ESC/P Brother Commands
All commands together will make the example label shown below.
ESC i a 04h
ESC @
ESC i L 01h
ESC $ CBh 00h
ESC ( V 02h 00h CBh 00h
ESC k 0Bh
ESC X 00h 64h 00h
At your side
FF
Select ESC/P mode
Binary command: 1B 69 61 04
Initialize ESC/P mode
Binary command: 1B 40
5 steps explained above
Print start command
Binary command: 0C
Text to be print
Binary command: 41 74 20 79 6F 75
72 20 73 69 64 65
However, these commands should be converted to binary data before sent to the printer, as shown below.
Here is the captured converted binary data.
When the printer receives above binary commands, the label shown below is printed.