
E-3202 Programmer’s Manual 5
Characters Commands
ESC SP n : Set right side character spacing
ASCII: ESC SP n
Hexadecimal: 1B 20 n
Decimal: 27 32 n
ESC SP n sets the right side character spacing to n x motion defined in
GSP.
ESC % n : Select / cancel user - defined character set
ASCII: ESC % n
Hexadecimal: 1B 25 n
Decimal: 27 37 n
0 ≤n ≤255. When the LSB of n = 0 the internal character set is selected.
When the LSB of n = 1 the user defined character set is selected. n = 0 is
the default setting.-
ESC & y c1 c2 [ x1 d1 ... d(y * x1)]...[xk d1 ... d(y*xk)] : Define user-
defined characters.
ASCII: ESC & y c1 c2 [ x1 d1 ... d(y * x1)]...[xk d1 ... d(y*xk)]
Hexadecimal: 1B 26 n y c1 c2 [ x1 d1 ... d(y * x1)]...[xk d1 ... d(y*xk)]
Decimal: 27 38 n y c1 c2 [ x1 d1 ... d(y * x1)]...[xk d1 ... d(y*xk)]
y = 3
32 ≤c1 ≤c2 ≤126
0 ≤x ≤12 (font A (12 x 24 ))
0 ≤x ≤9 ( font B (9 x 24))
0 ≤d1 ... d(y x xk) ≤255
k = c2 - c1 + 1
ESC & y c1 c2 [ x1 d1 ... d(y * x1)]...[xk d1 ... d(y*xk)]
defines user-defined characters from character code c1 to c2. Y and x are
the configuration of a user-defined character.
y defines the number of bytes in the vertical direction.
x defines the number of bytes in the horizontal direction
Character codes from the alphanumeric characters can be defined by c1
and c2. Data (d) specifies a bit printed to 1 and not printed to 0. Once the
user-defined characters have been defined, they are available until:
ESC ?, ESC @, or GS * is executed
the user-defined characters are redefined
the power is turned off
the printer is reset
ESC ? n : Cancel user-defined characters
ASCII: ESC ? n
Hexadecimal: 1B 3F n
Decimal: 27 63 n
32 ≤n ≤126
This command cancels the user-defined characters defined for the
character code n. After the user defined characters are cancelled, the
internal character set is printed.
ESC R n : Select an internationalcharacter set
ASCII: ESC R n
Hexadecimal: 1B52 n
Decimal: 2782 n
Selects an international character set n as follows :
0 USA 4 Denmark 1 8 Japan
1 France 5 Sweden 9 Norway
2 Germany 6 Italy 10 Denmark II
3 England 7 Spain 1 11 Spain II
12LatinAmerica
ESC t n : Select character code table
ASCII: ESC t n
Hexadecimal: 1B74 n
Decimal: 27 116 n
Selects a page n from the charactercode table as follows
0437 4 860
1850 5 861
2852 6 863
3857 7 858
8862
ESC ! n : Select print mode
ASCII: ESC ! n
Hexadecimal: 1B21 n
Decimal: 2733 n
0 ≤n ≤255
The defaultsetting isn=0.This command is effective for allcharacters.
When underline mode isturned on,90° clockwise rotated charactersand white/black
reverse characterscannotbe underlined.
Bit Off/On Hex Dec Function
0 Off 00 0 Character font 12 x 24 selected
On 01 1 Character font 9 x 24 selected
1,2 - - - Undefined
3 Off 00 0 Emphasized mode not selected
On 08 8 Emphasized mode selected
4 Off 00 0 Double Height mode not selected
On 10 16 Double Height mode selected
5 Off 00 0 Double Width mode not selected
On 20 32 Double Width mode not selected
6 - - - Undefined
7 Off 00 0 Underline mode notselected
On 80 128 Underline mode selected
ESC - n : Turn underline mode on / off
ASCII: ESC - n
Hexadecimal: 1B 2D n
Decimal: 2745 n
0 ≤n ≤2
48 ≤n ≤50
This command turns underline mode on or off.
When the LSBof n = 1 : on
When the LSBof n = 0 : off
The defaultsetting isn=0