User guide

A795 User Guide: Programming Supplement
Chapter 4: Programming commands
55
Define user-defined character set
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.
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) aborts the command.
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
Select or cancel underline mode
ASCII ESC - n
Hexadecimal 1B 2D n
Decimal 27 45 n
Value of n: 0, 48 = Cancel underline mode
1, 49 = Select underline mode
2, 50 = Select double thickness
underline mode
Default: 0 (Cancel underline mode)
Turns underline mode on or off. Underlines cannot be
printed for spaces set by the horizontal tab, set absolute
start position, or set relative print position commands.
This command and the Select Print Mode(s) command
(1B 21) turn underline on and off in the same way.
Exceptions
This command is ignored if n is out of the specified range.
Related information
In A793 emulation, this command is unrecognized and the
parameter n is put into the print buffer.