Hi
I`m going to print out Arbic recipt print by using C#(.NET 2.0)
Please see each code as below by Serial interface.
byte[] cutemp = Encoding.GetEncoding(1256).GetBytes(content);
serialPort.BaseStream.WriteTimeout = 1500000;
serialPort.BaseStream.Write(cutemp, 0, cutemp.Length);
serialPort.BaseStream.Flush();
BUT, the problem is that Arbic print out in reverse.(Up side down)
When mix English and Arbic, English print out well, only arabic has been reversed.
As I checked converted Byte arrangment, converted byte has been reversed after encoding.
for example, if 54321(please imagine these would be Arabic) and encoding these letters,
Byte arrangement [1][2][3][4][5] instead of [5][4][3][2][1], something like this.
anybody help me out?!!
My boss is waiting for me to kill if I don`t fix this problem.