Character set commands Switching on italic print
T5023/5023+ - Programming Guide 155
Transferring the character definition
Function:
Using the control command ESC &, the encryption (number sequence) of one or
more characters defined by the user can be transferred:
ESC&(s)(n)(m)(d0)(d1)(d2)(data1)(d0)(d1)(d2)(data2)...
The parameters have the following meaning:
– s is the number of the desired LQ type font (see control command
ESC k (n)). If a character is to be defined in draft print quality, 0 must be en-
tered.
– n is the character code of the first character to be defined.
– m is the character code of the last character to be defined. If only one cha-
racter is defined, n and m are identical.
– d0 indicates the number of vertical dot columns for the left space of a cha-
racter.
– d1 indicates the number of vertical dot columns for the width of a character
(draft: 9 columns, LQ: 29 columns, proportional: 1- 37 columns, see previous
sections).
– d2 indicates the number of vertical dot columns for the right space of a cha-
racter.
– Following the parameters d0 to d2 the data bytes of the character definition
(number sequence) are specified.
When defining several characters, the parameters d0 to d2 and the data bytes
of the character definition are specified for each character in alphabetical order.
ESC
27
1B
&
38
26
(s)
s
s
(n)
n
n
(m)
m
m
Data
Data
Data
ASCII character
Decimal
Hexadecimal
The section “Character definition” in this chapter contains further notes
and application examples for the command ESC &.
i