How can I generate (encode) GS1-128 or EAN128 barcode?
问题 I've been working with the netbarcodewriter library from https://github.com/simongh/barcodes and have been able to successfully generate code 128 barcodes. It fails when I try to encode (95)00209(96)0004471(97)0065(98)1931 with the EAN128 using the GS1Builder. Below is an example in LinqPad: GS1Builder gs1= new GS1Builder(); // add the AIs gs1.Add(95,"00209"); gs1.Add(96,"0004471"); gs1.Add(97,"0065"); gs1.Add(98,"1931"); gs1.ToDisplayString().Dump(); var ean128 = new EAN128(); bmp = ean128