Code 2/5 Interleaved Type C
Syntax
Figures (n) Start code Stop code
ASCII
hex.
dec.
"0" to "9"
30 to 39
48 to 57
":" or "<"
3A or 3C
58 or 60
";" or "="
3B or 3D
59 or 61
Data Structure ASCII DC4 Start code n ... n Stop code DC4
hex. 14 Start code n ... n Stop code 14
dec. 20 Start code n ... n Stop code 20
Example 10 REM code 2/5 interleaved barcode
20 LPRINT CHR$(27);"[?11~";
30 LPRINT CHR$(26);" C3;111";CHR$(25);
40 LPRINT CHR$(20);":123;";CHR$(20);
50 LPRINT CHR$(27);"[?10~"
Due to the "interleaved mechanism", data stream (n ... n) should only be transferred as
even number e.g.:
not: 398 but: 0398
If odd count of numbers are transferred the printer adds a leading zero to the printed
barcode.
16 Barcode Printing