User manual

A630/A631/A632 Printer Series User Manual Page 42 / 63 Reference: FDE 3106894 Issue F
5.3.6 Font commands
5.3.6.1.1 S
ET
/
C
ANCEL USER
-
DEFINED CHARACTERS
ASCII
ESC % n
Hexadecimal 1B 25 n
Range of n
0 n 1
Comments: This sets or cancels the user defined character set.
Note
: Once the user defined character set has been cancelled the default character set
will be loaded and the user defined characters will be lost.
0 => standard font used
1 => user-defined characters
5.3.6.1.2 D
EFINE USER
-
DEFINED CHARACTERS
ASCII
ESC & s n m data
Hexadecimal 1B 26 s n m data
[a[p] s x a]m-n+1
Comments: This allows the user-defined characters to be down-loaded:
Where:
- "s" specifies the number of bytes in the vertical direction. This value must be 3.
- "n" specifies the beginning ASCII code for the definition and "m" the final code.
If only one character is defined, use n = m. The range for n is 32
n
m
255.
- "a" specifies the number of dots in the horizontal direction.
This value must be 16.
- "p" is the dot data for the characters. The dot pattern for a dots in the horizontal
direction from the left side.
The amount of data to be defined is s x a.
- After user-defined characters are defined once, they are available until another definition
is made or ESC % n is sent.
NOTE: See Ch "character cell structure".
The User defined character set (UDCS) and the standard character set are not available at
the same time.
Normally, the UDCS will be battery backed. However, if the batteries are left to discharge
completely, then the UDCS will be lost and the default character set will be loaded.
Example: (see next page)
If you want to define only the character 22h (HI-RES mode)
=> 1B 26 03 22 22 00 00 … … 3F 00 C0 7F 80 E0 … …