Writing Codabar with special character

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

Writing Codabar with special character

Post by elisacosta » Mon Feb 12, 2018 6:03 pm

Hi all,
I'm using GdPicture.NET 12.

I've read, about Codabar type of barcode, that it can encode the digits 0 through 9, six symbols ( - : . $ / + ), and the start/stop characters A, B, C, D, E.
But if I use method:
'Barcode1DWriteGetMinWidth(Barcode1DWriterType.Barcode1DWriterCodabar, myString)'
with mystring ="A12356.B";
it returns '0'
and
'Barcode1DWrite' return GdPictureStatus.BarcodeNotNumeric = 1005.

Why special charatcters are not allowed?

Thank you very much

Best regards

Elisa

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

Re: Writing Codabar with special character

Post by Costinel » Tue Feb 13, 2018 8:09 am

Hi Elisa,

This is a known bug. It was fixed in the early versions of GdPicture.Net 14.
Using version 14, with your string, Barcode1DWriteGetMinWidth returns 82, and the Barcode1DWrite writes the barcode and returns OK.
There is nothing we can do for version 12, since it is discontinued a long time ago, and we provide support only for the current version.

Best regards,
Costinel

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

Re: Writing Codabar with special character

Post by elisacosta » Tue Feb 13, 2018 10:45 am

Thank you very much for your prompt replay,

Best regards

Elisa Costa

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest