3. PRINTER FUNCTIONS3. PRINTER FUNCTIONS
KPM210/216
153-
[Notes] • Only the LSB of n is applicable.
• When the user-defined character set is canceled, the inter-
nal character set is automatically selected.
[Default] n=0
[Reference] ESC &, ESC ?
[Example]
y(d…1d1x[2C1CY&CSEy(d…1d1x[2C1CY&CSE
y(d…1d1x[2C1CY&CSE
y(d…1d1x[2C1CY&CSEy(d…1d1x[2C1CY&CSE ××
×
×× y(d…1dkx[…])1xy(d…1dkx[…])1x
y(d…1dkx[…])1x
y(d…1dkx[…])1xy(d…1dkx[…])1x ××
×
×× ])kx])kx
])kx
])kx])kx
[Name] Defines user-defined characters
[Format] ASCII ESC & Y C1 C2
Hex 1B 26 Y C1 C2
Decimal 27 37 Y C1 C2
[Range] Y = 3
32 ≤ C1 ≤ C2 ≤ 126
0 ≤ x ≤ 16 (Font ( 18 × 24))
0 ≤ x ≤ 13 (Font 13 × 24)
0 ≤ x ≤ 10 (Font 10 × 24)
0 ≤ d1 … d (y × xk) ≤ 255
k = C2 – C1 + 1
[Description] Defines user-defined characters.
Y specifies the number of bytes in the vertical direction.
C1 specifies the beginning character code for the definition,
and C2 specifies the final code.
X specifies the number of dots in the horizontal direction.
[Notes] • The allowable character code range is from ASCII 20H (32)
to 7EH (126) (95 characters).
• It is possible to define multiple characters for consecutive
character codes. If only one character is desired, use C1 =
C2.
• If C2 < C1, the command is not executed.
• d is the dot data for the characters. The dot pattern is in the
horizontal direction starting from the left. Any remaining dots
on the right remain blank.
• The data to define a user-defined character is ( x
x y) bytes.
• To print a dot, set the corresponding bit to 1; to not have it
print, set to 0.
• This command can define different user-defined character
patterns for each font. To select the font, use ESC !, ESC
⊥⊥
⊥⊥
⊥.
www.ipcprint.com