91
9. Bar code and enlarged character
(18) Setting and canceling enlarged character smoothing: DC4 DC4 s
Format:
ASCII
DC4
DC4
s
n
Hex
14
14
73
n
Decimal
20
20
115
n
Function:
Sets and cancels smoothing of enlarged characters.
n = 00H, 30H:
Cancels smoothing.
01H, 31H:
Sets smoothing.
The MSB of the parameter is masked. Any sequences other than the
above parameters are ignored.
Smoothing is set by default.
(19) Enlarged character top offset: DC4 DC4 t
Format:
ASCII
DC4
DC4
t
m n1 n2
Hex
14
14
74
m
n1
n2
Decimal
20
20
116
m
n1
n2
Function: Specifies the top offset of enlarged characters.
m = (20)H
0
≤
n1
≤
255
0
≤
n1
≤
15
The top offset refers to the vertical distance between the top of the cell
and the top of a character. This determines the character position in the
cell.
It is specified by (n1 + n2 x 256)/180”.
The high-order four bits of parameter n2 (bit 7 to bit 4) are masked.
The top offset is effective for only one characterafter this sequence.
The top offset is canceled when a line feed (LF) command, form feed (FF)
command, or vertical print position (DC4 DC4 y) command is issued.
The top offset is not dependent on the enlarged character arrangement.
It is always based on the top of the cell (corresponding to the ascender-
based position).
The top offset is not dependent on cell expansion or length expansion.
The bottom of a character (i.e., 24th pin position, regardless of character
type, even for a 30-dot pixel) does not extend beyond the bottom of the
cell. If the top offset is too large and the bottom of the character extends
below the bottom of the cell, the top offset is reduced.
Any sequences other than m = 20H are ignored.