Page 1 of 1

Data Matrix generated with Undefined encoding type

Posted: Fri May 19, 2017 5:04 pm
by elisacosta
Hi all,
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:
Version= 'Auto'
EncodingMode = 'Undefined'

With some strings such as
- AANH8YFA
- 90MG9XGT
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:
- AANH8YFD>@^6E
- 90MG9XGW>@^6E

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

Best regards

Elisa

P.S I attach a PDF containing some example.

Re: Data Matrix generated with Undefined encoding type

Posted: Mon May 22, 2017 8:00 am
by Costinel
Hi,

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.

Best regards,
Costinel Mitrea
GdPicture Team

Re: Data Matrix generated with Undefined encoding type

Posted: Mon May 22, 2017 10:33 am
by elisacosta
Many thanks for the prompt reply,
I look forward to some news from development team about the issue.

Best regards

Elisa Costa

Re: Data Matrix generated with Undefined encoding type

Posted: Wed Jun 28, 2017 7:17 am
by Costinel
Hi Elisa,

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.

https://www.gdpicture.com/download-gdpicture/

Best regards,
Costinel MItrea
GdPicture team

Re: Data Matrix generated with Undefined encoding type

Posted: Mon Jul 17, 2017 3:53 pm
by elisacosta
Thank you very much for correction.
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

Best regards,

Elisa Costa