Appendix B

Control Codes

ASCII

FUNCTION

*2

Returns line spacing to 1/6”.

8Cancels last character entered in text mode.

10Line Feed (LF). Empties printer buffer.

%12 Form Feed (FF). Advances paper to the next top of form. Empties printer buffer.

13Carriage Return (CR). Empties printer buffer.

14Turns on double width.

20Turns off double width.

27ASCII code for ESCAPE.

*:65 ASCII “A.” Sets line spacing of line feed. Range: 0 - 85/72”.

*67 ASCII “C.” Sets form length. Default is 66 lines. Range: 1-127 lines.

*75 ASCII “K.” Initiates graphics mode.

NOTE: Numbers flagged with a % may require the addition of 128 to make them work reliably on the TRS-80.

Numbers flagged with a * must be preceded by the ESCAPE code CHR$ (27).

81