
Control Codes | PcOS Series 150 | Programmer's Guide |
Character Sets and Code Pages
For example, to redefine the character map for the 35th character and replace it with internal master character 346, the “Redefine Character Set” command is used as follows:
[ESC] [ | S <3> <0> <35> <90> <1> | |
^^^^ ^^ | ^^^^^^ | 346th Character in the Master set |
+- | ||
[(1*256) + 90] | ||
35th Character | ||
3 Bytes to follow [(0*256) + 3] | ||
The new map will remain until the printer is power cycled or the character set is redefined. The code page and character set commands completely redefine the table.
Function | Character font image download |
ASCII | [ESC] = <n1> <n2> <start code> <data> |
Hexadecimal | 1BH 3DH <n1> <n2> <start code> <data> |
Decimal | <27> <61> <n1> <n2> <start code> <data> |
IPCL | none |
EPOS | none |
Description | This command allows custom characters to be downloaded. The total count is |
| [(number of characters x 9) + 1] = (n1 + 256 * n2). The start code is the |
| starting character where the download is to start. |
Function | Copy ROM Character Set to RAM Character Set |
ASCII | [ESC] $ |
Hexadecimal | 1BH 24H <n> |
Decimal | <27> <36> |
IPCL | none |
EPOS | none |
Description | This command copies the internal ROM character set to the RAM character set. |
Function | Custom character set ON |
ASCII | [ESC] > <n> |
Hexadecimal | 1BH 3EH <1> |
Decimal | <27> <62> <1> |
IPCL | none |
EPOS | none |
Description | This selects the custom character set contained in the RAM font buffer. |
Page 28 | Rev G | 12/14/99 |