1D Vs 2D
Good morning,
For one of my customer, I need to generate a label with both 1D and 2D barcode. As they have to comply with GS1, the 1D is a EAN/UCC code 128 and the 2D is a datamatrix with ECC 200 type.
I use the wizard to code the GTIN (AI 01) and I have a difference when I read the code : the check digit is OK for the 1D, but I have no check digit for the 2D.
Example :
1D --> (01)05414732147189
2D --> (01)0541473214718
I use Bartender 8.01
Can anyone help ?
Thanks
Sébastien
For one of my customer, I need to generate a label with both 1D and 2D barcode. As they have to comply with GS1, the 1D is a EAN/UCC code 128 and the 2D is a datamatrix with ECC 200 type.
I use the wizard to code the GTIN (AI 01) and I have a difference when I read the code : the check digit is OK for the 1D, but I have no check digit for the 2D.
Example :
1D --> (01)05414732147189
2D --> (01)0541473214718
I use Bartender 8.01
Can anyone help ?
Thanks
Sébastien
0
-
Do you have an older version of BarTender as I think we added the check digit calculation for data matrix GS1 codes a while back. In any case you can use a VB script to calculate the check digit. Give a share name to the GTIN value (example: btGTIN) and then from a separate sub-string in the 2D code use a single line VB script that calls the UccMod10() function referencing the named GTIN value.
[code]
UccMod10(Format.NamedSubStrings("btGTIN").Value)
[/code]0 -
Thanks, it helps.
On top of that, I also discovered the check box for the GS1 prefix, and that was missing too.
Now, my datamatrix looks OK.0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare