ProgrammerManual PTX‐S828
Chapter1EPSON/IBMCommands 45 260071‐001A
The data within brackets above is repeated for each character you define.
The parameters in the command have the following meaning:
n and m The n and m parameters are two decimal numbers that define the first and the last
characters to be replaced in the character set in use.
a It sets parameters for characters to be user-defined.
d1 ...d11 They are the character data that is printed.
The format of the attribute byte “a” is the following:
You can define characters 11-dots wide by 8-dots high. You must specify whether to define the upper or
lower 8 dots of the 9 dots available.
You can also specify the columns not printed on the left and right of the characters during proportional
spacing. Set both these parameters with the a parameter, as described in the following table:
Attribute byte table
Beginning Column Ending Column Upper/Lower 8 pins
Column
Number
Value Column
Number
Value Pin group Value
0 0 0 0 Upper 8 pins 128
1 16 1 1 Lower 8 pins 0
2 32 2 2
3 48 3 3
4 64 4 4
5 80 5 5
6 96 6 6
7 128 7 7
8 8
9 9
10 10
11 11
Add up the values for all three setting; the total will be the a value.
ESC :
Copies characters from ROM to RAM. (EPSON)
ASCII Code ESC : NULn0
Hexadecimal Value X'1B' X'3A' 00n00
Decimal Value 27 58 n0
This code copies the draft character generator in ROM into RAM area dedicated to the user-defined
characters. Also Courier or Gothic character generator font from ROM is copied to RAM memory according
to the following values of n parameter:
n Selection
0 Courier
1 Gothic
ESC =
Defines downloaded characters. (IBM)
ASCII Code ESC = n m id p [a1 a2 d1 … d 11 ]
Hexadecimal Value 1B 3D n m id p [a1 a2 d1 … d 11 ]
Decimal Value 27 61 n m id p [a1 a2 d1 … d 11 ]