1000
1010
1020
1030
1040
1050
1060
1070
1080
1090
1100
1110
1120
1130
1140
1150
1160
1170
1180
1190
1200
1210
1220
1230
1240
1250
1260
1270
1280
1290
1300
1310
1320
1330
1340
1350
1360
1370
1380
1390
1400
1410
1420
1430
1440
1450
1460
1470
1480
1490
1500
1510
1520
1530
1540
1550
) Set control codes
E$=CHR$(27)
D$=E$+"xO"
L$=E$+"xl"
C.$=Ej+"kO"+L$
P$=ES+"kZ"+LS
Oi=E$+"k3"+L$
S$=E$+"k4"+L$
H$=CHR$(O)
PI$=E$+"P"
' Start printing
WIDTH "LPT1:",255
'Escape code
'Draft quality
'Letter quality
'Courier characters
'Prestige characters
'Orator characters
'Script characters
'Horizontal tab
'Pica pitch
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
I;"D";CHR$(3);CHR$(24);CHR$(O);
I;"Type styles are:"
I;D$;"Draft characters,";
I;C$;"Courier characters,"
:;p$;"
Prestige characters,":
!;O$;"Orator characters,"
l;s$;'t
Script characters,"
I; "4" *
'Select italics
I;D$;:'and ";C$;"italics ";P$;"for ";
;;"a11 ";S$;"styles."
* " 5 "
I
'Cancel italics
1;"Print pitches are:"
H$;PI$;"Pica pitch (10 CPI),";
HS*ES*"M"'"Elite pitch (12 CPI),"
> I ,
H$iE$; Mg’ti I(
Semi-condensed pitch (15 CPI),";
HS;PI$;
CHRS(15);
'Select condensed print
"Condensed pica pitch (17 CPI),"
HS*ES."M":"Condensed elite pitch (20 CPI),";
, ,
CHR$(i8)
'Cancel condensed print
H$;E$;"pl";
'Select proportional spacing
PI$;"Normal proportional, ";
H$;CHR$(15);"and condensed proportional.";
CHR$(18);
E$;"pO"
'Cancel proportional epacing
H$;E$;"wl
";v'Double-height,";ES;"wO"
H$;E$;"Wl
";"Double width,";E$;"WO"
H$;CHR$(28);"E";CHR$(2);"Triple width,";
CHR$(28);"E";CHR$(O)
H$;E$;*'h";CHR$(l);"Double-sized,"
H$:E$;t~h";CHR$(2);"Quad-sized.";
E$:"h";CHR$(O)
:LPRINT :LPRINT
E'S;"Q";CHR$(47')
'Set right margin
C$:"Various line and character spacings:"
E$;"al"
'Center text
FOR I=1 TO 7
LPRINT E$;"A";CHR$(I); 'Set line spacing
LPRINT ES;" ";CHR$(I);
'Increase character space
LPRINT "THE SPACINGS ARE CHANGED"
NEXT I
FOR I=7 TO 1 STEP -1
LPRINT E$:~~A";CHR$(I); 'Set line spacing
39