I have a question regarding creating a GS1-128 barcode with zxing. Our AI is 8018. When using 8018nnnnnnnnnnnnnnnnnn, the barcode format is code128. How can I tell zxing about the FNC1?
Thanks
Chris
No special mode. Can you show the source code which you have tried? And the resulting barcode image?
I am using \u00f101008082320008321717090610EYS19F as content and below is my code.
BarcodeWriter barCodeWriter = new BarcodeWriter
{
Format = BarcodeFormat.CODE_128,
Options = new QrCodeEncodingOptions
{
Height = 140,
Width = 70
},
};
Bitmap b =
barCodeWriter.Write("\u00f101008082320008321717090610EYS19F");
ImageConverter img = new ImageConverter();
byte[] imagByte = (byte[])img.ConvertTo(b, typeof(byte[]));
Product.ImgBarcode = imagByte;
return this.View(Product);
But I am not able to read the barcode from GS1-128 decoder Android mobile app.
Any help will be appreciated.
Regards
Similarly if I use \u001d01008082320008321717090610EYS19F it shows me exception "bad charcter in input: \u001d"