android - Bixolon sdk encoding characters_android -
I would like to print characters like Ä ??, Ä ??, Å¡ like exact Croatian characters I SPP-R200II I am using Bixolon SDK for printer. The code is very simple, just want to print some strings
ListaRacuna.mBixolonPrinter.printText (slanjeNaPrinter, BixolonPrinter.ALIGNMENT_LEFT, 0, BixolonPrinter.TEXT_SIZE_HORIZONTAL1 | BixolonPrinter.TEXT_SIZE_VERTICAL1, incorrect); ListaRacuna.mBixolonPrinter.lineFeed (1, Incorrect); ListaRacuna.mBixolonPrinter.cutPaper (true);
with connection with the printer via Bluetooth Passed the Spanish letters (± ±, Ã, à©, â € ¬ ...) and contacted Bixolon support e-mails, they responded with a simple solution, and it worked: When you receive the bixolonPrinter object, create it before printing the text: bixolonPrinter.setSingleByteFont (BixolonPrinter.CODE_PAGE_858_EURO); You will need to continuously change the code CODE_PAGE _ * in the other code related to those characters you are trying to print. BTW, it may be interesting to check the open source project, where we display with the Bexolon printer to print and apply an autocolection mechanism: < / html>
Comments
Post a Comment