Issue / Question
How to print out the Tilde sign "~" by using ZPL commands
Applicable To
ZPL programming and all printers that support ZPL
Resolution / Answer
In ZPL programming language, the default value of control command prefix is known as Tilde sign "~"
If sending ZPL scripts which included the Tilde sign to printer for printing, it will be recognized as the default control command prefix and cannot to be printed out.
Changing the control command prefix from the Tilde to any other ASCII character can be achieved with the ^CT or ~CT commands.
To print out the Tilde with Hexadecimal format by ^FH command:
Example of ZPL script
^XA ^FO100, 200 ^AD,50,25 ^FH_^FD Hello world _7E ^FS ^XZ
