Specifications

6-85
DC2 'E' 1 n dl dh {DATA} Set Routine Parameter Data
Code 12H 45H 01H n dl dh {d1 d2•••dk}
0
n127
0
dhdl65525
Function Sets character data to be printed in a routine format.
n is a routine parameter number. 128 types can be registered (00H to 7FH). If n is not in the
above range, DC2 'E' 1 n is ignored and the subsequent data is processed as normal data.
dl and dh indicate the number of bytes of the routine parameter data.
d indicates parameter data, and dl,dh bytes of character data and the following commands can
be registered. The commands not listed below are ignored when executing a routine format.
The commands function in the same way as normal commands. See the description of each
command.
ESC 'R' n : Select international character
ESC 't' n : Select character code table
ESC '%' n : Set/cancel download character set
ESC 'w' n : Select/cancel expanded character mode
ESC '-' n : Select/cancel underline mode
ESC '!' n : Set print mode
ESC ' SP' n : Set character spacing
ESC '*' m nl nh : Set bit image mode
FS '&' n : Select Kanji mode
FS '.' n : Cancel Kanji mode
FS '-' n : Select/cancel Kanji underline mode
FS '!' n : Set Kanji print mode
FS 'S' nl nr : Set Kanji left- and right-side spacing
DC2 'Y' n : Character Rotation
DC2 'F' n : Select character font size
DC2 'O' n : Select optional font
Character decoration is cleared and Kanji mode is canceled at the beginning of parameter data.
If a registered routine parameter number is specified, the old routine parameter is deleted, the
area is released, and a new routine parameter is registered.
10 bytes of memory control data is added to each routine data. Therefore, (all routine parameter
data amount + 10) bytes of memory is used.
If the remaining memory capacity is less than (all routine parameter data amount + 10) bytes, all
data is ignored. (all routine parameter data amount + 10) bytes must be 65535 bytes or less.
Data exceeding 65535 bytes is processed as normal data.
Specify dh=dl=0 to erase a routine parameter from memory.
Data with the routine parameter number specified by n is deleted.