[英]Printing in Tamil in Bluetooth Printer for android
需要示例Android代碼才能使用藍牙打印機在泰米爾語中進行打印。.正在使用以下代碼,但僅打印數字和英文字符:( ..打印機在嘗試打印泰米爾字符時提供了空白。感激..
mbtOutputStream = mmSocket.getOutputStream();
mbtOutputStream.write(Command);
String sendingmessage = "டெஸ்ட் கிரெடிட் பில்";
byte[] send = sendingmessage.getBytes();
mbtOutputStream.write(send);
mbtOutputStream.write(FEED_LINE);
mbtOutputStream.flush();
thread.sleep(20);
mbtOutputStream.write(as);
sendingmessage = " To Retailer:";
send = sendingmessage.getBytes();
mbtOutputStream.write(send);
mbtOutputStream.flush();
mbtOutputStream.write(FEED_LINE);
thread.sleep(20);
sendingmessage = " No.25/6, டெக்னாலஜி fund";
send = sendingmessage.getBytes();
mbtOutputStream.write(send);
mbtOutputStream.flush();
mbtOutputStream.write(FEED_LINE);
thread.sleep(20);
任何人都請告訴我如何在打印機中添加泰米爾字符以進行打印...
嘗試byte[] send = Charset.forName("UTF-8").encode(sendingMessage)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.