Zebra Label Printer > Enabling hexadecimal character values

Enabling hexadecimal character values
If you want to use ZPL reserved characters (e.g. ^ and ~) in field data output to a Zebra label printer, you must use the corresponding hexadecimal character values.
To be able to use hexadecimal character values in field data (in an ^FD command), you must add the following keyword to the driver file (without parameters):
ENABLE_HEX
For example, to be able to use ~ (tilde) in output to a Zebra label printer, you must add the ENABLE_HEX keyword to the driver file, and use the hexadecimal value for ~ (<7e>) in the PageOUT Process. In the output to the printer, the field data is translated to the correct ZPL syntax. The table below shows the field data in PageOUT and the corresponding field data sent to the printer.
Tilde <7e> used for hex
^FH^FDTilde _7e used for hex^FS
OpenText StreamServe 5.6 Updated: 2013-03-01