1-14
Command Descriptions
Rev. A
ESC !
n
[Name]
Select print mode(s)
[Format]
ASCII
ESC
!
n
Hex
1B
21
n
Decimal
27
33
n
[Range]
0
≤
n
≤
255
ESC !
n selects print modes using n as follows. The default character font is 7
×
9. The defaults for
other print modes are set to n=1.
Bit
Off/On
Hex
Decimal
Function
0
Off
00
0
Character font 9 x 9 selected.
On
01
1
Character font 7 x 9 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 selected.
6
–
–
–
Undefined.
7
Off
00
0
Underline mode not selected.
On
80
128
Underline mode selected.
Program Example
Print Sample
PRINT #1, CHR$(&H1B);"!";CHR$(0); "AA";
PRINT #1, CHR$(&H1B);"!";CHR$(8); "B B ";
PRINT #1, CHR$(&H1B);"!";CHR$(16); "CC";
PRINT #1, CHR$(&H1B);"!";CHR$(24); "DD";
PRINT #1, CHR$(&H1B);"!";CHR$(32); "E E ";
PRINT #1, CHR$(&H1B);"!";CHR$(40); "F F ";
PRINT #1, CHR$(&H1B);"!";CHR$(48); "GG";
PRINT #1, CHR$(&H1B);"!";CHR$(56); "HH";
CHR$(&HA);
AA: Normal
PRINT #1, CHR$(&H1B);"!";CHR$(129); "AA";
BB: Emphasized
PRINT #1, CHR$(&H1B);"!";CHR$(137); "B B ";
CC: Double-height
PRINT #1, CHR$(&H1B);"!";CHR$(145); "CC";
DD: Emph Double-height
PRINT #1, CHR$(&H1B);"!";CHR$(153); "DD";
EE: Double-width
PRINT #1, CHR$(&H1B);"!";CHR$(161); "E E ";
FF: Emph Double-width
PRINT #1, CHR$(&H1B);"!";CHR$(169); "F F ";
GG: Double- Double-width
PRINT #1, CHR$(&H1B);"!";CHR$(177); "GG";
HH: Emph Double- Double-width
PRINT #1, CHR$(&H1B);"!";CHR$(185); "HH";
CHR$(&HA);
←
9 x 9 font
←
7 x 9 font
with underline
AABB
CCDD
EEFF
GGHH
AABB
CCDD
EEFF
GGHH