Control Codes
Page 98 100-88002 Rev B
Note: The code page field is a 16-bit field that is a function of the code page
numbers <nh> and <nl>, e.g. (<nh> * 256) +<nl>. For example, 1 * 256 + 181
= 437. For the IPCL command, the page is specified in ASCII as a 4-byte
field.
Note: If the requested code page is not found in the internal maps, the file
system is searched for the definition.
Function Select character code page by name. All
ASCII [ESC] + C Codepage.CPM <0>
Hexadecimal 1BH 2BH 43H
Decimal <27> <43> <67>
CodePage File name from 5 to 30 characters.
Description The [ESC] + C command will select and read a code page encoding file.
If the file does not exist, the current code page will be selected. If the code page
definition is not complete, only the character locations defined by the file will be
effected.
Note: Code page translations only occur in ASCII mode. This command has
no effect in Unicode mode.
[ESC] [ C Insert Euro character PcOS
ASCII ESC] [ C <n>
Hexadecimal 1BH 5BH 43H <n>
Decimal <27> <91> <67> <n>
IPCL &%EU
Description The [ESC] [ C <n> command allows an application to replace any
character in the currently active code page with the Euro character. The character to
be replaced is defined by <n>. For example, if the currently active character set is CP
850 (multi-lingual) and 0D5H character is to be the Euro character, “1BH 5BH 43H
0D5H” replaces the character at 0D5H with the Euro symbol. This command is only
valid in ASCII mode when code pages are active.
Note: This command is effective only in ASCII mode.
Typical Euro Character Substitution Locations
Name Epson IBM Code Page Insertion Point (hex)
850 26 850 0xD5
Turkey 857 57 857 0XD5
Win Cyrillic 52 1022 0X88
Win Turkish 51 1021 0X80
Win Greek 50 1020 0X80
Win Hebrew 62 1032 0X80
Win Baltic 68 1034 0X80
Table 6 Euro Character Substitution Matrix
[ESC] ^ Print control character