10
„n“ indicates the start character code and „m“ indicates the end character code. To define only one
character set n=m.
„a“ is the number of dots in horizontal direction.
„D
i
“ is the data to be defined. The number of data for each symbol is s x a. Each symbol defines
with three bytes of data in vertical direction followed by the next three bytes that define the next
one-dot column, etc.
The downloaded font is cleared by ESC @ and ESC _ commands and when the printer is switched
off.
[Default] The default downloaded font is equal to the default character set. However the downloaded font is
not reset when the code page is chaged, thus it remains the same as the previous code page.
If switch 5 is
ON
:
[Code]
[1Bh] + [26h] + а + n1 + n2 + D1
1
+ … + D
(m-n+1)k
[Range]
{ m = 0-3 Subcommand}
{20h <= n1 <= FFh }
{n1 <= n2 <= FFh }
{k = (n2-n1+1)*48 for m=2 and k = (n2-n1+1)*16 for m=3 }
[Outline] Defines a group of user characters.
m=0: Copy internal character set A to user character set A (Parameters n1, n2 and d are omitted }
m=1: Copy internal character set B to user character set B (Parameters n1, n2 and d are omitted }
m=2: Define character group with ASCII codes between >=n1 and <=n2 for character set A
(12x24). Every character is 48 bytes, two bytes for each line. Only the first nibble of the
second byte is used.
m=3: Define character group with ASCII codes between >=n1 and <=n2 for character set B
(9x16). Every character is 16 bytes.
n1 is the ASCII code of the first and n2 is the ASCII code of the last of (n2-n1+1)
consecutive
symbols. To define a single symbol n1=n2.
d is the data that defines the symbols. Every Font A symbol consists of 48 bytes while
every Font B symbol consists of 16 bytes.
A Font A symbol is defined left to right, top to bottom, two bytes for each horizontal line, as only
the four most significant bits of the second byte are used. Every bit denotes one dot. A bit set to ‘1’
means black dot. The most significant bit is the starting.
Every horizontal line of Font B symbol consists of one byte, as the ninth point is always white.
The most significant bit is the starting.
The user-defined characters are kept after printer off.
[See Also] ESC %
11. ESC ! n
Collective Specifying Printing Mode
[Code]
[1Вh] + [21h] + n
[Range]
{0 <= n <= FFh}
[Outline] Printing mode is assigned. Each n bit indicates the following:
Bit
Function
Value 0
Value 1
0
Character Font
Font A
Font B
1
Undefined
2
Undefined
3
High-lighting
Canceled
Specified
4
Double height
Canceled
Specified
5
Double width
Canceled
Specified
6
Undefined
7
Underline
Canceled
Specified
[Caution] • With double height and double width being specified simultaneously, double wide and double
high characters are consisted.