6-67
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
0
d
255
Function Defines an optional font in the user area of RAM.
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 released, 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 information is attached to the optional font, (total amount of font
data + 12) bytes are used.
If the remaining capacity of the user area of RAM is less than (total amount of font data + 12)
bytes, all the data is ignored. Also, (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-S445 SERIES
Страница 1: ...DPU S445 SERIES THERMAL PRINTER TECHNICAL REFERENCE U00110811309 ...
Страница 90: ...6 43 Figure 6 10 Print Sample 5 ...
Страница 100: ...6 53 Figure 6 12 Print Sample 6 ...
Страница 126: ...6 79 Figure 6 24 Print Sample 12 ...
Страница 128: ...6 81 Figure 6 26 Print Sample 13 ...
Страница 130: ...6 83 Figure 6 28 Print Sample 14 ...
Страница 174: ...A 2 INTERNATIONAL CHARACTER SETS The following codes differ depending on the international character set selected A 3 ...
Страница 176: ...A 4 KANJI QUARTER SIZE CHARACTER SET A 5 ...