6-5
6.2 FUNCTION CODES
One of the following control codes is attached to the beginning of each command. These control codes are
also called function codes.
HT(09H), LF(0AH), VT(0BH), FF(0CH), CR(0DH), SO(0EH), DC2(12H), DC3(13H), DC4(14H),
CAN(18H), ESC(1BH), FS(1CH), GS(1DH)
Function codes may or may not have parameters or image data.
The number of bytes per command differs based on the type of command. Some commands are only 1 byte
long, while some are up to several hundred bytes in length.
6.3 CHARACTER CODES
This section describes character codes.
The character code range and user-defined character codes are different depending on JIS code system or
Shift JIS code system which is selected with the Kanji Code System Select command (FS 'C').
6.3.1 JIS Code System
When the JIS Code System is selected with the Kanji Code System Select command (FS ‘C’), Kanji characters
can be printed using 2-byte character codes after Kanji mode is selected with the Kanji Mode Specify
command (FS '&').
The command functions as 1-byte character code or the first or second byte of 2-byte character code.
If a command is input in 2-byte character codes, the next data is always processed as the first byte. However,
the next data is 1-byte character code for Cancel Kanji Mode, FS '.'.
If a command is input as the second byte of 2-byte character code, the first byte is ignored.
(1) 1-byte character codes
00H - 1FH:
Commands are processed as commands.
20H - 7EH: The codes are processed as 1-byte character code.
7FH:
Ignored (except that when 7FH is defined as downloaded character and downloaded
character operation is effective).
80H - FEH: The codes are processed as 1-byte character code.
FFH:
It differs from each character set.
If the extended graphics character set or the katakana character set are selected,
they are ignored.
If the Codepage 1252 is selected, it is processed as the character code.
(2) 2-byte character codes
2-byte character codes specify Kanji characters, Kanji quarter size characters or user-defined character.
- First byte
00H:
1-byte character area in Kanji ROM. Specify the 1-byte character in the Kanji ROM
with the next data of 00H.
21H - 76H:
2-byte character area.
77H:
User-defined character area.
78H - 7EH: 2-byte character area.
If the codes other than the above are not commands, these codes are ignored.
The next data to be received is processed as the first byte.
Содержание DPU-S445 SERIES
Страница 1: ...DPU S445 SERIES THERMAL PRINTER TECHNICAL REFERENCE U00110811309 ...
Страница 90: ...6 43 Figure 6 10 Print Sample 5 ...
Страница 100: ...6 53 Figure 6 12 Print Sample 6 ...
Страница 126: ...6 79 Figure 6 24 Print Sample 12 ...
Страница 128: ...6 81 Figure 6 26 Print Sample 13 ...
Страница 130: ...6 83 Figure 6 28 Print Sample 14 ...
Страница 174: ...A 2 INTERNATIONAL CHARACTER SETS The following codes differ depending on the international character set selected A 3 ...
Страница 176: ...A 4 KANJI QUARTER SIZE CHARACTER SET A 5 ...