6-34
6.5.8 1-byte characters Definition Commands
ESC '%' n
Set/Cancel Download Character Set
Code
1BH 25H n
Function Sets or cancels the download character set.
Only the least significant bit of n is valid.
n = 0: Cancel the download character set.
n = 1: Set the download character set.
When the download character set is set, it can be printed.
When the download 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 download character set and optional font are defined in the same character code and both
are selected, the download 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 1-byte characters in the download character set.
s indicates the character set number of the download character.
n is the beginning of the definition of download characters and m is the end of the definition of
download characters. 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 download character registered is decided by current selected font size.
The download characters 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 download character area is freed up, 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-S245
Page 1: ...DPU S245 SERIES THERMAL PRINTER TECHNICAL REFERENCE U00117152801 ...
Page 12: ...2 2 Dimensions 83 130 45 1 3 63 5 75 2 9 7 38 Unit mm Figure 2 1 Dimensions Paper Outlet ...
Page 87: ...6 42 Figure 6 10 Print Sample 5 ...
Page 97: ...6 52 Figure 6 12 Print Sample 6 ...
Page 122: ...6 77 Figure 6 24 Print Sample 12 ...
Page 125: ...6 80 Figure 6 28 Print Sample 14 ...