Reset to Initial State (RIS) ESC c
CSI 6
~
Data Structure ASCII ESC "c" [A] reset to initial state
hex. 1B 63
dec. 27 99
ASCII CSI "6" "
~
" [C] reset to initial state
hex. 9B 36 7E
dec. 155 54 126
Description The printer is initialized, which means it has the same status as just after power switch-on.
All parameters set by CSI-sequences are cleared. The active print position is set on the
top position of a page (document).
Example 10 REM initialization
20 LPRINT CHR$(27);"[10s";:REM set left margin
30 LPRINT CHR$(27);"[7w";:REM set 17.1 cpi
40 LPRINT CHR$(27);"[1y";:REM set NLQ
50 LPRINT CHR$(27);"[1z";:REM set subscript
60 GOSUB 100
70 LPRINT CHR$(27);"[6
~
";
80 GOSUB 100
90 END
100 LPRINT "Matrix Printer"
110 LPRINT:LPRINT
120 RETURN
Miscellaneous 79