Tag: 斑马打印机

斑马打印机塞尔维亚拉丁字符

我有斑马打印机RW220没有打印塞尔维亚拉丁字符的问题,如čćžšđ。 我开发了一个使用打印机的Android应用程序。 打印部分基于Zebra SDK。 这是代码的一部分: private byte[] getConfigLabel() { PrinterLanguage printerLanguage = printer.getPrinterControlLanguage(); byte[] configLabel = null; if (printerLanguage == PrinterLanguage.ZPL) { try { configLabel = “^XA^FO17,16^GB379,371,8^FS^FT65,255^A0N,135,134^FDTEST^FS^XZ”.getBytes(“UTF-8”); } catch (UnsupportedEncodingException e) { // TODO Auto-generated catch block e.printStackTrace(); } } else if (printerLanguage == PrinterLanguage.CPCL) { String cpclConfigLabel = “! 0 200 200 780 1\r\n” […]