Hi, we use ESC / POS printer and we need to print the euro symbol.
Hi, we use ESC / POS printer and we need to print the euro symbol.Any ideas on how to configure that, currently we use:Code: Pascal [Select][+][-]escMultiLang = chr(27) + chr(116) + chr(39); //ISO_8859_1But in the ticket the euro symbol looks like this (attached image).
If the printer faithfully follows the iso-8859-1 encoding, then it's doing right because iso-8859-1 has no euro sign. You need to convert the UTF-8 characters that Lazarus use to any printer supported encoding that has the euro sign (iso-8859-15 has it at the $A4 position and windows-1252 has it at the $80 position). The LConvEncoding unit makes this easy.