All commands together will make the example label shown below.
ESC i a 00h
ESC @
ESC i L 01h
ESC ( C 02h 00h FCh 02h
ESC $ 2Bh 00h
ESC ( V 02h 00h 6Dh 01h
ESC k 0bh
ESC X 00h 64h 00h
At your side
FF
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.
Select ESC/P mode
Binary command: 1B 69 61 00
Initialize ESC/P mode
Binary command: 1B 40
6 steps explained above
Text to be print
Binary command: 41 74 20 79 6F 75
Print start command
Binary command: 0C
- 9 -
2. Examples of Using ESC/P Commands
ESC/P Command Reference
72 20 73 69 64 65