Data Matrix generated with Undefined encoding type

Discussions about datamatrix barcode reading and writing
Post Reply
elisacosta
Posts: 5
Joined: Fri May 19, 2017 3:08 pm

Data Matrix generated with Undefined encoding type

Post by elisacosta » Fri May 19, 2017 5:04 pm

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.
Attachments
Barcode example.pdf
(198.77 KiB) Downloaded 9 times

Costinel
Posts: 16
Joined: Mon Jul 11, 2016 9:35 am

Re: Data Matrix generated with Undefined encoding type

Post by Costinel » Mon May 22, 2017 8:00 am

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

elisacosta
Posts: 5
Joined: Fri May 19, 2017 3:08 pm

Re: Data Matrix generated with Undefined encoding type

Post by elisacosta » Mon May 22, 2017 10:33 am

Many thanks for the prompt reply,
I look forward to some news from development team about the issue.

Best regards

Elisa Costa

Costinel
Posts: 16
Joined: Mon Jul 11, 2016 9:35 am

Re: Data Matrix generated with Undefined encoding type

Post by Costinel » Wed Jun 28, 2017 7:17 am

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.

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

Best regards,
Costinel MItrea
GdPicture team

elisacosta
Posts: 5
Joined: Fri May 19, 2017 3:08 pm

Re: Data Matrix generated with Undefined encoding type

Post by elisacosta » Mon Jul 17, 2017 3:53 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest