Select character set, Define user-defined character set – M-S Cash Drawer 7193 User Manual
Page 78
7193 Owner’s Guide
Commands
May 1996
Select Character Set
Selects the character set. The character sets cannot be used together on the same
line. When an undefined RAM character is selected, the Code Page 437 character
is used. See “Appendix B” for the character sets.
Hex
Decimal
ASCII
Value of n
Default
1B 25 n
27 37 n
ESC % n
0 = Code Page 437
1 = User Defined (RAM)
2 = Code Page 850
0
Define User-Defined Character Set
Defines and enters downloaded characters into RAM. It may be used to
overwrite single characters. The user-defined characters are available until power
is turned off, the Initialize Printer (1B 40) command is received, or a
downloaded bit image (1D 2A) is defined. User-defined characters and a
downloaded bit image cannot be used at the same time. The command clears bit
image logo data from RAM. Any invalid byte (s, c1, c2, n1, n2) aborts the
command.
Hex
Decimal
ASCII
1B 26 s c1 c2 n1 d1
... nn dn
27 38 s c1 c2 n1 d1
... nn dn
ESC & s c1 c2 n1 d1
... nn dn
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-FE (20 is always printed as a space)
c2 = Hex 20-FE (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 = 0-10 (standard pitch), 12 and less acccepted but ignored
n = 0-8 (compressed pitch), 12 and less accepted but ignored
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 on the facing page.