Star Micronics NX-15 user manual ProportionalON, ProportionalOFF, ESC “p” O

Models: NX-15

1 210
Download 210 pages 57.72 Kb
Page 58
Image 58
ProportionalON

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 of proport iona 1 printing

20 LPRINq CHR$(27) ; “M”;

30 LPRINI “This 1ine is NORMALELITl? print ing. ”

40 LPRIN’ICHR$(27); “pi”;

50 LPRINT “This 1ine is PROPORTIONALELITE. “

60 LPRINI CHR$(27) ; “p” .

70 LPRINT “’This line i; PROPORTIONALPICA. ”

80 LPRIN1 CHR$(27) ; “po’”;

90 LPRINT “This 1ine is NORMALPICA printing. “

100 END

Page 58
Image 58
Star Micronics NX-15 user manual ProportionalON, ProportionalOFF, ESC “p” O