TH320/TH420
Programmers Guide
39
Related information
The bits in this command perform the same function as the stand-alone functions:
1B 16 n Select pitch
1B 45 n Emphasized
1B 47 n Double-strike
12
Double-wide
13
Single-wide
1B 2D n
Underline
Select or cancel user-defined character set
ASCII
ESC %
n
Hexadecimal
1B 25
n
Decimal
27 37
n
Value of n:
0 = Codepage 437
1 = User Defined (RAM)
2 = Codepage 850
Range of n:
0- 2
Default:
0 (Codepage 437)
Selects the character set. When an undefined RAM character is selected, the codepage 437 character
is used.
Look in Appendix for the character sets.
Exception:
The character sets cannot be used together on the same line.
Define user-defined character set
ASCII
ESC & s c1 c2 n1 (d1 .. dn) n2 (d1 ...dn)...
Hexadecimal
1B 26 s c1 c2 n1 (d1 .. dn) n2 (d1 ...dn)...
Decimal
27 38 s c1 c2 n1 (d1 .. dn) n2 (d1 ...dn)...
Values and ranges:
Receipt:
s
= 3, the number of bytes (vertically) in the character cell
c
= the ASCII codes of the first
(c
1) and last (
c
2) characters respectively
c
1 = Hex 20–FF (20 is always printed as a space)
c
2 = Hex 20–FF (20 is always printed as a space)
To define only one character, use the same code for both
c
1 and
c
2
k = c2 – c1 + 1
= the number of characters to be defined in this command string
[character i data] = [ni
d1 ... d(3 x ni)]
for
1
≤
i
≤
k
ni
= the number of dot columns for the ith character,
1
≤
ni
≤
16
d
= the dot data for the characters
The number of bytes for the ith character cell is
3 x ni.
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.
Related information
See 1D 22
n
(select memory type where to save user-define fonts.)
Summary of Contents for TH320
Page 1: ...TH320 TH420 Two Color Thermal Impact Hybrid Printer Programmers Guide ...
Page 75: ...TH320 TH420 Programmers Guide 67 ...
Page 121: ...TH320 TH420 Programmers Guide 113 Character Sets Character code 437 USA Standard Europe ...
Page 122: ...Programmers Guide TH320 420 114 Codepage 737 Greek ...
Page 123: ...TH320 TH420 Programmers Guide 115 Codepage 850 Multilingual ...
Page 124: ...Programmers Guide TH320 420 116 Codepage 852 Slavic ...
Page 125: ...TH320 TH420 Programmers Guide 117 Codepage 857 Turkish ...
Page 126: ...Programmers Guide TH320 420 118 Codepage 858 with Euro symbol ...
Page 127: ...TH320 TH420 Programmers Guide 119 Codepage 860 Portuguese ...
Page 128: ...Programmers Guide TH320 420 120 Codepage 862 Hebrew ...
Page 129: ...TH320 TH420 Programmers Guide 121 Codepage 863 French Canadian ...
Page 130: ...Programmers Guide TH320 420 122 Codepage 865 Nordic ...
Page 131: ...TH320 TH420 Programmers Guide 123 Codepage 866 Cyrillic ...
Page 132: ...Programmers Guide TH320 420 124 Codepage 1252 Windows Latin 1 ...
Page 134: ...Programmers Guide TH320 420 126 Codepage 1255 Hebrew ...
Page 142: ...Programmers Guide TH320 420 134 TH420 Additional Features ...
Page 156: ......
Page 157: ...TH320 TH420 Programmers Guide Wincor Nixdorf International GmbH D 33094 Paderborn ...