Star Micronics NX-15 Printer User Manual


 
50
Proportional printing
Have you ever looked closely at the printingin books and
magazines? Doesn’t it look nice? The main reason is that each
character is givenan amount of space proportional to its actual
width. A typewriter (and most printers), on the other hand, give
every character the same amount of space, no matter how wide
it is. (Pica pitch, for example, gives a “w” and an “i” 1/10 of an
inch each. Looking at these letters you see that a “w” is two or
three times as wide as an “i”.)
Well, you too can enjoy professional-looking proportional
printing. You can turn proportional printing on and off with the
following commands.
Table 4-8
Proportional commands
Function
Control code
ProportionalON
(ESC) “p” 1
ProportionalOFF
(ESC) “p” O
Try this program to see how the proportional spacing works.
10 Demo
20 LPRINq
30 LPRINI
40 LPRIN’I
50 LPRINT
60 LPRINI
70 LPRINT
80 LPRIN1
90 LPRINT
100 END
of proport iona 1 printing
CHR$(27) ; “M”;
“This 1ine is NORMALELITl? print ing.
CHR$(27); “pi”;
“This 1ine is PROPORTIONALELITE.
CHR$(27) ; “p” .
“’This line i; PROPORTIONALPICA.
CHR$(27) ; “po’”;
“This 1ine is NORMAL
PICA printing.