Tally Genicom 6600 Printer User Manual


 
242
Chapter 11 Data Formats of Barcode Types
Code EAN 8 With HRI
Syntax
Data Structure
ASCII DC4 Start code nnnn Separation code nnnc Stop code DC4
hex. 14 Start code nnnn Separation code nnnc Stop code 14
dec. 20 Start code nnnn Separation code nnnc Stop code 20
Example
10 REM code EAN 8 with HRI
20 LPRINT CHR$(27);"[?11~";
30 LPRINT CHR$(26);" H3;111";CHR$(25);
40 LPRINT CHR$(20);":0123:4567:";CHR$(20);
50 LPRINT CHR$(27);"[?10~"
Figures (n)
Check
Number (c)
Start Code
Separation
Code
Stop Code
ASCII "0" to "9" Calculation
see “Check
Number
Calculation”
on page 258.
":" ":" ":"
hex. 30 to 39 3A 3A 3A
dec. 48 to 57 58 58 58