
Appendix A Programming Guide
Appendix A Programming Guide
A-35
A-36
S
Example for EAN 8 SC9 add 5
S
Example for EAN 13 SC2
type
= EAN 8 SC9:
ESC * z 1 0 9 V
type
=EAN 13 SC2:
ESC * z 1 2 2 V
text
= OCR-B above
ESC * z 1 Q
orient.
= 180°
ESC & a 1 8 0 P
data
= 4 0 1 2 3 4 5 5 8 6 1 0 4
ESC * z 1 3 Z 4 0 1 2 3 4 5 5 8 6 1 0 4
text
= OCR-B below
ESC * z 2 Q
The HEXDUMP datastream for this example is:
1B
2A
7A
31
30
39
56
1B
2A
7A
31
51
1B
2A
7A
31
33
5A
34
30
31
32
33
34
35
35
38
36
31
30
34
Print sample:
data
= 4 1 2 3 4 5 6 7 8 9 0 1 8
ESC * z 1 3 Z 4 1 2 3 4 5 6 7 8 9 0 1 8
The HEXDUMP datastream for this example is:
1B
2A
7A
31
32
32
56
1B
26
61
31
38
30
50
1B
2A
7A
32
51
1B
2A
7A
31
33
5A
34
31
32
33
34
35
36
37
38
39
30
31
38
Print sample:
S
Example for Codabar
type
= Codabar
ESC * z 1 8 0 V
ratio
= 3.0
ESC * z 3 . 0 O
text
= OCR-B below
ESC * z 2 Q
data
= a 0 1 2 3 4 5 6 7 8 9 t
ESC * z 1 2 Z a 0 1 2 3 4 5 6 7 8 9 t
The HEXDUMP datastream for this example is:
1B
2A
7A
31
38
30
56
1B
2A
7A
33
2E
30
4F
1B
2A
7A
32
51
1B
2A
7A
31
32
5A
61
30
31
32
33
34
35
36
37
38
39
74
Print sample: