Hello.
I try to print to a thermal pos printer with opening its port (9100) with a socket and send raw text.
Everything is okay with the latin characters.
When I print Greek characters i took bad results.
Instead of the correct characters i took something like ╢│▓╩ etc.
I tried to convert to ISO-8859-1 (which is not totally right because the greek codepage is ISO-8859-7)
but i took almost same results (different characters but bad printing).
I send a question to company support, but no answer...
The client told that with his windows mobile application this printer is able to print greek characters.
For the record the printer is a Custom Kube.
Regards.
I try to print to a thermal pos printer with opening its port (9100) with a socket and send raw text.
Everything is okay with the latin characters.
When I print Greek characters i took bad results.
Instead of the correct characters i took something like ╢│▓╩ etc.
I tried to convert to ISO-8859-1 (which is not totally right because the greek codepage is ISO-8859-7)
B4X:
Dim arrBytes() As Byte
Dim sText As String
sText = "Ημερομηνία"
'- aStream.Write(sText.GetBytes("UTF8"))
arrBytes = sText.GetBytes("ISO-8859-1")
aStream.Write(arrBytes)
I send a question to company support, but no answer...
The client told that with his windows mobile application this printer is able to print greek characters.
For the record the printer is a Custom Kube.
Regards.