For ESC/POS (Epson) printers #
Use below code to dynamically choose font on ESC/POS (Epson) printers.
<text codepage="59">яблоко<text>
You get the code page number by checking the test print from thermal receipt printer. Use the 0, 1, 2, 3, … sequential number corresponding to each language. In the above code example it uses the Russian code page 59.
For Printers using printer driver #
When printing using a printer driver, use the below code:
<line font="Kartika" size="11">
<text>ആപ്പിള്</text>
</line>
Leave a Reply