问题描述
我正在开发一个Android应用程序与BIXOLON R200打印。我使用bxlprint.jar的类对我的工作。当我要打印字符串波斯像سلام
,打印机的打印性格怪异。我用UTF-8和UTF-16编码。 u能帮助我PLZ?
字符串PrintTextSample =سلام;mBxlService.PrintText(PrintTextSample,BxlService.BXL_ALIGNMENT_LEFT,BxlService.BXL_FT_DEFAULT,BxlService.BXL_TS_0WIDTH | BxlService.BXL_TS_0HEIGHT,UTF-16);
您必须在其他语言中使用BIXOLON字符映射表打印
<一个href=\"http://www.bixolon.com/upload/download/mobile%20printer_$c$c%20pages%20manual_english_rev_1_00.pdf\" rel=\"nofollow\">http://www.bixolon.com/upload/download/mobile%20printer_$c$c%20pages%20manual_english_rev_1_00.pdf
i am developing an android app for printing with Bixolon R200. i use bxlprint.jar's classes for my work. when i want print persian string like سلام
,printer print weird character. i used UTF-8 and UTF-16 for encoding. can u help me plz ?
String PrintTextSample="سلام";
mBxlService.PrintText(PrintTextSample, BxlService.BXL_ALIGNMENT_LEFT, BxlService.BXL_FT_DEFAULT, BxlService.BXL_TS_0WIDTH | BxlService.BXL_TS_0HEIGHT,"UTF-16");
you must use Bixolon Character Map for Printing in other Languages
http://www.bixolon.com/upload/download/mobile%20printer_code%20pages%20manual_english_rev_1_00.pdf
这篇关于与BIXOLON R200打印Android应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!