{"id":1487,"date":"2009-10-26T12:16:25","date_gmt":"2009-10-26T12:16:25","guid":{"rendered":"http:\/\/www.bardecode.com\/newsite\/?p=1487"},"modified":"2013-02-12T12:16:47","modified_gmt":"2013-02-12T12:16:47","slug":"code39checksum-expect-a-checksum-in-code-39-barcodes","status":"publish","type":"post","link":"https:\/\/www.bardecode.com\/newsite\/code39checksum-expect-a-checksum-in-code-39-barcodes\/","title":{"rendered":"Code39Checksum &#8211; expect a checksum in Code 39 barcodes"},"content":{"rendered":"<p>When True the toolkit will only report Code 39 barcodes where the last character is a valid checksum for the rest of the barcode.\u00a0The toolkit expects a Code 39 checksum to be calculated using modulus-43.<\/p>\n<p>The following table shows the character and value used for the calculation&#8230;<\/p>\n<p>&nbsp;<\/p>\n<p>Char\u00a0Value\u00a0Char\u00a0Value\u00a0Char\u00a0Value\u00a0Char\u00a0Value<\/p>\n<p>0\u00a00\u00a0B\u00a011\u00a0M\u00a022\u00a0X\u00a033<\/p>\n<p>1\u00a01\u00a0C\u00a012\u00a0N\u00a023\u00a0Y\u00a034<\/p>\n<p>2\u00a02\u00a0D\u00a013\u00a0\u00a0O\u00a024\u00a0Z\u00a0\u00a035<\/p>\n<p>3\u00a03\u00a0E\u00a014\u00a0P\u00a025\u00a0&#8211;\u00a036<\/p>\n<p>4\u00a04\u00a0F\u00a015\u00a0Q\u00a026\u00a0.\u00a037<\/p>\n<p>5\u00a05\u00a0G\u00a016\u00a0R\u00a027\u00a0space\u00a038<\/p>\n<p>6\u00a06\u00a0H\u00a017\u00a0S\u00a028\u00a0$\u00a039<\/p>\n<p>7\u00a07\u00a0I\u00a018\u00a0T\u00a029\u00a0\/\u00a040<\/p>\n<p>8\u00a08\u00a0J\u00a019\u00a0U\u00a030\u00a0+\u00a041<\/p>\n<p>9\u00a09\u00a0K\u00a020\u00a0V\u00a031\u00a0%\u00a042<\/p>\n<p>A\u00a010\u00a0L\u00a021\u00a0W\u00a032<\/p>\n<p>e.g<\/p>\n<p>Data =\u00a012345ABCDE+<\/p>\n<p>Sum of values: 1 + 2 + 3 + 4 + 5 + 10 + 11 + 12 + 13 + 14 + 41 = 116<br \/>\n115 \/ 43 = 2 rem 30, so\u00a0U is the check digit.<br \/>\nData\u00a0and check digit =\u00a012345ABCDE+U<br \/>\nType:\u00a0BOOL<br \/>\nDefault value:\u00a0FALSE<\/p>\n<div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>When True the toolkit will only report Code 39 barcodes where the last character is a valid checksum for the rest of the barcode.\u00a0The toolkit expects a Code 39 checksum to be calculated using modulus-43. The following table shows the character and value used for the calculation&#8230; &nbsp; Char\u00a0Value\u00a0Char\u00a0Value\u00a0Char\u00a0Value\u00a0Char\u00a0Value 0\u00a00\u00a0B\u00a011\u00a0M\u00a022\u00a0X\u00a033 1\u00a01\u00a0C\u00a012\u00a0N\u00a023\u00a0Y\u00a034 2\u00a02\u00a0D\u00a013\u00a0\u00a0O\u00a024\u00a0Z\u00a0\u00a035 3\u00a03\u00a0E\u00a014\u00a0P\u00a025\u00a0&#8211;\u00a036 4\u00a04\u00a0F\u00a015\u00a0Q\u00a026\u00a0.\u00a037 5\u00a05\u00a0G\u00a016\u00a0R\u00a027\u00a0space\u00a038 &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[236,18],"tags":[],"class_list":["post-1487","post","type-post","status-publish","format-standard","hentry","category-documentation-for-our-toolkits-and-applications","category-knowledge-base"],"_links":{"self":[{"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/posts\/1487"}],"collection":[{"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/comments?post=1487"}],"version-history":[{"count":1,"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/posts\/1487\/revisions"}],"predecessor-version":[{"id":1488,"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/posts\/1487\/revisions\/1488"}],"wp:attachment":[{"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/media?parent=1487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/categories?post=1487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bardecode.com\/newsite\/wp-json\/wp\/v2\/tags?post=1487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}