Tally Genicom 6600 Printer User Manual


 
Code UPC A With HRI
247
Code UPC A With HRI
Syntax
Data Structure
ASCII DC4 Start code nnnnnn Separation code nnnnnc Stop code DC4
hex. 14 Start code nnnnnn Separation code nnnnnc Stop code 14
dec. 20 Start code nnnnnn Separation code nnnnnc Stop code 20
Example
10 REM code UPC A with HRI
20 LPRINT CHR$(27);"[?11~";
30 LPRINT CHR$(26);" N3;111";CHR$(25);
40 LPRINT CHR$(20);":012345:678901:";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