ibm PCjr — 3-118

Note: mM Personal Computer BASIC adds a Line Feed unless 128 is added [for example CHR$(141)]. Example: LPRINT CHR$( 13); Shift Out (Double Width): Changes the printer to the Double-Width print-mode. so Note: A Carriage Return, Line Feed or DC4 cancels Double-Width print-mode. Example: LPRINT CHR$(14); Shift In (Compressed): Changes the printer to the Compressed-Character print-mode. Example: LPRINT CHR$(15); Device Control 1 (Compressed Off): Stops printing in the Compressed print-mode. Example: LPRINT CHR$(18); Device Control 4 (Double Width Off): Stops printing in the Double-Width print-mode. Example: LPRINT CHR$(20); Cancel: Clears the printer buffer.

Control codes, except SO, remain in effect. Example: LPRINT CHR$(24); Escape: Lets the printer know that the next data sent is a printer command. Example: LPRINT CHR$(27); Escape Minus (Underline) SI DC2 DC4 CAN ESC ESC- 3-118 Printers