Page 1 of 1
BarCode problem
Posted: Wed Nov 11, 2015 4:51 pm
by romulocpd
Hello.
I'm using a bar code 2of5 Interleaved. This pattern is used in Brasil to make "Blank Slip".
The code used to generate is:
34191750090000200654220057380006566230000042035
Whem I try read the barcode a zero appears before, like:
034191750090000200654220057380006566230000042035
In attach the MRT file and PDF printed.
Thank you!
Re: BarCode problem
Posted: Thu Nov 12, 2015 10:09 am
by HighAley
Hello.
Because digits are encoded by pairs, only an even number of digits can be encoded. Typically an odd number of digits is encoded by adding a "0" as first digit.
Thank you.
Re: BarCode problem
Posted: Thu Nov 12, 2015 10:39 am
by romulocpd
Hello.
I don'' know what can I do then...
See the image below:

- boleto itau valido.jpg (227.65 KiB) Viewed 2504 times
I's a real valid blank slip in Brasil and it has 47 digits!
Help!!!
Re: BarCode problem
Posted: Thu Nov 12, 2015 11:43 am
by HighAley
Hello.
From the barcode on your photo we get next
34193660800000103001090017688430222227407000
Here are 44 digits.
There should be an even number of digits by specification.
Thank you.
Re: BarCode problem
Posted: Thu Nov 12, 2015 12:02 pm
by romulocpd
Thank you!
You were right. The code numeric is diferent from code used to generate barcode.... I saw it in documentation... Now is correct.
I was sending the incorrect value to barcode component.
Thank you.
Re: BarCode problem
Posted: Thu Nov 12, 2015 12:25 pm
by HighAley
Hello.
We are always glad to help you.
Let us know if you need any additional help.
Thank you.