Greetings,
I Have a Zebra ZD220t and i do need to print some labels which have Arabic and English on the same label , i did tried all the possible options and it seems that somehow XOJO is messing up the Arabic part.
I imported the source csv but using a plugin on another project , i use Chilkat to load the csv and on the file encoding , because it comes from a windows machine i put csv.LoadFile2(FileName, "windows-1256" )
which made the text to show properly.
Now, on my side i try testing one test code found on the internet which is
#If TargetWindows Then
Dim printer As New directPrint
Dim job As Integer
If printer.Open("barcode") Then
job= printer.StartDoc("BClabel")
If job > 0 Then
If printer.StartPage Then
Call printer.Write("^XA")
Call printer.Write("^PW464") ' 58 mm * 8 dots per mm = 464 dots
Call printer.Write("^LL312") ' 39 mm * 8 dots per mm = 312 dots
Call printer.Write("^CI28")
Call printer.Write("^CWZ,E:TT0003M_.TTF")
Call printer.Write("^FT60,100^PA0,1,1,1^AZN,30^FDBonjour en Arabe : صباح الخي^FS")
Call printer.Write("^XZ")
printer.EndPage
End If
printer.EndDoc
End If
printer.Close
End If
#EndIf
But when printing it comes like this :
Which makes me think that there is some fishy with the encoding of the text and the way it is handled.
I looked on xojo Encodings part and i did not found any
windows-1256 encoding
So can someone help me here and tell me what encoding i should use in order to show properly.
Thanks
17 posts - 4 participants