1-44 Command Descriptions Rev. A
GS f n selects a font for the HRI characters used when printing a bar code. When n=0 or 48, the font
A (12 × 24) is selected. When n=1 or 49, the font B (9 × 24) is selected. The default setting is n=0. HRI
characters are printed at the position specified by GS H.
Macro Function Commands
The TM-T88/T88P (TM-T85/T85P) supports the following macro function commands.
Command Name
GS : Start/end macro definition
GS ^ Execute macro
GS :
[Name] Start/end macro definition
[Format] ASCII GS :
Hex 1D 3A
Decimal 29 58
GS ^ r t m
[Name] Execute macro
[Format] ASCII GS ^ r t m
Hex 1D 5E r t m
Decimal 29 94 r t m
[Range] 0 ≤ r ≤ 255
0 ≤ t ≤ 255
m = 0, 1
Program Example Print Sample
PRINT #1, CHR$(&H1D);"h";CHR$(80);
←
Set height to 80 dots
PRINT #1, CHR$(&H1D);"f";CHR$(0);
←
Select font
FOR n=0 to 3
PRINT #1, CHR$(&H1D);"H";CHR$(n);
←
Select print position
PRINT #1, CHR$(&H1D);"k";CHR$(2);
←
Print bar code
PRINT #1, "496595707379";CHR$(0);
PRINT #1, CHR$(&HA);
NEXT n
PRINT #1, CHR$(&H1D);"f";CHR$(1);
←
Select font
PRINT #1, CHR$(&H1D);"H";CHR$(2);
←
Select print position
PRINT #1, CHR$(&H1D);"k";CHR$(2);
←
Print bar code
PRINT #1, "496595707379";CHR$(0);
PRINT #1, CHR$(&HA);
49659 957 7 7 703
49659 957 7 7 703
49659 957 7 7 703
49659 957 7 7 703
496 5 9 957 7 7 703
←
GS H
0
←
GS H
1
←
GS H
2
←
GS H
3
←
GS H
2
Font A
(12x24)
Font B
(9x24)
94965 9570737 7