“S” CHR$( l), and finally off in line 90. Again, everything prints
on one line because of the semicolons.
CHANGING THE PRINT PITCH
In “printer talk,” character width is called pitch. Normally,
Condensed print is approximately 17 characters per inch. Condensed pitch allows you to get 136 columns of printing on an 8 l/z inch page.
Proportional spacing provides an alternative to the
The table below shows four options of this command.
|
| Table |
| |
| pitch commands |
| ||
Pitch | Characters/inch | Mode | Control code | |
Pica | 10 | STAR | < ESC > | “B” CHR$(l) |
|
|
| or CHR$(18) | |
|
| IBM | <ESC> | “pl’ |
|
|
| or CHR!fX18) | |
Elite | 12 | STAR | 1 < ESC > | “B” CHR$(2) |
|
| IBM | 1 <ESC> | “M” |
|
| STAR | < ESC > | “B” CHR$(3) |
YYYrll- | or CHRS(15) | |||
|
|
| ||
|
| IBM | CHR$(lS) |
|
Proportional | ON | STAR | < ESC 2 | “p” 1 |
|
| IBM | 1 <ESC> | “p” 1 |
Proportional | OFF | STAR | < ESC > | “p” 0 |
|
| IBM | < ESC > | “p” 0 |
I
I
Let’s see how these four pitches look. Try this program with
STAR mode:
10 ‘Demo all pitches.
24)LPRINT CHR$(27) "B" CHR$(3) ; ‘Select condensed
pitch.
41