Specifications

Revision C 16/01/96
Chapter 2 "PCL" - 37
Define Symbol Set
Esc(f#W[data] (27)(49)(102)#(87) <1Bh><28h><66h>#<57h>
# value can be from 18 to 32767.
# stands for number of bytes in the data which is followed this command.
If an existing ID code is used for a user-defined symbol set, it is overwritten.
Up to 2047 downloadable user-defined symbol sets can be stored subject to the printer's memory capacity.
If a memory full error occurs while downloading the user-defined symbol set, the symbol set which is being
downloaded becomes invalid.
The symbol set which is defined by this command is temporary stored in the printer memory.
The data followed this command should be in the following format.
15 8
MSB
7 0
LSB
0 - 1 Header Size (18)
2 - 3 Encoded symbol set designator
4 - 5 Format Symbol Set Type
6 - 7 First Code
8 - 9 Last Code
10 - Character Requirements
Symbol Map [Last Code - First code + 1 ]
(B) Boolean (0,1)
(UB) Unsigned Byte (0 ~ 255)
(SB) Signed Byte ( -128 ~ 127 )
(UI) Unsigned Integer ( 0 ~ 65535 )
(SI) Signed Integer ( - 32768 ~ 32767 )
(ULI) Unsigned Long Integer ( 0 ~ 2
32
-1)
(SLI) Signed Long Integer (-2
31
~ 2
31
- 1)
(ASC**) ASCII string array (0 ~ **-1) of characters
0 -1: Header size (UI) - set to 18 or greater.
This value stands for the byte number of header.
2 -3 : Encoded Symbol Set Designator (UI) - should be as same as the ID code which is defined by ESC*c#R.
4 : Format (UB) - 1 for MSL (Intellifont), 3 for Unicode (TrueType).
5 : Symbol Set Type (UB) - 0, 1 or 2.
0 specifies a 7-bit font with character codes 20H to 7FH acceptable.
1 specifies a 8-bit font with character codes 20H to 7FH and 80H to FFH acceptable.
2 specifies 8-bit 256 all character fonts. Only when the printer is set to transparent print mode can the
characters 0, 7~15, 27 be printed.
6 - 7: First Code (UI) - indicates the first code of definition data followed this header.
8 -9: Last Code (UI) - indicates the last code of definition data followed this header. This value should be more
than the first code value. Also, the data followed this header should have (Last code - first code + 1) bytes.