I'm using GdPicture.NET 12
I generate DataMatrix barcode using method:
public GdPictureStatus BarcodeDataMatrixWrite(int ImageID, string Data, BarcodeDataMatrixEncodingMode EncodingMode, ref BarcodeDataMatrixVersion Version, int QuietZone, int ModuleSize, int DstLeft, int DstTop, float Angle, Color FillColor, Color BackColor);
I have some problems using parameters:
EncodingMode = 'Undefined'
With some strings such as
I obtain a barcode that, if I read it with a barcode reader, contains a string different from the original one.
For the example above I have:
Using version 'auto' but an encoding type different from 'undefined' I have no problems.
Is it possible to obtain a correct barcode using 'undefined' encoding type?
Is it possible to know what encoding type is used by the function BarcodeDataMatrixWrite when parameter is 'undefined'?
Thank you very much
P.S I attach a PDF containing some example.
- Barcode example.pdf
- (197.85 KiB) Downloaded 14 times
When EncodingMode is set to Undefined, the input string is analyzed and the best mode(s) for encoding the data is selected, in order to produce the smallest possible DataMatrix symbol encoding the data.
I have reproduced the behavior using GdPicture 14. It seems that there is a problem when EDIFACT mode is used. I will get back to you after our development team will investigate the issue.
I look forward to some news from development team about the issue.
Our latest release, 14.0.9, encodes properly the DataMatrix in Edifact Mode, so it is encoding properly your data with mode Undefined or Edifact.
Please update and let us know how is it working for you.
As soon as I succeed in updating library I'm going to give you a feedback!
Working always with version 12 I've met some other problems, with size calculation of QR barcode, but I've added a new post in the right section
Thanks again for your helpfulness
Who is online
Users browsing this forum: No registered users and 1 guest