
Appendix A Programming Guide
A-35
A-5.3
Bar Code Programming Examples
$
Example for Code 39
type
= Code 39:
ESC * z 0 V
Height
= 0.6 inch
ESC * z 180 H
text
= OCR-B above
ESC * z 1 Q
data
= CODE 39
ESC * z < CODE 39 > Z
The HEXDUMP datastream for this example is:
1B
2A
7A
30
56
1B
2A
7A
31
38
30
48
1B
2A
7A
31
51
1B
2A
7A
3C
43
4F
44
45
33
39
3E
5A
Print sample:
$
Example for 2 of 5 industrial
type
= 2 of 5 industrial:
ESC * z 1 V
Height
= 0.6 inch
ESC * z 180 H
mod. width
= 10 PCL units
ESC * z 10 S
text
= OFF
ESC * z 0 Q
data
= 1 2 3
ESC * z < 1 2 3 > Z
The HEXDUMP datastream for this example is:
1B
2A
7A
31
56
1B
2A
7A
31
38
30
48
1B
2A
7A
31
30
53
1B
2A
7A
30
51
1B
2A
7A
3C
31
32
33
3E
5A
Print sample: