i need to print a Barcode128 in Crystal Report, with a c# windows form. The input string is like this:
123456-abcdef-abc
I use barcode.dll to build the formatted 128barcode:
string encodedText = BarCode.BarcodeConverter128.StringToBarcode("123456-abcdef-abc");
string path = @"D:\Projects\mypath\myreport.rpt";
ReportDocument cryRpt = new ReportDocument();
cryRpt.Load(path);
cryRpt.SetParameterValue("@inputString", encodedText);
crystalReportViewer1.ReportSource = cryRpt;
crystalReportViewer1.Refresh();
in crystalReportViewer1, the textbox font is "Code 128"
it shows a barcode, but it is not readable from any barcode reader. What's wrong?
Here is the barcode generated:
Image updated! the same issue.
Thanks in advance for any help.

