From 8b3c739077971026e543ec3e2646ce21713c6c54 Mon Sep 17 00:00:00 2001 From: bradbarnhill Date: Thu, 21 Sep 2023 07:51:32 -0500 Subject: [PATCH] fix Codabar encoding for + symbol --- BarcodeStandard/Symbologies/Codabar.cs | 48 +++++++++++++------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/BarcodeStandard/Symbologies/Codabar.cs b/BarcodeStandard/Symbologies/Codabar.cs index d50b98cf..c672537b 100644 --- a/BarcodeStandard/Symbologies/Codabar.cs +++ b/BarcodeStandard/Symbologies/Codabar.cs @@ -84,30 +84,30 @@ private string Encode_Codabar() private void init_Codabar() { Codabar_Code.Clear(); - Codabar_Code.Add('0', "101010011");//"101001101101"); - Codabar_Code.Add('1', "101011001");//"110100101011"); - Codabar_Code.Add('2', "101001011");//"101100101011"); - Codabar_Code.Add('3', "110010101");//"110110010101"); - Codabar_Code.Add('4', "101101001");//"101001101011"); - Codabar_Code.Add('5', "110101001");//"110100110101"); - Codabar_Code.Add('6', "100101011");//"101100110101"); - Codabar_Code.Add('7', "100101101");//"101001011011"); - Codabar_Code.Add('8', "100110101");//"110100101101"); - Codabar_Code.Add('9', "110100101");//"101100101101"); - Codabar_Code.Add('-', "101001101");//"110101001011"); - Codabar_Code.Add('$', "101100101");//"101101001011"); - Codabar_Code.Add(':', "1101011011");//"110110100101"); - Codabar_Code.Add('/', "1101101011");//"101011001011"); - Codabar_Code.Add('.', "1101101101");//"110101100101"); - Codabar_Code.Add('+', "101100110011");//"101101100101"); - Codabar_Code.Add('A', "1011001001");//"110110100101"); - Codabar_Code.Add('B', "1010010011");//"101011001011"); - Codabar_Code.Add('C', "1001001011");//"110101100101"); - Codabar_Code.Add('D', "1010011001");//"101101100101"); - Codabar_Code.Add('a', "1011001001");//"110110100101"); - Codabar_Code.Add('b', "1010010011");//"101011001011"); - Codabar_Code.Add('c', "1001001011");//"110101100101"); - Codabar_Code.Add('d', "1010011001");//"101101100101"); + Codabar_Code.Add('0', "101010011"); + Codabar_Code.Add('1', "101011001"); + Codabar_Code.Add('2', "101001011"); + Codabar_Code.Add('3', "110010101"); + Codabar_Code.Add('4', "101101001"); + Codabar_Code.Add('5', "110101001"); + Codabar_Code.Add('6', "100101011"); + Codabar_Code.Add('7', "100101101"); + Codabar_Code.Add('8', "100110101"); + Codabar_Code.Add('9', "110100101"); + Codabar_Code.Add('-', "101001101"); + Codabar_Code.Add('$', "101100101"); + Codabar_Code.Add(':', "1101011011"); + Codabar_Code.Add('/', "1101101011"); + Codabar_Code.Add('.', "1101101101"); + Codabar_Code.Add('+', "1011011011"); + Codabar_Code.Add('A', "1011001001"); + Codabar_Code.Add('B', "1010010011"); + Codabar_Code.Add('C', "1001001011"); + Codabar_Code.Add('D', "1010011001"); + Codabar_Code.Add('a', "1011001001"); + Codabar_Code.Add('b', "1010010011"); + Codabar_Code.Add('c', "1001001011"); + Codabar_Code.Add('d', "1010011001"); }//init_Codeabar #region IBarcode Members