Руководство Пользователя для LXE mx3

Скачать
Страница из 380
332 
5300 2D Imager 
Integrated Scanner Programming Guide 
 
E-SW-SCANNERPG-L 
Calculate checksum characters as follows: 
Modulo 10 
1.  Add the characters in the string (not including the checksum character). 
2.  Subtract 10 from the sum obtained above. Continue subtracting 10 until the remainder is less than 
10. 
3.  The remainder obtained above is the checksum. Enter this digit in the checksum position. 
Modulo 36 
1.  Add the characters in the string (not including the checksum character). 
2.  Subtract 36 from the sum obtained above. Continue subtracting 36 until the remainder is less than 
36. 
3.  Subtract the remainder obtained above from 36. The value obtained is the checksum. Enter this 
character in the checksum position. 
Digit / Alpha values are defined as follows for modulo 36: 
0 – 9 = 0 – 9;  A = 10, B = 11, … Z = 25 
Direction (Orientation) – this parameter is ignored 
Pn  Default Valid 
Description 
0 left to right 
1 top to bottom 
2 right to left 
3 bottom to top 
Orientation. Decoder reads 
OCR fonts in any orientation, 
but setting this parameter 
correctly can increase 
decoding speed. 
 
Examples 
1. 
To read a combination of 6 alpha and numeric characters use the following template: 
  
aaaaaa 
2. 
To read the same string with a modulo 10 check digit in the 7
th
 character position, use the 
following template: 
  
aaaaaac 
 
Then enter 0123456789 for parameter 6. 
3. 
To read either a string of 6 alphabetic letters OR a string of 8 numeric digits, use this 
template: 
 
 lllllltdddddddd 
 
Note the use of the “t” to separate the first template from the second. 
4. 
To read multiple rows of OCR data as shown below: 
  
123450 
  
ABCDEF 
 
Either of the following templates could be used: 
 
 ddddddrllllll or aaaaaaraaaaaa 
 
Note the use of the “r” to define the position of the second row.