ibm PCjr — 3-121

Example: LPRINT CHR$(27);CHR$(65);CHR$(24); CHR$(27);CHR$(50); Escape C (Set Lines-per-Page) Format: ESC C;n; Sets the page length. The ESC C command must have a value following it to specify the length of page desired. (Maximum form length for the printer is 127 lines.) The example below sets the page length to 55 lines. The printer defaults to 66 lines-per-page when powered on or reset. Example: LPRINT CHR$(27);CHR$(67);CHR$(55); ESCC Escape C (Set Inches-per-Page) Format: ESC C;n;m; Escape C sets the length of the page in inches. This command requires a value of 0 (zero) for n, and a value between 1 and 22 form. Example:

LPRINT CHR$(27);CHR$(67);CHR$(0);CHR$(12); Escape D (Sets Horizontal Tab Stops) Format: ESC D;nl ;n2; ... nk;NUL; Sets the horizontal-tab stop-positions. The example that follows shows the horizontal-tab stop-positions set at printer column positions of 10, 20, and 40. They are followed by CHR$(O), the NUL code. They must also be in ascending numeric order as shown. Tab stops can be set between 1 and 80. When in the Compressed-print mode, tab stops can be set up to 132. The Graphics Printer can have a maximum of 28 tab stops. The HT (CHR$(9» is used to execute a tab operation. Example: ESCD Printers 3-121