CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS)
B-EP Series
8-69
8.10.48 APPENDIX: BARCODE
8.10.48.1 CODE128
Code set A: ASCII characters ranging between 00H and 5FH can be represented.
Code set B: ASCII characters ranging between 20H and 7FH can be represented.
Code set C: Two digits can be represented using 1 character.
In addition to the above characters, CODE128 has the following special characters:
• Shift character (SHIFT)
In code set A, a character immediately after SHIFT is treated as a character of code set B. In
code set B, a character immediately after SHIFT is treated as a character of code set A. Note
that SHIFT cannot be used in code set C.
• Code set character (CODEA, CODEB, CODEC)
The code set subsequent to a code set character is changed to A, B, or C.
• Function character (FNC1, FNC2, FNC3, FNC4)
Uses of the function character vary depending on the application. Note that only FNC1 can be
used in code set C.
[Characters printable with code set A]
Char
Data to be
transmitted
Char
Data to be
transmitted
Char
Data to be
transmitted
Char
Data to be
transmitted
Char
Data to be
transmitted
NUL 00 CAN 18 0 30 H 48 FNC1 7B 31
SOH 01 EM 19 1 31 I 49 FNC2 7B 32
STX 02 SUB 1A 2 32 J 4A FNC3 7B 33
ETX 03 ESC 1B 3 33 K 4B FNC4 7B 34
EOT 04 FS 1C 4 34 L 4C SHIFT 7B 35
ENQ 05 GS 1D 5 35 M 4D CODEB 7B 42
ACK 06 RS 1E 6 36 N 4E CODEC 7B 43
BEL 07 US 1F 7 37 O 4F
BS 08 SP 20 8 38 P 50
HT 09 ! 21 9 39 Q 51
LF 0A “ 22 : 3A R 52
VT 0B # 23 ; 3B S 53
FF 0C $ 24 < 3C T 54
CR 0D % 25 = 3D U 55
SO 0E & 26 > 3E V 56
SI 0F ‘ 27 ? 3F W 57
DLE 10 ( 28 @ 40 X 58
DC1 11 ) 29 A 41 Y 59
DC2 12 * 2A B 42 Z 5A
DC3 13 + 2B C 43 [ 5B
DC4 14 , 2C D 44 \ 5C
NAK 15 - 2D E 45 ] 5D
SYN 16 . 2E F 46 ~ 5E
ETB 17 / 2F G 47 _ 5F