Brother RJ-3050 Guida Di Riferimento
ESC/P Command Reference
- 10 -
2. Examples of Using ESC/P Commands
All commands together will make the example label shown below.
ESC i a 00h
ESC @
ESC i L 01h
ESC ( C 02h 00h F7h 03h
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 00
Initialize ESC/P mode
Binary command: 1B 40
6 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.