C O N F I D E N T I A L
Paper roll
Usable application programs and tips
Ver. 4.0
p. 947
Programming Example (continued)
PRINT #1, CHR$ (&H1B);”!”;CHR$(32);
←
Selects double-height mode
FOR I =1 TO 14
READ d$: PRINT #1, CHR$(VAL(“&H”+d$));
NEXT I
PRINT #1, CHR$ (&H1B);”!”;CHR$(48);
←
Selects double-height and double-width modes
FOR I =1 TO 14
READ d$: PRINT #1, CHR$(VAL(“&H”+d$));
NEXT I
PRINT #1,CHR$(&H1B);”U”;CHR$(0);
←
Cancels uni-directional printing
PRINT #1,CHR$(&HB);”2”;
RETURN
DATA C9, CD, CD, CD, CD, CD, CD, CD, CD, CD, CD, CD, BB, 0A
DATA BA, 20, 20, 20, 45, 50, 53, 4F, 4E, 20, 20, 20, BA, 0A
DATA BA, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, BA, 0A
DATA C8, CD, CD, CD, CD, CD, CD, CD, CD, CD, CD, CD, BC, 0A
Prints stamp
Stamp data