这是来自android的
的zpl代码 String zplcode="^XA^LRN^CI0^XZ\n" +
"\n" +
"^XA^CWZ,E:TT0003M_.FNT^FS^XZ\n" +
"^XA\n" +
"\n" +
"^FO10,50^CI28^AZN,50,50^F16^FDZebra Technologies^FS\n" +
"^FO10,150^CI28^AZN,50,100^F16^FDUNICODE^FS\n" +
"^FO020,260^CI28^AZN,50,40^F16^FDSwiss 721 Arabic: زيبرة تكنوليجيز اوربا المحدودة^FS\n" +
"^PQ1\n" +
"^XZ";
mmOutputStream.write(message.getBytes());
结果是颠倒的阿拉伯字符 有什么建议吗? 提前致谢 According to this topic
答案 0 :(得分:2)
通过在ZPL代码中包含此行来解决问题:
^PA1,1,1,1^FS ^FX Enables Advanced Text ^FS
String zplcode="^XA^LRN^CI0^XZ\n" +
"\n" +
"^XA^CWZ,E:TT0003M_.FNT^FS^XZ\n" +
"^XA\n" +
"\n" +
"^PA1,1,1,1^FS ^FX Enables Advanced Text ^FS"+
"^FO10,50^CI28^AZN,50,50^F16^FDZebra Technologies^FS\n" +
"^FO10,150^CI28^AZN,50,100^F16^FDUNICODE^FS\n" +
"^FO020,260^CI28^AZN,50,40^F16^FDSwiss 721 Arabic: زيبرة تكنوليجيز اوربا المحدودة^FS\n" +
"^PQ1\n" +
"^XZ";
mmOutputStream.write(message.getBytes());