Epson A794-D100 User Manual
Page 77
A794 Owner’s Guide
Chapter 6: Programming Information
March 1999
71
Define 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, 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