Programmer's Guide User guide

1 | Programmer’s Guide
Thermal Printer Programmer’s Guide 48
Hex Transfer Method
The hex transfer method allows the user to send PCL escape sequence printer
commands to the printer with ASCII text strings. Any valid command or data sequence
can be sent using this method. The printer will convert the sequences to the appropriate
binary data used internally.
Syntax:
&%X1X2…$
where the characters "&%" initiate the sequence, X1X2 are a hexadecimal pair
representing the character value. For instance the <ESC> character is value 1B. The "$"
character terminates the sequence.
To enable hex transfer mode:
On display-equipped models enter Menu->Advanced->Comm->General->Host Settings-
>Tab 2 and select check box next to Hex Transfer. Save Settings.