So I coded the following.
var writer = new BarcodeWriter
{
Format = BarcodeFormat.CODE_128,
Options = new ZXing.Common.EncodingOptions
{
PureBarcode = true,
Height = rh,
Width = 1,
Margin = 1
}
};
var barcode = writer.Write($"{(char)0x00F1}01188064111234561719010110A11{(char)0x00F1}210001");
Bitmap bitmap = new Bitmap(barcode);
e.Graphics.DrawImage(bitmap, rx, ry, rw, rh);
Information on FNC1 can be found at the URL below.
https://github.com/micjahn/ZXing.Net/wiki/Generating-GS1-DataMatrix-and-GS1-Code128-barcodes
Is everything all I said?
The problem is that the shape of the bar code is not the same when compared to other accurate GS1-128 bar codes.
I think it is because I have not used FNC1 correctly.
I want to get an accurate answer to FNC1.
Yes, I think so. The other barcode generator probably used a different encoding then zxing. But it doesn't matter. You don't have to decide for a specific encoding. zxing selects a proper one for you. It's only important that the decoded result is the same as the original content.