Chapter 6: Commands 7197 Owner’s Guide
February 2002
104
Select or Cancel User-Defined Character Set
ASCII: ESC % n
Hexadecimal: 1B 25 n
Decimal:
27 37 n
Value of n:
0= Code Page 437
1= User-defined (RAM character set)
2= Code Page 850
Range:
0 - 2
Default:
0 (Code Page 437)
Selects the character set. When an undefined RAM character is selected, the
Code Page 437 character is used. See the Printing Specification Guide for the character sets.
Example:
• MSComm1.Output = Chr$(&H1B) & Chr$(&H25) & Chr$(n)
Define User-Defined Characters
Receipt
ASCII:
ESC & 3 c1 c2 n1 d1 ... nn dn
Hexadecimal:
1B 26 3 c1 c2 n1 d1 ... nn dn
Decimal:
27 38 3 c1 c2 n1 d1 ... nn dn
Defines and enters downloaded characters into RAM or Flash. 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.
The command clears bit image logo data from RAM. The illustration below provides a
sample of a character cell.
Defining User-Defined Characters
Defines and enters downloaded characters into RAM.