Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

How do I create a check-character for Code 39 printing?
Started by Gabe-Forum@LEADTOOLS.com at 05-26-2006 10:14. Topic has 0 replies.

Print Search « Previous Thread Next Thread »
  05-26-2006, 10:14
Gabe-Forum@LEADTOOLS.com is not online. Last active: 12/30/2008 3:55:49 PM Gabe-Forum@LEADTOOLS.com



Top 25 Posts
Joined on 04-27-2005
Posts 236
How do I create a check-character for Code 39 printing?

When printing barcode symbols we strongly recommend the use of check-characters for verification. Some barcode printers do not support check-character generation. That forces application programs to calculate the check-character and to append it to the character string for printing. To calculated a Code 39 check character:

1) Add up all characters in the string.
Values: 0=0 to 9=9, A=10 to Z=35, -=36, .=37, space=38, $= 39,/=40,+=41 and %=42
2) Divide the sum by 43.
3) The remainder is the check character for the string. (Sum Modulus 43)

 Different print formats are:

19AZ

Net string only.

19AZC

Net string with check character.

*19AZC*

Start character, net string, check character, and end character.

Note:

1.      The * is used by some printers as a place holder for the start and end character.

2.      The * is illegal in a net string or check character position.

3.      The AX-4 write engine automatically inserts the * as start and end characters.


Compute check character for example string 19AZ:

01

Numeric value for digit 1

+ 09

Numeric value for digit 9

+ 10

Numeric value for character A

+ 35

Numeric value for character Z

= 55

Total

Divide 55 by 43.
The remainder of this operation is 12.
The numeric value of 12 equals character C. (see list above)
Append a C to the string as the check character.

 


   Report 
Post
LEAD Support Fo... » LEAD/Axtel Barc... » LEAD/Axtel FAQ » How do I create a check-character for Code 39 printing?

Powered by Community Server, by Telligent Systems