User manual
APOS Premium Printer Series User Manual Page 64 /136 Reference: FDE 3107312 Issue A
D
EFINE USER-DEFINED CHARACTER SET
Defines and enters downloaded characters into RAM. The command may be used to overwrite single
characters. User-defined characters are available until power is turned off or the Initialize Printer command
(1B 40) is received.
Any invalid byte (s, c1, c2, n1, n2) aborts the command.
ASCII
ESC & s c1 c2 n1 d1 ... nn dn
Hexadecimal 1B 26 s c1 c2 n1 d1 ... nn dn
Decimal
27 38 s c1 c2 n1 d1 ... nn dn
Values and Ranges
s
= 3 (fixed value), the number of bytes (vertically) in the character cell
c
= the ASCII codes of the first (c1) and last (c2) characters respectively
c1 = Hex 20-FF (20 is always printed as a space)
c2 = Hex 20-FF (20 is always printed as a space)
To define only one character, use the same code for both c1 and c2
n
= the number of dot columns for the nth character as specified by n1 ... nn
n = 1-16
d
= the column data for the nth character as specified by d1 ... dn
The number of bytes for a character cell is s x n1
The bytes are printed down and across each cell
See the illustration:
Top of Character
dn
MSB
LSB
d1
d2
d3
d4
d5
dn
Related information
See 1D 22 n ( Select memory type ) to save User Defined characters.