C O N F I D E N T I A L
Paper roll
Print position commands ESC D
Ver. 4.0
p. 1157
Program example for HT and ESC D
Program Example
Print Sample
PRINT #1, "0123456789012345678901234567890123456";
PRINT #1, CHR$(&HA);
FOR i=1 TO 4
PRINT #1, CHR$(&H9); "H";
←
Execute HT
NEXT i : PRINT #1, CHR$(&HA);
PRINT #1, CHR$(&H1B);"D";CHR$(10);CHR$(20);
PRINT #1, CHR$(30);CHR$(0);
←
Set HT positions
FOR i=1 TO 4
PRINT #1, CHR$(&H9); "H";
←
Execute HT
NEXT i : PRINT #1, CHR$(&HA);
0123456789012345678901234567890123456
H
H
H
H
H
H
HH
↑
↑
↑
8
16
24
32
Tab
position
10
Default
→
Tab
position
30
Tab
position
20