CHAPTER 8 ESC/POS MODE (INTERFACE COMMANDS)
B-EP Series
8-17
8.10.9 DOWNLOADED CHARACTER (WRITABLE CHARACTER) DEFINE COMMAND [ESC] &
Function Defines downloaded characters (writable characters) of the ANK code.
Format [ESC] &ynm [xd
1
d
2
d
3
…d
yx
]
n
・・・・・[xd
1
d
2
d
3
…d
yx
]
m
Term ASCII: ESC &
Hex: 1Bh 26h
[Parameter]
y: No. of bytes in the vertical direction 3 (03h) Fixed
n: Setting start character code 32 ≤ n ≤ 126 (20h ≤ n ≤ 7Eh)
m: Setting end character code 32 ≤ m ≤ 126 (20h ≤ m ≤ 7Eh)
* n = m if there is only 1 character.
d: Data to be defined 00h ≤ d
1
, d
2
, … d
yx
≤ FFh
x: No. of bytes in the horizontal direction 0 ≤ x ≤ 12 (00h ≤ x ≤ 0Ch)
Default value Internal ANK characters (no writable characters registered)
Explanation (1) Multiple consecutive character codes can be defined in the single execution of this
command.
(2) d refers to not only data to be defined, but also a pattern of dots from the left end in
the x (horizontal) direction. If x is below the number of dots to form a character, the
remaining dots on the right will be space filled.
(3) At a moment when an error occurs with parameter y, n, m, or x due to a factor such
as an unmatched condition, command processing will be aborted, and the data
subsequent to x will be processed as normal data.
(4) The defined downloaded characters are cleared in the event of the following
commands:
• Initialize Command ([ESC] @)
• Downloaded Bit image Define Command ([GS] *)
• Downloaded Character Erase Command ([ESC] ?)
Reference [ESC] %, [ESC] ?