modulo43-barcodes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
modulo43-barcodes [2018/01/18 23:04] – Scott Cunliffe | modulo43-barcodes [2018/08/10 02:33] (current) – removed Scott Cunliffe | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Modulo 43 Barcodes ====== | ||
- | |||
- | |||
- | Modulo 43 is an extension of the Code 39 barcode symbology. | ||
- | |||
- | === How it works === | ||
- | |||
- | * Each character of the barcode in turn is looked up in the following string **0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%** | ||
- | * When the character is found the offset of that character is added to a running total | ||
- | * At the end of the string the subtotal is divided by 43 | ||
- | * The offset of the remainder of the division is then looked up in the search string and appended to the barcode | ||
- | |||
- | |||
- | |00|**0**| |11|**B**| |22|**M**| |33|**X**| | ||
- | |01|**1**| |12|**C**| |23|**N**| |34|**Y**| | ||
- | |02|**2**| |13|**D**| |24|**O**| |35|**Z**| | ||
- | |03|**3**| |14|**E**| |25|**P**| |36|**-**| | ||
- | |04|**4**| |15|**F**| |26|**Q**| |37|**.**| | ||
- | |05|**5**| |16|**G**| |27|**R**| |38|**space**| | ||
- | |06|**6**| |17|**H**| |28|**S**| |39|**$**| | ||
- | |07|**7**| |18|**I**| |29|**T**| |40|**/**| | ||
- | |08|**8**| |19|**J**| |30|**U**| |41|**+**| | ||
- | |09|**9**| |20|**K**| |31|**V**| |42|**%**| | ||
- | |10|**10**| |21|**L**| |32|**W**| | ||
- | |||
- | === Example === | ||
- | |||
- | Using the barcode **HJ2246**. | ||
- | Substituting the characters for the positional values gives 17 + 19 + 2 + 2 + 4 + 6 = 50 | ||
- | The subtotal (50) divided by 43 gives a remainder of 7. | ||
- | Character 7 in the search string is the number 5 character. | ||
- | So a modulo 43 barcode with value **HJ2246** would be **HJ22467** | ||
- | |||
- | === How TapeTrack caters for Module 43 === | ||
- | |||
- | If your tape library consists only of media volumes that use the Modulo 43 check digit the simplest approach would be to create a barcode definition that says (presuming all of your barcodes have 6 digits) the volume serial portion of the barcode is made up of digits 1-6 of what is scanned. | ||
- | |||
- | In reality things are probably not going to be that simple. So if you have some barcodes with Modulo 43 and some without this is how TapeTrack manages them: | ||
- | |||
- | Set the [[master: | ||
- | |||
- | ===See Also=== | ||
- | [[barcode-processing|TapeTrack Barcode Parsing]] | ||
modulo43-barcodes.1516316665.txt.gz · Last modified: 2025/01/21 22:07 (external edit)