User manual
APOS KANJI User Manual Page 19 / 45
Ref : 3103039-FDE Issue A
Printer Control Codes
Control codes are non-printable characters or sequences of characters which affect the subsequent
operation of the printer. For your convenience, these are grouped below in logical sets of
commands which can be used in the same context.
Throughout the following descriptions of the commands you will note that three special codes are
used to cause the printer to interpret the following byte or bytes as part of a command and not as
printable characters. These codes are:
Code Name Dec. value Hex. value
ESC Escape 27 1B General “escape sequence” commands
GS Graphic Sequence 29 1D Often used for special graphic
commands
AX Axiohm 31 1F Special commands for the APOS printer
FS KANJI sequence 28 1C General Kanji commands
The general command syntax is as follows:
Command
(Description) Name and description of the command
(Format) The code sequence to be sent to the printer.
<nnh> is used to represent the hexadecimal number nn
<nn> is used to represent the decimal number nn
[ ] k is used when the sequence included in [ ] must be repeated k times
(Comments) Additional information such as range allowed for the numbers or default
values
(Cross reference) Related commands