This solution is not Unicode, but if your firmware supports it (x.14.x
and higher according to the documentation) you can force the Greek windows-1253
codepage and append using the hex version of the 1253 code table for each character.
Note: Despite the name, windows-1253
does not require the Windows operating system to function with a Zebra printer.
// ^XA = Start of label
// ^XZ = End of label
// ^CF = Font size
// ^FO = X,Y position on label
// ^CI34 = Code Page 1253 - Zebra x.14.x fimware or higher only
// ^FH = Allow "_FF" style escaped hex characters
^XA
^CF0,60
^CI34^FO50,50^FH^FD - Theta: _C8 ^FS
^CI34^FO50,100^FH^FD - Lambda: _CB ^FS
^XZ
The disadvantage of this approach is a programmer will have to either:
- Dynamically map each Greek character to a
cp1253
equivalent before preparing the ZPL message, or...
- Use a character encoding converter to map the UTF character to the
cp1253
equivalent before sending. Many programming languages have built-in methods for doing this. Warning as these may appear as strange symbols in a terminal or output stream.
So, if the printer directly supports Unicode data, that is the ideal solution, but if it doesn't, cp1253
may be a viable option.