Barcode Programming Examples
Note: All examples are coded in standard uni-directional printing - that means the parameter
"P7" is not used.
In the following examples, stands for "Space".
print position. The red
barcode indicates the actual print position.
Between Start Barcode and Stop Barcode are only printable characters tolerated
(no CR or LF).
Barcode Example for Code 39
Barcode Header:
ASCII ESC[ ; 201 ;8 ;1 ; 1; 1 ; ˽ z
HEX
Start Barcode: ASCII
HEX
Data:
ASCII * C O D E ˽ ˽ 3 9 *
Info: The start / stop characters (*) must be given in the text.
Stop Barcode: ASCII
HEX
*
square before and after the printed
(with redable Text)
ESC[ ; P2 ; P3 ; P4 ;P5 ; P6 ;P7 ˽ z
1B 5B 3B 32 30 31 3B 38 3B 31 3B 31 3B 31 3B 20 7A
ESC [ ? 0 h
1B 5B 3E 30 68
ESC [ ? 0 l
1B 5B 3E 30 6C
C O D E
39
*
Appendix F-7