NAUT324C-256K
- Technical reference - Rev. B
Page 37
16.3.13. Save
font
[Designation] Save a font (entire set of characters) in printer memory.
[Format] ASCII
ESC l
<font num><char index><n rows><ch><cl>...<ch><cl>.
Hex 1B 6C {data}
Decimal 27 108 {data}
[Description] <font number> is the destination font No.
<char index> is the character index (0…255)
<n rows> is the number of rows (number of pixel lines composing the matrix of the
character)
<ch><cl> font data. It is a 16 bit value bit coded: 1= dot black, 0= dot white
(starting from the upper row).
Example.
To save the character index 0x20 (character Space) in the font n.1 (the font
created in the previous example (command ESC i, font 14x22):
<1B><6Ch><0x01h><0x20h><0x16>< 0x00h><0x00h>, …, …, <0x00><0x00>
(0x00h, 0x00h repeated 22 times).
The sequence of commands
ESC l
must be repeated all at once for the 256
characters, starting from character index 0 and repeated character by character up
to character 256 (the last).
Notes:
The characters index 0Ah, 0Ch, 0Dh and 1Bh are unprintable, they are used as control
codes, so all the related bytes of these characters index should be set to 0x00.
The command Save font (ESC l) should follow Define font (ESC i).
16.3.14. Delete
font
[Designation] Delete a font in printer memory.
[Format] ASCII
ESC M
<font num>
Hex 1B 4D n
Decimal 27 77 n
[Description] Delete font specified by n
Example.
To delete the font No. 3: <1Bh><4Dh><03h>
Note:
When deleting a font (any font installed at factory or by the user), the printer will use the Default
GB2_13x24, for that font, this is because the printer must have always a font in a determined
font index.