NP-IO USER’S MANUAL NOT INTENDED FOR SALE [ PN 80820191]
4 The printer is shipped with a protective spiral tube to keep the print head from being damaged during shipping. This tube must b
94 peripheral devices using eight data lines. When the peripheral is a printer, each data line corresponds to one pin on the print
Print T. _- - _ __ .__ _._ _ ‘.igure l-5. .l’o thread the ribbon, slide the print head carriage manually to the right or left, and
6 MEMO - -
CHAPTER 2 GETTING TO KNOW YOUR PRINTER Subjects covered in Chapter 2 include- * Parts of the printer - what they’re for and how to use the
8 I Pow\er cord . . . Figure 2- 1. Front and rear views of the prmter. H Controls and indicators Now let’s go over the controls and
9 I Figure 2-2. The control panel. I POWER INDICATOR - Glows orange when the power is on. This indicator flickers when the printer
We’ll explain about the “Panel” mode, which is powerful func- tion of the printer. Some commercial software does not support defining
i E NLQ key - Reverse micro-feed 3. When you can set the print start position, release the Paper Feed key or the NLQ key first,
12 - .wo 3 - The top setting is used when you want to load paper in the printer. P - The second setting is for normal single s
13 -.2 Figure 2-6. Move the sprockets on the tracktor feed unit all the way to the ends. 2. Install the printer cover on the printe
Federal Communications Commission Radio Fre s uency Interference tatement This equipment generates and uses radio frequency energy and if
14 Release lever F the release lever. ‘igure 2-7. You can insert a sheet of paper automatically by using 1. Remove the printer cover. 2.
Figure 2-8. Open the sprocket covers to expose the sprocket teeth. 8. Check that the paper is still positioned correctly, and close
16 ADJUSTING THE PRINT HEAD The distance between the print head and the platen must be adjusted to accommodate papers of different
version, and self-test 2 is the short one. You can use either one to show the characters available in the printer, to check the
CONNECTING THE PRINTER Now that you’ve assembled and tested your printer, all that re- mains is to connect it to your computer as
CHAPTER 3 PRINTING WITH BASIC Subjects covered in Chapter 3 include- . Listing BASIC programs on the printer l How a program prints thi
20 SOME BASICS OF BASIC n First steps The first things that a beginner learns to do are to list a pro- gram and to print a charac
n ASCII codes and the CHR$ function You can talk to your computer in BASIC, but your computer and your printer talk to each other
22 - the “control” key and one other. The other key determines what code is sent - pressing the control (CTRL) key and A sends A
23 n The escape codes Back when the ASCII system was set up, computer equip- ment was relatively simple and thirty-three control cod
Table of Contents Chapter 1 Setting Up Your Printer 1 Locating the printer Check the carton contents Removing the printer cover Removing
24 So for our example above, any of these BASIC statements will have the same result: LPRINT CHR$(27);CHR$(87);CHR$(l) LPRINT CHR$(27>;C
25 In this program, line 20 selects NLQ characters with (ESC) “x” 1 command. Line 30 prints a sample before line 40 switches printer
Table 3-2 Italic commands Function Control code Italic ON (ESC) “4” Italic OFF (ESC) “5” Use this program to see italic characters: 10 ’
37 It should come out like this: In this program underline is turned on in line 20 with (ESC) “ - ” 1, and then off in line 40 with
I 28 90 LPRINT CHR$(27);"T"; 100 LPRINT "on one line." Here line 30 turns on superscripts with (ESC) “S” 0. It’s turned
When you run this program you should get this: This line is ELITE pitch. "I'h:j.5 I. ii-162 is F':CCA pitch inormal ) . Line
30 Sometimes you may wish to stay in expanded print for more than one line. Change your program to this: 10 ' Demo of permanent
c. 31 D (<<$ IT) (1;) 1-1 5; .k, r <>, ‘b, i [::j r) CL) $ CONDENSED pr- i nt: 1 ng . Condensed print set with CHR$(lS) stays on
32 220 LPRINT "This is EXPANDED PICA." 230 LPRINT CHR$(27);"WO" 240 END Here’s what you should get from this program: This
40 LPRINT CHR$(27);"pl"; 50 LPRINT "This line is PROPORTIONAL ELITE." 60 LPRINT CHR$(27);"P"; 70 LPRINT "This line
Chapter 4 Formatting Text 37 Lines and line spacing Starting a new line Reverse line feeds Changing the line spacing Moving down the p
34 Table 3-9 Print emphasis commands Function Control code Boldface ON (ESC) “G” Boldface OFF (ESC) “H” Emphasized ON (ESC) “E” Emphasized
35 MIXING PRINT MODES We have learned how to use the various print modes in- dividually and together. Now we’ll see how to combine
36 The command would look like this: CHR$(27);“!“;CHR$(49) To better understand the way the print modes work, consider that each mode
CHAPTER 4 FORMATTING TEXT Subjects covered in Chapter 4 include- * The carriage return and line feed l The amount of space between lines
- return. Each time the printer receives a CHR$(13) it returns the print head to the left margin. It does not advance the paper (i
H Changing the line spacing When you turn your printer on, the line spacing is set to 6 lines per inch. This is fine for most
40 Line 40 changes the line spacing. The command (ESC) “A” CHR$(n) changes the line spacing to n/72 of an inch. The loop that is
The program works just the same as before, but the line spac- ings are just one-third what they were. This is because (ESC) “3” C
30 LPRINT "LINE NUMBER 2."; 40 ' One-time line feed 50 LPRINT CHR$(27);"J";CHR$(lOO); 60 LPRINT "LINE NUMBER 3.&qu
43 PAGE CONTROL Now that we have seen how to control line spacing, we can go on to page control - positioning the printing on the
Chapter 7 Caring for Your Printer 95 Cleaning the printer Replacing the ribbon Replacing the print head Appendix A DIP Switch Settings 101
n Reverse form feed Just your printer perform a line feed, can do reverse form This code the paper that the head is at the of th
45 This program should print “PAY TO THE ORDER OF:” twice, and they should be 7 inches apart. Line 20 sets the form length to 7 in
46 the printer how many blank lines should be left at the bottom of the page. Let’s try a simple application to see how these mar
47 ” _-. 0 0 0 0 0 - :. I ___---- ---------- T7 0 0 0 0 --- 0 0 0 0 0 4 4
48 SETTING LEFT AND RIGHT MARGINS The left and right margins of this printer work just like a typewriter - once they are set all
49 When you want to reset the margins to the default values, you have two choices. You can either turn the printer off and back
50 Even though the words are different length, they are spaced out evenly by the horizontal tabs. Now add the following line to yo
51 W One-time horizontal tabs Suppose you need to move to a position across the page, but you only need to do it once. It doesn’t
The relative horizontal tab command can move the print head right from the current position with NLQ characters. The for- mula for
I L 53 .._ up tabs, the command advances the paper only one line. Enter this program to see how this works. 10 ' Demo of verti
--- Appendix F Technical Specifications 165 Appendix G The Parallel Interface 169 Functions of the Connector Signals Index 173
54 in ascending order. Our example sets vertical tabs at lines 10, 15,25 and 30. Then the CHR$(ll) in each of the following lines a
55 Table 4-9 Vertical tab commands Function Control code Advance paper to next tab position CHR$(ll) Set vertical tabs at nl, n2, etc. (ESC)
56 20 LPRINT CHR$(27);"b";CHR$(l);CHR$(lO);CHR$(20); ems (0) ; 30 LPRINT CHR$(27);"b";CHR$(2);CHR$(15);CHR$(25); CHR$ (0) ; 40 LPR
57 In this program we set tabs at 10 and 20 in channel 1 in line 20. In line 30 we set tabs 15 and 25 in channel 2, and in li
MEMO
CHAPTER 5 SPECIAL FEATURES OF THE PRINTER Subjects covered in Chapter 5 include- . Printer’s bell l Master reset l Uni-directional print
60 The code to sound the “bell” is CHR$(7), which is ASCII code 7 or (BEL). Any time your printer receives this code it will sound
61 ning out of continuous paper. Your printer has the ability to print right to the bottom of the sheet. You can disable the pape
10 LPRINT "BACKSPACE DOES NOT"; 20 LPRINT CHR$(8);CHR$(8);CHR$@); 30 LPRINT 'I=== WORK." 40 LPRINT "DELETE DOES NOT"; 50
63 But it will also print more slowly at the speed of your typing. In the immediate-print mode, the print head prints one characte
CHAPTER I SETTING UP YOUR PRINTER Subjects covered in Chapter 1 include- . Choosing a suitable place for your printer l Unpacking l Setti
64 30 FOR I=10 TO 1 STEP -2 40 LPRINT CHRS(27);" ";CHR$(I); 50 LPRINT "This line is added";I;"spaces." 60 NEXT I 70 LPR
65 30 FOR I=1 TO 10 40 LPRINT "I" 50 NEXT I 60 LPRINT : LPRINT 70 LPRINT CHR$(27);"Ul"; 80 FOR I=1 TO 10 90 LPRINT "I" 1
I 66 H The seven bit dilemma Some computers (not the IBM-PC fortunately!) don’t have the capability to send eight bits on their par
67 L L L. L L 10 LPRINT CHR$(27);"0"; 20 LPRINT CHR$(27);"6"; 30 FOR J=3 TO 6 40 LPRINT w ";J;CHR$(J);CHR$(g); 50 NEXT J 60 L
69 So how are all of these strange characters used? Here is a short program that demonstrate how the graphics characters can be co
70 W International character sets Your printer changes languages by changing 12 characters that are different in the different language
L 71 n Printing characters in the control code area When you refer the Appendix C, you’ll find many characters are printed in the c
72 40 LPRINT CHR$(I); 50 NEXT I 60 LPRINT c~~$(16);CHR$(l7); 70 FOR I=21 TO 31 80 LPRINT CHR$(I); 90 NEXT I 100 LPRINT 110 FOR I=128 TO 134 120 LPRINT
! 73 Table 5-7 Big character commands Function Control code Double-high enlarged print (ESC) “h” CHR$(l) Quad-high enlarged print (ESC) “h
.._ . _. - igure l- 1. Check to make sure you have all tour items: 1) Printer, 2) Paper separator, 3) Ribbon cartridge, and 4) User’s m
74 As you can see, when the big character command is used, the baseline for each character does not align. If you want to align t
75 Here is how the printer’s macro works. You define a macro by telling the printer what normal control codes are to be included in
76 Now that you have defined a macro, let’s see how to use it. This program will print one line using several printing features.
77 . . . . . . . . . . . . . . . . . . ..“... ’ “HOAX.“, (, Ii , . / 0 1 ,( :‘l!r/,/ll’r’: : I-’ ~~III.I)I I I,I~
78 MEMO
CHAPTER 6 DOWNLOAD CHARACTERS AND DOT GRAPHICS L L.. L- L. L Subjects covered in Chapter 6 include- . Designing and printing your own chara
80 fired by a different number. One byte of data (a decimal number from 0 to 255) can thus represent a unique combination of dots. For
c. i i L c L L i Ii.. 81 six boxes ,wide by nine boxes high. l Horizontally, dots may be centered in a box, or may straddle a line,
82 value is 2. In the next column, there is a dot straddling the ver- tical line in the “1” box, and another in the “4” box; its
83 You will see the letters ml, m2, m3 etc., are above your values. When you define the character, you will substitute your value
3 Figure 1-2. Remove the printer cover by lifting carefully. W Removing the packing tube Figure 1-3. Remove the protective tube from
84 the grid; ml the left-most column value, m2 the next, and so on. You must define eleven data, even if the last few data are 0
L. L L L i i ‘. i c. c 85 l Tell printer to use download character set : (ESC > “%” 1 To demonstrate how to use the download charact
1 86 320 LPRINT 330 LPRINT CHR$(9);+-"; 340 SCALE$="--+--'I 350 FOR I=2 TO 8 STEP 2 360 LPRINT SCALES; 370 NEXT I 380 LPRINT I'--+
DESIGNING YOUR OWN NLQ CHARACTERS As you have probably noticed, NLQ characters are printed by two passes of the print head. Half o
88 your characters, and the second pass dots on the lines. Remeber that adjacent dots may not overlap on the same pass; in other
89 10 LPRINT CHR$(27);"xl"; 20 LPRINT CHR$(27);":" ;CHR$(O);CHR$(O);CHR$(O); 30 LPRINT CHR$(27);"&";CHR$(O);CHR$(60)
90 370 LPRINT CHR$(9);"i--'I; 380 SCALE$="--+-'I 390 FOR I=2 TO 8 STEP 2 400 LPRINT SCALES; 410 NEXT I 420 LPRINT "--+"
(ESC) “*” specifies the graphics mode, the CHR$(O) specifies normal density. Other densities are described later. Any number of graphic
HIGHER RESOLUTION GRAPHICS There are seven graphics modes you can use; they are sum- marized in Table 6-2. Table 6-2 Function Control
MORE GRAPHICS PROGRAMMING TIPS At the end of this chapter, we’ll discuss two modes that the printer offers to help you solve poten
Comentários a estes Manuais