by energywave(Legacy Member) on Thu Jul 07, 2005 9:19 am
Hi and thank you for the quick reply, unfortunately I was out until now.
The problem is not the human readable part: I understand that in mixed mode the human readable part it's not correct so I'm using the MRVcode128 and I've added a label under the barcode in wich I write the human readable version of EAN128. This is perfect, no problem.
My problem is with the barcode itself! It is read by barcode readers, but the alphanumeric part is read as numeric with no sense numbers. I'm unable to encode alphanumeric EAN128 in fact.
I report the piece of code in wich I encode one of the barcodes (written in vb.net, I use a object variable because my program must work even if morovia ActiveX is not installed... so I use late binding):
Barcode = CreateObject("cruflMorovia.Barcode")
Code = String.Format("(241){0}", CodArt)
DS.Tables("Reggiatura").Rows(0).Item("EAN128_3Text") = Code
Code = Barcode.EAN128Ex(Code)
If Code Is Nothing = False AndAlso Code.Length > 0 Then
DS.Tables("Reggiatura").Rows(0).Item("EAN128_3") = Code
End If
I put in my DataSet the data to use in Crystal Reports, in particular in EAN128_3Text I put the human readable text to be put in the label at the bottom of the barcode, and in EAN128_3 I put the encoded string to be printed with MRVCode128M font.
The result is what I was saying. Please help me because I can't complete this application with your fonts!
Thank you.