C O N F I D E N T I A L
Paper roll
Usable application programs and tips
Ver. 4.0
p. 945
Programming Example
PRINT #1, CHR$(&H1B);"@";
←
Initializes the printer
GOSUB stamp
←
Prints stamp
PRINT #1, CHR$(&H1B);"a";CHR$(1);
←
Specifies a centered printing position
PRINT #1, CHR$(&H1B);"!";CHR$(0);
←
Specifies 9 x 9 font
PRINT #1, CHR$(&H1B);"J";CHR$(4);
←
Adjusts line spacing
PRINT #1, “January 14, 1998
15:00”;
PRINT #1, CHR$(&H1B);"d";CHR$(3);
PRINT #1, CHR$(&H1B);"a";CHR$(0);
←
Selects the left print position
PRINT #1, CHR$(&H1B);"!";CHR$(1);
←
Selects 7 x 9 font
PRINT #1, "TM-U200B
$20.00";CHR$(&HA);
PRINT #1, "TM-U200D
$21.00";CHR$(&HA);
PRINT #1, "PS-170
$17.00";CHR$(&HA);
PRINT #1, CHR$(&HA);
PRINT #1, CHR$(&H1B);”!”;CHR$(17);
←
Selects double-height mode
PRINT #1, CHR$(&H1B);”U”;CHR$(1);
←
Selects uni-directional printing
PRINT #1, "TOTAL
$58.00";CHR$(&HA);
PRINT #1, CHR$(&H1B);"U";CHR$(0);
←
Cancels uni-directional printing
PRINT #1, CHR$(&H1B);”!”;CHR$(0);
←
Cancels double-height mode
PRINT #1, "------------------------------";CHR$(&HA);
PRINT #1, "PAID
$60.00";CHR$(&HA);
PRINT #1, "CHANGE
$ 2.00";CHR$(&HA);
PRINT #1, CHR$(&H1D);"V";CHR$(66);CHR$(0);
←
Feeds paper to the cutting position
and cuts paper
END
Prints date
Item B
Item A
and time