6-66
6.5.19 Optional Font Commands
DC2 'P' s e x y {DATA}
Define Optional Font
Code
12H 50H s e x y {d1 d2•••dk}
20H
s
e
FEH
s
7FH, e
7FH
8
x
127
1
y
48
Function Defines an optional font.
s and e specify a definition start character code and a definition end character code of the
optional font. If only one character is input, s=e.
If the area from s to e contains 7FH, the 00H for one character of data must be input for 7FH.
x and y indicate the number of dots of the optional font in the horizontal direction and the number
of dots in the vertical direction.
If s, e, x, or y is out of range, the excess part is ignored and the following data will be processed
as normal data.
The optional font can be defined only in the continuous character area specified by s to e. If any
optional font is already registered, it is erased and the area is freed up, and the new optional font
is registered.
d indicates font data.
Create font as follows:
The number of bytes of data required for one character in the horizontal direction is obtained by
dividing x by 8 and rounding off decimals to the next whole number.
There are y dot lines in the vertical direction. The amount of data of one character is calculated
by the following formula:
Amount of data of one character = INT((x+7)/8)
y bytes
If x is not a multiple of 8, the excess rightmost bits are ignored.
The total quantity of font data (k) is obtained by the following equation:
k = (Amount of data of one character) x (e-s+1) bytes
The 12-byte memory control data is attached to the optional font, (total amount of font data + 12)
bytes of memory are used.
If the remaining amount of memory is less than (total amount of font data + 12) bytes, (total
amount of font data + 12) must be 65535 bytes or less. The data exceeding 65535 bytes will be
treated as normal data.
If the remaining amount of memory is less than (total amount of font data + 12) bytes or if 65536
bytes or more of data are input, the previously defined data is erased.
The correspondence between the bits of image data can be selected by the Select image
LSB/MSB (DC2 '='). The LSB initially corresponds to the leftmost dot.
Содержание DPU-S245
Страница 1: ...DPU S245 SERIES THERMAL PRINTER TECHNICAL REFERENCE U00117152801 ...
Страница 12: ...2 2 Dimensions 83 130 45 1 3 63 5 75 2 9 7 38 Unit mm Figure 2 1 Dimensions Paper Outlet ...
Страница 87: ...6 42 Figure 6 10 Print Sample 5 ...
Страница 97: ...6 52 Figure 6 12 Print Sample 6 ...
Страница 122: ...6 77 Figure 6 24 Print Sample 12 ...
Страница 125: ...6 80 Figure 6 28 Print Sample 14 ...
Страница 168: ...A 3 A 2 INTERNATIONAL CHARACTER SETS The following codes differ depending on the international character set selected ...
Страница 170: ...A 5 A 4 KANJI QUARTER SIZE CHARACTER SET ...