TallyGenicom Matrix Printer Programmer's Manual page 65

Tallygenicom matrix printer programmer's manual
Table of Contents

Advertisement

Checksum calculation for the symbol Cat
Data
Data Values
C Weights
K Weights
1) For "C", sum the products of the (C WEIGHTS * DATA VALUES).
2) Divide 395 by 47.
Therefore, the value of "C" is 19, which corresponds to character J.
3) For "K", sum the products of the (K WEIGHTS * DATA VALUES), starting with the newly
calculated "C" digit.
4) Divide 557 by 47.
5) The value of "K" therefore is 40, corresponding to character /. Send to the printer:
7265 Programmer's Manual
Copyright © 2004 TallyGenicom
C
<CTRL> +
12
46
5
4
6
5
(1 * 29) + (2 * 46) + (3 * 10) + (4 * 46) + (5 * 12) = 395
395 / 47 = 8 remainder 19.
(1*19) + (2*29) + (3*46) + (4*10) + (5*46) + (6*12) = 557
611 / 47 = 11 remainder 40
A
<CTRL> +
10
46
3
2
4
3
T
"C"
"K"
29
1
2
1
Chapter 3 ANSI Bar Codes
61

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Matrix Printer and is the answer not in the manual?

Table of Contents