2.2 Barcode Programming Examples
All examples are coded in standard uni-directional printing - that means the
Note:
parameter "P " is not used.
In the following examples, 8 stands for "Space".
The small square
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:
Start Barcode:
Data:
Stop Barcode:
Barcode Example for 2 of 5 Industrial
Barcode Header:
Start Barcode:
Data:
Stop Barcode:
7
before and after the printed barcode indicates the
ESC [ ; P ; P ; P ; P ; P ; P 8 z
ESC [ ; 201 ; 8 ; 1 ; 1 ; 1 ; 8 z
ESC [ ? 0 h
* C 8 O 8 D 8 E 8 8 8 3 9 *
ESC [ ? 0 l
ESC [ ; P ; P ; P ; P ; P ; P 8 z
ESC [ ; 202 ; 8 ; 1 ; 1 ; 1 ; 8 z
ESC [ ? 0 h
: 1 2 3 4 5 6 7 8 9 0 ;
ESC [ ? 0 l
Appendix F Barcode Quick Reference
2
3
4
2
3
4
5
6
7
5
6
7
F-5