EasyManua.ls Logo

TallyGenicom Matrix Printer - Page 63

TallyGenicom Matrix Printer
409 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7265 Programmer’s Manual
59
Copyright © 2004 TallyGenicom Chapter 3 ANSI Bar Codes
The following example illustrates the calculation of the check digits for the symbol CODE 93.
Data CODEsp93"C""K"
Data Values 12 24 13 14 38 9 3
C Weights 7654321
K Weights 87654321
1) For "C", sum the products of the (C WEIGHTS * DATA VALUES).
(1 * 3) + (2 * 9) + (3 * 38) + (4 * 14) + (5 * 13) + (6 * 24) + (7 * 12) = 484
2) Divide 484 by 47.
484 / 47 = 10 remainder 14.
3) Therefore, the value of "C" is 14, which corresponds to character E.
4) For "K", sum the products of the (K WEIGHTS * DATA VALUES), starting with the newly
calculated "C" digit.
(1*14) + (2*3) + (3*9) + (4*38) + (5*14) + (6*13) + (7*24) + (8*12) = 611
5) Divide 611 by 47.
611 / 47 = 13 remainder 0
6) The value of "K" therefore is 0, corresponding to character 0. Send to the printer:
CODE 93E0
The Code 93 character table is the same as the Code 3 of 9 character table, except that there are
four additional “control characters” at the end.
Code 93 Character Table
0 0 12 C 24 O 36 - (minus sign)
1 1 13 D 25 P 37 . (period)
2 2 14 E 26 Q 38 (space)
3 3 15 F 27 R 39 $
4 4 16 G 28 S 40 /
5 5 17 H 29 T 41 +
6 6 18 I 30 U 42 %
7 7 19 J 31 V 43 <CTRL> $
8 8 20 K 32 W 44 <CTRL> %
9 9 21 L 33 X 45 <CTRL> /
10 A 22 M 34 Y 46 <CTRL> +
11 B 23 N 35 Z

Table of Contents

Related product manuals