6-35
6.5.8 1-byte Characters Definition Commands
ESC '%' n
Set/Cancel Download Character Set
Code
1BH 25H n
Function Sets or cancels the downloaded character set.
Only the least significant bit of n is valid.
n = 0: Cancel the downloaded character set.
n = 1: Set the downloaded character set.
When the downloaded character set is set, it can be printed.
When the downloaded character set is input with undefined character code, the optional font or
the selected internal character set is printed. However, the 7FH character code is ignored.
If the downloaded character set and optional font are defined in the same character code and
both are selected, the downloaded character set is given priority.
Default n=0
(Cancel)
ESC '&' s n m {DATA}
Define Download Characters
Code
1BH 26H s n m {d1 d2•••dk}
s=0
20H
n
m
7FH
Function Defines the downloaded character in the user area of RAM.
s indicates the character set number of the downloaded character.
n is the beginning of the definition of downloaded character and m is the end of the definition of
downloaded character. If either n or m is defined, n must be equal to m.
If n or m is out of range, the data out of range is ignored and the following data will be processed
as normal data.
The font size of the downloaded character registered is decided by current selected font size.
The downloaded character for 24- or 16-dot fonts are defined simultaneously because both are
registered in separate areas.
d indicates the defining data. The bit corresponding to the dot to be printed is set to 1, and the bit
corresponding to the dot not to be printed is set to 0.
Multiple character codes can be defined at the same time.
If the previously defined character code is defined again, it is overwritten.
The size of data per character for a selected font is as follows:
24-dot font: 48 bytes/character
16-dots font: 16 bytes/character
The total number of character patterns (k) is as follows:
24-dot font: k=48
(m-n+1)
16-dot font: k=16
(m-n+1)
Enter font data by using eight vertical dots as one byte.
If the downloaded character area is released, ESC '&' is ignored and the following data will be
processed as normal data.
For 24-dot fonts, a character is defined as 24 x 16 dots. The following restrictions apply to the
actual printing. If the right space + character width is 16 dots or more, the character can be
printed as 24 x 16 dots. If it is 16 dots or less, only the (character width + character right-side
spacing) dots are printed. To print the whole character regardless of the character right-side
spacing, the font must be defined as 12 dots (horizontal) or less.
Summary of Contents for DPU-S445 SERIES
Page 1: ...DPU S445 SERIES THERMAL PRINTER TECHNICAL REFERENCE U00110811309 ...
Page 90: ...6 43 Figure 6 10 Print Sample 5 ...
Page 100: ...6 53 Figure 6 12 Print Sample 6 ...
Page 126: ...6 79 Figure 6 24 Print Sample 12 ...
Page 128: ...6 81 Figure 6 26 Print Sample 13 ...
Page 130: ...6 83 Figure 6 28 Print Sample 14 ...