I can not confirm, that given string "2101631034P1P1.1" works with Code39 .
I have attached the result to this message .
|
We regret to let you know that the given text “2101631034P1P1.1” works fine with Code93 in our end. Please find the resultant PDF document from below link,
Could you please share the product version which you have used in your end and region details. It will be helpful for us to provide the precise solution on this. |
the Code93 doesn’t work with a shorter string either, i.e.: 633551P1P1.1 . |
We were able to reproduce the issue. As promised earlier, we will update the validation details by 12th July, 2019. |
We were able to reproduce the issue. As promised earlier, we will update the validation details by 12th July, 2019. |
We confirmed that the reported issue is a defect and logged a defect report. We will update the patch by 19th July, 2019. |
the barcode you have provided doesnt work with the our laser scanners (Honeywell Eclipse and Socket Mobile CHS 8Ci) either ! (:
but !
it works with the Scandit Mobile App. interestingly!
what type of barcode scanner did you use ?
|
We have checked with the generated PDF document of Code 39 barcode using Zxing Barcode Reader and Mobile Barcode scanner App. As we said earlier it works fine Mobile Barcode Scanner. But it fails while decoding using Zxing reader, the given barcode did not scanned. Currently we are analyzing about this and will update the details by 15th July, 2019.
|
We have checked with the generated PDF document of Code 39 barcode using Zxing Barcode Reader and Mobile Barcode scanner App. As we said earlier it works fine Mobile Barcode Scanner. But it fails while decoding using Zxing reader, the given barcode did not scanned. Currently we are analyzing about this and will update the details by 15th July, 2019. |
As per the Code39 specification, we are generating the barcode properly and further analysis with the ZXing barcode reader failure, we found that the problem exists in the provided barcode size (Width=150, Height=30). We have export barcode as image from the PDF and scanned that the exported image using ZXing barcode reader, due to the minimum size, the exported is quality is not good, so that only it fails. After that we have increased the PDF page and Barcode size( PDF page size A4, Barcode size (450, 75)), it is scanned properly in the ZXing reader. So we suspect that the scanner may fails due to the barcode size for long input text. So kindly we suggest you increase the barcode size and ensure the same using your laser scanner and let us know whether it is working.
|
Hi
just to avoid misunderstandings.
all of the following strings generated with the PdfCode93Barcode are incorrect:
634603P1P1.1
633246P1P1.1
633679P1P1.1
634005P1P1.1
you can use this in order to verify the tests for upcoming patch.
i can provide you some more strings if necessary.
the code:
var document = new PdfDocument()
{
PageSettings =
{
Size = new SizeF(252,102),
Orientation = PdfPageOrientation.Landscape,
Margins = new PdfMargins { Left = 2, Top = 0, Bottom = 0, Right = 1 }
}
};
var page = document.Pages.Add();
var font = new PdfStandardFont(PdfFontFamily.Helvetica, 8f, PdfFontStyle.Bold);
var code93 = new PdfCode93Barcode()
{
TextDisplayLocation = TextLocation.Bottom,
Font = font,
BarcodeToTextGapHeight = 1f,
Text = "634005P1P1.1",
Size = new SizeF(200, 43)
};
code93.Draw(page, new PointF(10, 10));
document.Save("634005P1P1_1.pdf");
let me know if you have any questions
regards
viktor
ps
our app is already in production and ~10% of the barcodes are unreadable (:
Unfortunately you solution would not work for us.
We use your component for label generation (38mm X 89mm) so that your suggestion to increase the page size to A4 would not work. |
On our further analysis, we found that the problem occurs due to the quality of the bars. If we draw the long text barcode to the smaller size page, this will be shrink based on the smaller size, and didn’t change any bars during this process. The bars are same, but the visual quality is poor. We have ensured this behaviour in some other barcode generator library and online barcode generators. So, we have created a workaround sample to achieve your requirement and attached the output document for the same.
In this workaround sample the provided text scanned properly with the mentioned size. Also, we have an option to get the label width based on the barcode size by using barcode size property (it will not shrink the barcode, rendered with actual size).
Please find the code snippet and sample for further details.
Kindly try this sample and output document in your side and let us know whether this achieves your requirement.
Output Documents :
Sample:
| |
just to avoid misunderstandings.
all of the following strings generated with the PdfCode93Barcode are incorrect:
634603P1P1.1
633246P1P1.1
633679P1P1.1
634005P1P1.1
you can use this in order to verify the tests for upcoming patch.
I can provide you some more strings if necessary. |
We will ensure the values on the fix promised on 19th July 2019 and update you on the same. |