Code 39 MOD 43 difference

General discussion about Morovia barcode fonts, OCR/MICR fonts and postal fonts.

Code 39 MOD 43 difference

Postby rtcary(Legacy Member) on Thu Jan 26, 2006 8:43 pm

When I use the Monrovia Web calculation for

25078178

it gives a check digit of "V".

When I do it by hand, I get "sp". Is there an error in the Web calculation?

Thank you.....
rtcary(Legacy Member)
 

Re: Code 39 MOD 43 difference

Postby benz(Legacy Member) on Thu Jan 26, 2006 10:22 pm

I am curious how you get that "V".
From FontPal Web(http://www.morovia.com/font/font-demo.asp), enter your number 25078178, check the "check character" option, it gives barcode string *25078178=*. In our code39 font = represents a space.

Edited by benz on January 26 2006 at 10:23pm
benz(Legacy Member)
 

Re: Code 39 MOD 43 difference

Postby lstarr on Tue Sep 15, 2009 7:31 pm

I am puzzled by "In our code39 font = represents a space." the Equal sign "=" is not part of Code39 (by most information that I can see). If we create a "human readable" version of a string such as "+M5190872Y0P2452" using the Code39Mod43 function, it returns a checksum of "=" . However, this is not a character in Code39, so apparently the Moravia font (only) changes it back to a space " " in order to print the barcode.

However, if you are printing a HIBCC barcode, the secondary barcode uses the primary barcode checksum as part of the data. SO, when you try to calculate a Code39Mod43 checksum for the secondary barcode, the function throws an error becauase the "=" is not part of the mapping set. Why doesn't Moravia's barcode font use an underline "_" like HIBCC uses (or most other companies)?

How can I fix this issue with the checksum? You can't have a checksum character that is not in the allowed characters for the barcode ("=" is not part of Code39). What can I do with it now?
lstarr
 
Posts: 2
Joined: Tue Aug 18, 2009 5:01 pm

Re: Code 39 MOD 43 difference

Postby glitch on Wed Sep 16, 2009 10:29 am

lstarr,

You can replace the = to space when you calls Code39Mod43 the second time. This function is supposed to return the barcode string of the barcode, not the checksum. Passing _ to Code39Mod43 still throws an error as _ is not a Code39 character either.
The information above is provided "AS IS", with no warranties, and confers no rights.
User avatar
glitch
Support Engineer
 
Posts: 198
Joined: Wed May 14, 2008 2:42 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests