Appendix A Programming Guide
A-30
A-5.5 Barcode 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 data stream 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 data stream 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