I .: . NR-IO/l5 USER’S MANUAL NOT INTENDED FOR SALE PN 80820158
4 n Installing the ribbon cartridge This printer uses a neat, easy-to-change ribbon cartridge with automatic threading. To fit or chan
I ,,” 94 .~_ 80 IF I=24 THEN 110 90 IF I=27 THEN 110 100 LPRINT CHR$(I); 110 NEXT I 120 LPRINT 130 FOR I=128 TO 134 140 LPRINT CHR$(I);
95 If you want to print more characters using the < ESC > “\” command you must tell the printer how many characters should be
Table 6-6 Control code area commands Function Control code Printable code area expansion < ESC > “6” (Standard mode only) Control
97 i. . .- _ -. -. _ _.. When you run this program, you will get like this: As you can see, when the big character command is used,
I : 98 that done on computer paper, and you don’t have to tex the “perforations” off each sheet as you must with fan-fold paper. Th
99 for the macro: one to define it, and one to use it. They are given in the Table 6-9. Table 6-9 Macro instruction commands Funct
100 10 LPRINT CHR$(27);"Q";CHR$(40); 20 LPRINT CHR$(27);"a";CHR$(2); 30 LPRINT CHR$(27);"-1"; 40 LPRINT CHR$(27);&quo
101 r:jc, ‘:,I I:,2 ins 04 05 06 0, 08 09 OA 08 OC OD OE OF 10 11 1: 13 14 15 lb 17 18 19 1A 18 1C 1D 1E 1F 20 21 22 2
102 MEMO
CHAPTER 7 DOWNLOAD CHARACTERS AND DOT GRAPHICS Subjects covered in Chapter 7 include - l Designing and printing your own characters l User-de
5 II Figure 15. To thread the ribbon, slide the print head carriage manually to the right or left, and the ribbon will slip down b
104 nation of dots. For example, if the data representing “1” was sent to the print head, only the bottom pin would fire; if “2”
r t, 105 dots wide by 9 dots high. Vertically, dots can only be centered in a box. See Figure 7-2. l The minimum width of a char
128 64 32 16 8 Total m, m, m, m. m,m,m,m. m9mLOrnx. MO ASCII Code: Descender: Start column: End column: = f xender * 128 + (Start * 16)
107 You will see the letters ml, m2, m3, etc., are above your values. When you define the character, you will substitute your valu
108 ml to ml1 are the column data we defined along the bottom of the grid; ml the left-most column value, m2 the next, and so o
I ? 109 l Define characters, and send data to printer: < ESC > “8~” CHR$(O) . . . . l Tell printer to use download character se
310 NEXT I 320 LPRINT 330 LPRINT CHR$(9) ; “t--‘I; 340 SCALE$=“--t--” 350 FOR I=2 TO 8 STEP 2 360 LPRINT SCALE$; 370 NEXT I 380 LPRINT
111 when desired. Acceptable values are from 4 to 11. The minimum character width is five dots, anywhere within the range. n Downloadin
I 112 If the total count is greater than or equal to 256, then divide the total count by 256. nl = the remainder, and n2 = the
113 DEFINING YOUR OWN NLQ CHARACTERS As you have probably noticed, NLQ characters are printed by two passes of the print head. Half
6 H Installing the interface board board Figure 1-7. Slide the IjF board into the slot. A parallel interface board comes standard wit
114 128 128 128 128 64 64 64 64 32 32 32 32 16 16 16 16 8 8 8 8 4 4 4 4 2 2 2 2 I I 1 1 Total 1st rn, m, m, m, m, m,, m,, m,, ml7 rn,, mJ1
ASCII Code: 6 8 Descender: .,! Left space: Right space: M, = Descender + 128 + (Left + 16) + Right Total’ m, m, m, m, m+ m,, m,,
116 ._ 160 DATA 70, 0, 38, 0, 22, 9, 6, 9, 6, 8, 6, 0 170 DATA 28, 32, 14, 64, 14. 0, 14, 0,124, 0, 0, 12 180 DATA 64, 12, 32, 14, 16, 14,
520 NEXT I 530 LPRINT CHR$(27);"%0" 540 LPRINT CHR$(27);"SO"; 550 LPRINT CHR$(9);"MILLIONS OF DOLLARS" 560 LPRINT CHR$(2
number that can be sent in one byte (259, the formula to work out nl and n2 is: if the number of columns is X, then nl = X MO
119 n Higher resolution graphics There are seven graphics modes you can use; they are summarized in Table 7-2. Table 7-2 Dot graphics
120 MORE GRAPHICS PROGRAMMING TIPS At the end of this chapter, we’ll discuss two modes that the printer offers to help you solve p
121 is a printer. each data line corresponds to one pin on the print head. Thus each byte sent will fire up to eight pins. But th
122 MEMO
CHAPTER 2 _ _- h.. -_ L. 5_. . _ L. -. _... GETTING TO KNOW YOUR PRINTER Subjects covered in Chapter 2 include - l Parts of the printer
Mute cover Power cord Power switch Figure 2-1. Front and rear views of the printer. PLATEN - This is the rubber cylinder that carri
n Controls and indicators Now let’s go over the controls and indicators of the printer, starting with the control panel on the righ
ON LINE KEY and INDICATOR - Glows green when the printer is ready to receive data from your computer (on line). When the printer
11 For details, please refer to the end of next chapter. H Other controls There are other controls, not connected to the control p
a - The bottom one is used when you want to release the paper completely to adjust it. The paper bail holds the paper against t
Clamp lever Figure 2-6. Raise the paper guide for loading single sheets. 1 Figure 2-7. Prop up the paper guide by inserting the guid
Federal Communications Commission Radio Frequency Interference Statement This equipment generates and uses radio frequency energy and if
14 4. Position the adjuster at the triangle marked on the guide for standard margins, or set it according to your own requirements. 5
n Loading sprocket-feed paper This is standard computer paper, with the holes along the sides and perforations between the sheets. It
16 9. Set the release lever to the auto-feed setting. The printer will advance the paper automatically. 10. Feed the paper through
17 There are four positions; you can feel the lever clicking into the various notches. The first step (shown) is the one most comm
Self-test 1 DIP switch 2-2 ON ! “tt$%?*’ () x+. -. /012,4567Ef9: : =. ?@AHCDEFGIiIJt LMNOF’aRS~IUL’WXYZL’,l -‘au<. rJELMNaPDRSJUVWX YZC
19 defqhvl lmnuoqrst~uw::~~~:: ;" "'#$%.9. ( ,x+,-.,01"345,~;Bo::, = .'@n,?CnfFGY defghijklmnopclrstuvwxyz(')- !&q
20 MEMO
CHAPTER 3 USING THE PRINTER WITH COMMERCIAL SOFTWARE Subjects covered in Chapter 3 include - l Using commercial software l Controlling
22 Some programs don’t ask you what kind of printer you have, but instead ask some questions about what your printer can do. The
23 the help of your program manual and the supporting chapters in this manual, you should be able to figure out how yours works. G
Table of Contents Chapter 1 Chapter 2 Chapter 3 7 Setting Up Your Printer Locating the printer Check the carton contents Removing the p
24 master reset code and resets the printer to its DIP switch set- tings. These print characteristics are the same as the ones us
25 We suggest you do three things. First, you should review Chapter 4 and Appendix C to become as familiar as possible with ASCII
26 By changing the pitch settings, you can use the document ruler line to print pica, elite and condensed width pitches. In additio
27 Press RETURN and the Edit Global Sequences screen will be displayed. These codes control the print functions for form feed, line
28 these codes. They define how many lines per inch the printer uses. Press RETURN to transfer to the Edit Font Support screen. Cha
I 29 Enter the codes written in italic into lines 51 - 66. 51. Normal to Bold 52. Bold to Normal 53. Normal to Shadow 54. Shadow t
With the cursor under the “S” in “SUBJECT”, set the print pitch in the ruler line to condensed width pitch. Name the ruler line
31 your document. The ASCII code sequence would be 27 80 27 52 to print italic pica pitch. n Redefining your own print control keys
They include: h PS Underscore * PB Boldface ^PD Double-strike ^PX Strikeout ” PT Superscript * PV Subscript A PC Print Pause It is also po
33 If you do change several of the things listed in the /Print menu, Lotus l-2-3 will remember the selections that you have made
Chapter 4 Printing with BASIC Some basics of BASIC First steps ASCII codes and the CHR$ function Control codes The escape codes A note o
14 You can direct sections of headers and footers to the left, right, or center by using the ) character. Each header or footer is
[ USING THE PANEL MODES At the end of this chapter, we’ll explain about the “Panel” mode, which is a powerful function of the pri
36 key, press the MODE key once again to make your choice, and press the ON LINE key again. Remember that you may select which p
37 n Setting print start position When you want to align the print start position, you can set it by the micro-feed operation with th
38 MEMO .- - - - - - -
CHAPTER 4 PRINTING WITH BASIC Subjects covered in Chapter 4 include - l Listing BASIC programs on the printer l How a program print
411 the easiest operations one can do, but even they may depend on what computer you have. In Microsoft BASIC, we can list all th
41 a dollar sign. Some numbers cause the printer to do other things, too. For instance, sending a 7 sounds the printer’s bell. Taken
Your printer has a lot of control codes to let you do some useful things. Let’s try one that we’ve mentioned several times alread
43 needed, so they included the escape (ESC) code to allow almost any number of additional codes to be defined when they became neces
81 Chapter 6 Special Features of the Printer Now hear this Resetting the printer Taking the printer off line Printing the bottom of t
1 44 Even though there are many commands that require the use of ASCII code 0 (the < NUL > character); the number “0” (zero o
4.5 40 LPRINT CHR$ (27) ; “x0”; 50 LPRINT “This line shows standard print.” In this program, line 20 selects NLQ characters with < E
Ah Table 4-2 Italic commands I-::,1 Use this program to see italic characters: 10 ’ Demo of italic and roman 20 LPRINT CHR$ (27) ; “4”; 30 LPR
67 Table 4-3 Underline and overline commands It’s that simple. Let’s try it with this program: 10 ’ Demo of underlining and overlinins 20
48 and are half the height of normal characters. Superscripts print evenly with the tops of regular printing while subscripts print e
I !, . 49 pica (and is the same as the pica pitch on most typewriters). This works out to 136 characters per line. You can also pr
50 10 ’ Demo of expanded print 20 LPRINT “Demonstration of ‘I; 30 LPRINT CHR$(14); 40 LPR I NT “EXPANDED” ; 50 LPRINT CHR$(20); 60 LPRI
When you turn on expanded print with < ESC > “W” 1 it stays on until you turn it off with < ESC > “W” 0. Table 4-6 Ex
Table 4-7 Condensed print commands Function Control code Condensed ON CHR$(I 5) or < ESC > CHR$( 15) Condensed OFF CHR$(18) By combining
n Proportional printing Have you ever looked closely at the printing books and magazines? Doesn’t it look nice? The main reason is t
I ,i, Appendix C Function Codes Commands to control print style Font style controls Print pitch controls Special print modes Controlling t
I :. 54 Line 20 selects the elite pitch and line 40 turns on the pro- portional printing with < ESC > “p” 1. Line 50 prints
55 10 ’ Demo of boldface and emphasized 20 LPRINT CHR$(27);"G"; 30 LPRINT "This line is BOLDFACE printing." 40 LPRINT
56 You have at your disposal a unique command that lets you choose any valid combination of print modes and pitch. This is the Ma
57 To better understand the way the print modes work, consider that each mode except pica (pica is the default) has a separate swit
MEMO
CHAPTER 5 FORMA.TTING TEXT Subjects covered in Chapter 5 include - l The carriage return and line feed l The amount of space between lines
it returns the print head to the left margin. It does not advance the paper (if DIP switch l-5 is on; see below). Line feed is
61 Table 5-l Line feed commands Function Control code Return print head to left margin CHR$( 13) Advance paper one line CHR$(lO) Reverse
You may wonder why l/72 of an inch was chosen as the increment for the line spacing command. There’s a good reason: the dots that
CHAPTER 1 SETTING UP YOUR PRINTER Subjects covered in Chapter 1 include - l Choosing a suitable place for your printer l Unpacking l S
64 .-. Table 5-2 shows all the line spacing commands, including several “shortcut” commands for commonly used line spacings. Table 5-2
65 The < ESC > “J” CHR$(n) command causes the printer to make one line feed of n/216 inch, but does not change the setting of
66 PAGE CONTROL Now that we have seen how to control line spacing, we can go on to page control - positioning the printing on th
67 back to the top of the page to start the second column. The code for reverse form feed is easy to remember: < ESC> <F
68 After you have run this program, turn off the printer and adjust the top of form position. When you turn the printer back on
69 10 ' Demo of top and bottom margins 60 LPRINT CHR$(12); : ' form feed 70 FOR I=1 TO 150 80 LPRINT "THIS IS LINE&
70 IS LlNL 1 THIS IS LINE 2 , TH16 IS LINL ‘- 0 ) THIS IS LINE 4 THIS IS LINk 5 I THIS IS L.INE b I ,HIS IS LINE 7 0 1 THIS I
71 Try setting the margins with this program: 10 Demo of margins 20 GOSUB 70 30 LPRINT CHR$(27);"1";CHR$(lO); 40 LPRINT CHR$(27
72 HORIZONTAL AND VERTICAL TABS Suppose you need to move across the page to a certain position several times in a document. It’s no
73 When you run the program now it produces this: (‘ji;:t’ ‘-1 z,:.; (1.j i /-/p: i_:, j, i E.j 1L.j j 1 The words are now closer toget
2 You should also have a parallel interface board co connect your computer to the printer. Also available are a parallel interface b
74 The absolute horizontal tab command moves the print head to a specified position on the page. The positon that you want the prin
75 n Vertical tabs Vertical tabs have the same kinds of uses that horizontal tabs do - they just work in the other direction. Hori
Add one more line to the program to demonstrate one more feature of vertical tabs. 80 LPRINT CHR$(ll) ;“FIFTHH TAB.” Now when you run
77 60 LPRINT “* 5th Line, 7th Column” 70 LPRINT CHR$(27) ;“fl”;CHR$(3); 80 LPRINT CHR$(27) ;“fO”;CHR$(5); 90 LPRINT I’* 8th Line, 5th
78 Table 5-10 Vertical tab channel commands Function Control code Set vertical tabs at nl, n2, etc. < ESC > “b” CHR$(nO)CHR$(nl) as channe
79 ‘OF’ OF FOHM .ST TAB OF CHANNEL 1 IND TAB OF CHANNEL 1 CENTERI NG AND ALIGNING TEXT Text can be arranged in any of four formats
80 10 ' Demo of aligning and centering 20 LPRINT CHR$(27);"1";CHR5(20); 30 LPRINT CHR5(27);"Q";CHR5(60); 40 LPRINT CHR5(27);&
CHAPTER 6 SPECIALFEATURESOF THEPRINTER Subjects covered in Chapter 6 include - l Printer’s bell @ Master reset l Uni-directional printing l In
82 it will sound the bell for a quarter of a second. Tllis can be used to remind the operator to change the paper or to make o
Your printer has the ability to print right to the bottom of the sheet. You can disable the paper-out detector so that it doesn’t
the way. To replace the cover, slide the tabs in at the front and lower it into place. Figure 1-2 shows the proper position and
84 The following program shows how these codes work. 10 LPRINT "BACKSPACE DOES NOT"; 20 LPRINT CHR$(8);CHR$(B);CHR$(8); 30 LPRIN
85 W Immediate-print This printer can print at the quick rate of 240 characters per second. But it will also print more slowly at
- 10 ’ Demo of adjusting Spaces 20 LPRINT CHH$(27) ;“xl”; 30 FOR I=10 TO 1 STEP -2 40 LPRINT CHR$(27) ;‘I “;CHR$(i); 50 LPRINT “This l
I f 87 * :. 10 ’ Demo of uni-directional printing 20 LPRINT CHR$(27) ;“l”; 30 FOR I=1 TO 10 40 LPRINT II t , ,I 50 NEXT I 60 LPRINT :LPR
command immediately moves the printhead to the left margin and then prints the remainder of the line from left to right. W The se
89 You can also specify the power-on default character set by setting DIP switch 2-4 on for character set #l and off for character
90
91 70 LPRINT CHR$(179);CHR$(32);CHR$(32);CHR$(32); CHR$(32);CHR$(53);CHR$(l79) 80 LPRINT CHR$(192);CHR$(196);CHR$(l96); CHR$(196);CHR$(196);CHR$(l96);
.I Table 6-4 U.S.A. France International character set commands Country Control code < ESC > “R” CHR$(O) < ESC > “R”’ CHR$( 1) G
plus 127, and the high-order control codes are 128 through 159 plus 255.) These codes don’t normally print symbols on paper, rather
Kommentare zu diesen Handbüchern