Star Micronics MULTI-FONT NX-1000II User Manual page 55

Table of Contents

Advertisement

.—
..-
%..
L
L
L
i
L
1
L
L
-
Nextthe program r eturns
tonormal spacing andgives ademonstration
ofthe printer's
word-processing
abilities:
bold printing,
underlining,
sub-
scripts,
etc.
The row of automobilesin the next printed lineiscreated by downloading
two new character patterns, which are printed in place of the character"<"
(character 60). Details can be found in Appendix C.
The final part of the program uses dot graphics to print an "S&S"logo.
The dot pattern of the logo was originally laid out on graph paper, then
converted to the data in lines 2640 to 3030 with the help of a calculator.
Each number represents eight vertical dots. (See "Graphics commands" in
Appendix B for details. See also Figure C-1 in Appendix C.)
The pattern is printed in four rows, each eight dots high and 100 dots
wide. Lines 1800to 1850read the dot data into a string array variable named
LOGO$. Line 1860sets
the line spa@gto
8/72 inch so that the rows will
connect vertically. The loop in lines 1870to 1940does the printing in four
passes of the print head.
This program can also be run in IBM mode (DIP switch 1-6 OFF) if
you change a few of the linesas shown below to allow for differencein some
of the commands. You will get a cylinderinstead of a barrel effect, becuase
the IBM mode does not have any command to micro-adjust the character
spacing.
Modifications for IBM mode:
1090 P9KHR$(181
'Pica pitch
1190 l-PRINf CNR$(28) ; "4";
'8elect italics
1220 LPRI~ CHI?$(28) ; "5"
'Cancel italics
1280 ' LPRIIWH$;E$;"M";"Cordeneed elite
pitch,";
1400 LPRItWCHRS(28); " Q";CHR$ ( 47) 'Set right margin
1440 LPRIIWE$; "A''; CI-IR$(I);E$; "2": 'Line spacing set
1450 I LPRINTE$; " ";CHR$(l): 'Increase character Space
1490 LPRItWE$; "A''; CHR$(I) ;=; "2";
1500 ' LFRIIW~; " ";CHR$(I);
1860 I.PRI~ ~; "A''; UR$(8) ;=; "2"; 'Set 8/72"
2030 LPRIIWD$;CHR$(28) ; " : ':;CHR$(OI ;_(O)
;-(o)
;
2130 WIUI?f C$;CHR$(28) ; " : ";CHR$(0);-(O)
;H(0)
;
45

Advertisement

Table of Contents
loading

Table of Contents