Epson PP 408 User Manual page 125

Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents