ibm PCjr — 3-117

control codes to select options (for example, ESC S). Example: LPRINT CHR$ (0); Bell: Sounds the printer buzzer for 1 second. Example: LPRINT CHR$(7); Horizontal Tab: Tabs to the next horizontal tab stop. Tab stops are set with ESC D. Tab stops are set every 8 columns when the printer is powered on. Example: LPRINT CHR$(9); Line Feed: Spaces the paper up one line. Line spacing is 1/16-inch unless reset by ESC A, ESC 0, ESC 1, ESC 2, or ESC 3. Example: LPRINT CHR$(10); Form Feed: Advances the paper to the top of the next page. BEL HT LF FF Note: The location of the paper, when the printer is powered on, determines the top of the page. The next top of page is 11 inches from that position.

ESC C can be used to change the page length. Example: LPRINT CHR$(12); Carriage Return: Ends the line that the printer is on and prints the data remaining in the printer buffer. (No Line Feed operation takes place.) CR Printers 3-117