Star Micronics NX-10 Instrukcja Użytkownika Strona 1

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Drukarki etykiet Star Micronics NX-10. Star Micronics NX-10 User's Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 129
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów

Podsumowanie treści

Strona 1 - USER’S MANUAL

NX-10 USER’S MANUAL NOT INTENDED FOR SALE PN 80820128

Strona 2

lj 3 Removing the printer cover is easy. Lift up the back of the cover to disengage the two tabs at the front and then lift it

Strona 3 - Table of Contents

93 70 NEXT M 80 NEXT N 90 LPRINT 100 DATA 139, 2, 5, 8,241, 0, 0,241, 8, 5, 2, 0 110 DATA 139,124, 0, 66, 4, 64, 36, 16, 16 12 120 DA%

Strona 4

94 Note that we didn’t have to re-enter the download characters, since they were already sent to the printer with the first pro- gr

Strona 5

95 character width is five dots (so you could not, for instance, specify a starting column of 6 and an ending column of 8, even th

Strona 6 - ., .,.

96 Because the NLQ characters can use as many as 16 dots ver- tically and 11 dots horizontally, you plan your designs on a dif- fe

Strona 7

97 ASCII Code: ($0 Descender: 2. Start column: End column: MO = Descender* 128 + (Start * 16 ) + End Figure 6- 13. Add the values of

Strona 8 - PRINTER

140 DATA 139, 46, 16, 2, 60, 0, 48, 0, 48, o, 48, o 150 DATA 92, 32, 4, 60, 0, 48, 0, 48, 0, 48, 0 When you want to print the defined c

Strona 9 - . . -- -_ _

99 240 LPRINT CHR$(61); 250 NEXT I 260 LPRINT 270 LPRINT "CHEMICALS";CHR$(g); 280 FOR I=.4 TO 8.7 STEP .4 290 LPRINT CHR$(60)

Strona 10

100 MEMO - -

Strona 11

CHAPTER 7 DOT GRAPHICS Subjects we’ll cover in Chapter 7 include- . This printer’s bit image graphics capabilities; l Printing a pre-def

Strona 12

So when do you use graphics and when do you use download characters? Practically anything you can do with graphics you can do wit

Strona 13 - Figure 1-5

Figure 1-3. Remove the protective tube from the carriage rail. Up to this point, we’ve been clearing the decks for action, so to sp

Strona 14 - YOUR PRINTER

largest number we can send in one byte (that’s what the BASIC CHR$( ) function sends: one byte) is 255. And with the normal densit

Strona 15 - Figure 2- 1

1 J Figure 7- 1. Starting with the most significant bit at the top, each pin of the print head is assigned a value which is a pow

Strona 16

105 mathematical function (a sine wave) to create a design. Later in this chapter we’ll show something more complex. The mathematical

Strona 17

106 PRINTING A DESIGN OR LOGO Since you control the firing of every pin, you can print nearly anything with your printer that can

Strona 18 - Figure 2-3

107 In the program below, we’ve taken the logo graphics informa- tion and put it into BASIC DATA statements. The program itself is

Strona 19 - / Sprocket

340 ' Row 2 350 DATA 0, 60,255,255,255,255,255,143, 15 360 DATA 370 DATA 400 410 DATA 31, 31, 15, 7, 3, o, o, o, ;, ; DATA 0, 0, 0,

Strona 20

109 20 LINE.8$=CHR$(27)+CHR$(65)+CHR$(8)+CHR$(27)+ CHR$(5Oj 40 LINE.l2$=CHR$(27>+CHR$(65)+CHR$(l2)tCHR$(27)t CHEI$(50) PLOTTING WITH YOUR PRINTE

Strona 21

80 LX=~O : LY=20 90 LXFAC=72/LX : LYFAC=~'~'/LY 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 260 270 280 290 300 310 320

Strona 22 - “igure 2-8

660 RANG=ANG%*6 28/360 670 X2=RAD"COS(iANG)tlO : Y2=RADSSIN(RANG)tlO 680 GOSUB 250 690 NEXT ANG% 700 RETURN If you are using with t

Strona 23 - CONNECTING THE PRINTER

112 to calculate starting and ending points for a line (in our circle the “lines” are very short - sometimes the starting and ending

Strona 24 - Figure 2-11

c_ / . 5 Warning: The print head gets hot during operation, so let it cool off before you touch it. Figure 1-4. Press the cartridge

Strona 25

I 113 600 ’ 610 ) Subroutine to plot a sine wave 620 ) 630 x1=0 : Yl=lo : x2=20 : Y2=10 640 GOSUB 250 650 x1=10 : Y~=O : x2=10 : Y2=20

Strona 26

114 Table 7-2 Dot graphics commands Function Normal densitv (60 dots/inch) 1 (ESC)“*“CI I Control code HR$(O) nl n2 ml m2 . . . Double den

Strona 27

I. Double density graphics Double density/double speed , 115

Strona 30 - BASIC PRINTING

So if quadruple density looks so great, why not use it all the time? Let’s try an experiment on your printer which will show jus

Strona 31 - . . .,I

119 - puting time as double density, it prints at the same speed as nor- mal density graphics. Amazing, you say? Well, it is - unt

Strona 32

120 , graphics densities. These commands, which are shown in Table 7-3, can be used interchangeably with the corresponding (ESC) “*” c

Strona 33

121 n g-pin graphics mode In the early part of this chapter, we said that the bottom pin of the print head is not normally used i

Strona 34

122 MEMO

Strona 35

6 Print head Figure 1-5. All you have to do is to slide the print head carriage manually to your right or left, then the ribbon s

Strona 36 - E;t,~ilCl~~r-d pr i nt n

., CHAPTER 2 GETTING TO KNOW YOUR PRINTER Subjects we’ll cover in Chapter 2 include - l Parts of the printer - what they’re for and how t

Strona 37

r ’ I Tractor feed unit nterf \ Power cord ’ Power switch Figure 2- 1. Front and rear views of the printer TRACTOR FEED UNIT - The dri

Strona 38

I . _ . w. L-. . . w.. . . . LI dI 9 I. PLATEN - This is the rubber cylinder that carries paper to the print head. INTERFACE CONNECTOR

Strona 39

10 n Extra functions There are eleven more functions that are not directly specified on the control panel. You can use six of them b

Strona 40

11 you’ll be using often. This lever controls the pressure of the paper against the platen. It has four settings: g - The top sett

Strona 41 - Expanded print commands

19 OK? Let’s start. 1. Move the sprockets on the tractor feed unit all the way to the ends. 2. Slide the sheet guide all the way

Strona 42 - 17 0 LPRIN,T

Federal Communications Commission Radio Frequency Interference Statement Thw rquipment generates and uses radio frequency energy and if

Strona 43

L Figure 2-5. . . . . . . . . *. l’rop up the paper guide by inserting me guise stana in the notches provided for it. 1 1 ‘igure 2-6

Strona 44 - Print emphasis commands

14 9. Now set the release lever to the auto-feed setting-the top position. The printer will advance the paper automatically. 10. When

Strona 45 - MIXING PRINT MODES

I I . ‘,,, ,’ 15 5. Flip the clamp levers backward. This allows the two sprocket units to move freely right and left so you can al

Strona 46 - 18 I‘ ’ Underline 128

ADJUSTING THE PRINT HEAD The distance between the print head and the platen must-be adjusted to accommodate papers of different thic

Strona 47

*_ . 17 1. Make sure both your computer and printer are turned off. 2. Connect one end of the interface cable to the connector sock

Strona 48 - FORMATTING TEXT

18 n Self-tests Your printer has two built-in programs that print out sample lines of letters, numbers, and other characters-to show

Strona 49 - Control code

n Hex dump Can you guess what a “hex dump” is? No, it’s not where witches throw away useless spells. A hex dump is an advanced ab

Strona 50

1. Plug in the printer (don’t turn it on yet). 2. While holding both the Mode and Bold keys, turn on the power switch. Right marg

Strona 51

Mode key - Left margin set Paper Feed key - Right margin set 3. While holding the two keys, the print head moves across the page

Strona 53 - ( One-time reverse line feed

I Table of Contents Chapter 1 Setting Up Your Printer Where shall we put it? What have we here? Removing the printer cover Removing the

Strona 54

CHAPTER 3 BASIC PRINTING Subjects we’ll cover in Chapter 3 include- * Listing BASIC programs on the printer; l How a program prints thin

Strona 55

; 24 language, perhaps recalling the rigors of high-school Latin. Others are unnerved by anything having to do with computers. Well d

Strona 56 - TOP AND BOTTOM MARGINS

25 output to the screen. Other computers, notably the Commodore C-64, require you to open the printer as a numbered device then to d

Strona 57

would enter LPRINT CHR$(65). To make the printer’s bell sound, we would LPRINT CHR$(7). In general, we print a character by enterin

Strona 58

27 line feed -the name of the code UJ’) -its abbreviation ASCII 10 -its decimal value ASCII &HOA -its hexadecimal value (the &H

Strona 59

28 This command that turns on expanded printing. (ESC), as we mentioned earlier, is the escape code (which is ASCII code 27). A lette

Strona 60

29 But for the final printout, try NLQ. The program below shows how. 10 1 Demo 20 LPRINT 30 LPRINT 40 LPRINT 50 LPRINT of NLQ character s

Strona 61 - CHR$(O)

f Demo of italic and :; LPRINT CHR$(27)*"4"* 30 LPRINT "This li;e ii 40 LPRINT CHR$( 27);"5y 50 LPRINT "This lin

Strona 62

31 In this program underline is turned on in line 20 with (ESC) “ -“l, and then off in line 40 with (ESC) “-“O. There’s a new li

Strona 63

32 Here line 30 turns on superscripts with (ESC) “SO. It’s turn- ed off in line 50 with (ESC) “T”. Then between printing text, sub

Strona 64 - 1-I-i I HC) TAM I

23 Chapter 3 Basic Printing Some basics of BASIC A new language! First steps ASCII codes and the CHR$ function Control codes The escap

Strona 65

33 Line 20 turns on elite pitch with (ESC) “M”. Line 30 prints a line at 12 characters per inch. The (ESC) “P” in line 40 reset

Strona 66

34 Now the results look like this: When you turn on expanded print with (ESC) “W”l it stays on until you turn it off with (ESC)

Strona 67 - I G 111 E 12 m

Table 3-7 Condensed print commands Function Control code Condensed ON CHR$(15) 01 (ESC) CHR$(15) Condensed OFF CHR$(18) By combining expande

Strona 68 - THE PRINTER

This line is CONDENSED ELITE pitch, This line is CONDENSED PICA pitch. This line is NORMRL ELITE pitch. l-l-1 :i, vii :I. :i n e :i,

Strona 69 - LPRINT CHR$(7)

When you run this program you should get this: This line is NORMAL ELITE printing. This line is F’ROF’ORTIONAL ELITE. “r1.7j.:~ :/.j

Strona 70 - I Print “normal zero”

38 - Try them now with this little program: f boldface and emphasized 2': ~PEE EHR$(~~) ;"G"; 30 LPRINT "This iine is

Strona 71 - LPRINT CHR$( 24);

39 more efficiently. You have at your disposal a unique command that lets you choose any valid combination of print modes and pitch

Strona 72

To better understand the way the print modes work, consider that each mode except pica (pica is the default) has a separate switch

Strona 73 - Printing directin commands

CHAPTER 4 FORMATTING TEXT Subjects we’ll cover in Chapter 4 include- * The carriage return and line feed; l The amount of space between

Strona 74

42 Line feed is more complicated. Each time the printer receives a CHR$(lO) it both advances the paper one line and returns the prin

Strona 75 - Function Control code

Chapter 5 Special Features of the Printer Now hear this 61 Resetting the printer Putting your printer to sleep Printing the bottom of

Strona 76 - Character set #2

43 NEW 10 20 2 2: 70 ( Demo of line spacing FOR I=1 TO 25 IF 1=13 THEN 60 LPRINT CHR$(27);"A";CHR$(I); LPRINT "THIS LINE SP

Strona 77

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 start

Strona 78

45 The program works just the same as before, but the line spac- ing are just one-third what they were. This is because (ESC j“3”

Strona 79 - I#lsl@lcl\lll*l’lcl:l,l~

46 NEW 10 ' Demo of' one-time line feeds 20 LPRINT "LINE NUMBER 1." ;; LPRINT "LINE NUMBER 2."; ' One-time l

Strona 80

47 PAGE CONTROL Now that we have seen how to control line spacing, we can go on to page control - positioning the printing on the

Strona 81

ed, for example, to print text in a multi-column magazine for- mat; print the first column, then reverse form feed back to.the top

Strona 82

49 advance the paper to the top of the next form. Line 50 then prints its message. After you have run this program, turn off the

Strona 83 - Table 5-8

10 ' Demo of top and bottom margins 60 LPRINT CHR$(12); :' form feed 70 FOR I=1 TO 150 80 LPRINT "THIS IS LINE";1 90 NEXT I 110

Strona 84 - Macro instruction commands

THIS IS LINE 1 THIS IS ILINE 2 THIS IS LINE : THIS IS ILINE 4 THIS I5 LINE 5 THIS IS ILINE 6 THIS IS LINE 7 THIS IS LINE R THI

Strona 85 - TIES-b I INI: AIBC::ll2

SETTING LEFT AND RIGHT MARGINS The left and right margins of this printer work just like a typewriter - once they are set all th

Strona 86 - ‘;~~k*zv o*+,-./

., .,. . Chapter 7 Dot Graphics Comparing dot graphics with download 101 characters Using the dot graphics commands Specifying the numbe

Strona 87

53 When you want to reset the margins to the default values, you have two choices. You can either turn the printer off and back

Strona 88 - OWN CHARACTERS

15 LPRINT CHR$(27);"D";CHR$(7);CHR$(l4);CHR$(21); CHR$(O) (ESC)“D” is the command to begin setting horizontal tabs. It must be f

Strona 89 - THE PRINT MATRIX

,. 55 The aboslute horizontal tab command moves the print head to a specified position on the page. The position that you want the

Strona 90 - Figure 6-3

80 LPRINT 90 END W Vertical tabs Vertical tabs have the same kinds of uses that horizontal tabs do - they just work in the other dir

Strona 91

j . 1-I-i I HC) TAM I wx.m-1-i-4 -rAb.

Strona 92 - Figure 6-5

., Add one more line to the program to demonstrate one more feature of vertical tabs. 80 LPRINT CHR$(ll);"FIFTH TAB." Now whe

Strona 93 - Figure 6-6

10 1 Demo of vertical tab channels 20 LPRINT CHR$(27>;"b';CHR$(l>;CHR$(lO);CHR$(2O); CHR$(O) ; 30 CLHPRHl~oT)CHR$(27);"b&quo

Strona 94

f-w 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

Strona 95

CHAPTER 5 SPECIAL FEATURES OF THE PRINTER Subjects we’ll cover in Chapter 5 include- * Printer’s bell; l Master reset; l Uni-directional

Strona 96 - 1. : :

62 sound the bell for a quarter of a second. This can be used to re- mind an operator to change the paper or to make another adju

Strona 97 - 0 000 1011 = ll(decimal)

- ..” Appendix D Function Codes Commands to control print style Font style controls Font pitch controls 165 Special print modes Controlli

Strona 98 - 60 FOR I=160 TO 254

stop the printer. This will allow you to print to the end of the sheet, and even beyond if you are not careful. The codes to c

Strona 99

60 LPRINT "WORK" 70 LPRINT "CANCEL LINE"; 80 LPRINT CHR$( 24); 90 LPRINT "DOES NOT WORK" Here is what this progra

Strona 100 - 2, 60, 0, 48, 0

65 You can turn immediate-print mode on with (ESC) “i” 1. But before looking at it, let’s review the normal operation of the print

Strona 101

This line is added 10 spaces. This line is added 8 spaces. This line is added 6 spaces. This line is added 4 spaces. This line is a

Strona 102

67 Here is what you will get. The top line is printed bi-directional- ly, and the bottom is printed uni-directionally. You will have

Strona 103 - NLQ characters

Table 5-3 Eighth bit controls Function Control code Turn the eighth bit ON (ESC) “>” Turn the eighth bit OFF (ESC) “=” ~ec~~~~;t~ bit

Strona 104 - 66, 4, 64, 36, 16, 2

I :- ; ::> 69 Figure 5- 1. Character set #2

Strona 105 - 6.6, 4, 64, 36, 16

70 Figure 5-l shows what this program will print. If your chart doesn’t 1001 like this because it has regular letters and numbers i

Strona 106

71 If you have a 7-bit interface, add the following lines to the pro- gram given above: 15 LPRINT CHR$(27);">"; 95 LPRINT C

Strona 107

72 Table 5-4 International character set commands I Countrv The characters that change are shown beneath their ASCII code in Table 5-5.

Strona 108 - DOT GRAPHICS

CHAPTER 1 SETTING UP YOUR PRINTER Subjects we’ll cover in Chapter 1 include- . Choosing a suitable place for your printer; l Unpacking y

Strona 109

73 command to “normalize” the high-order control codes is (ESC) “6”. Try this program with the DIP switch 1-6 on. 10 ’ Demo of char

Strona 110 - 1536 to 1791

74 130 NEXT I 140 LPRINT CHR$(144);CHR$(145); 150 FOR I=149 TO 159 160 LPRINT CiSS(I); 170 NEXT I 180 LPRINT CH?.$(27);"10" 190 END When yo

Strona 111 - Figure 7- 1

I ;. ” 75 10 ' Demo of BIG characters 20 LPRINT "THIS IS I'; 30 LPRINT CHR$(27);"h";CHR$(l); 40 LPRINT "DOUBLE"; 50

Strona 112 - WID=lOOO

When you run this program, you will get like this: n The optional sheet feeder The automatic sheet feeder is a handy option that fe

Strona 113 - ! s&s

77 which refers to an instruction that “calls,” or uses a group of nor- mal instructions. In computer programming macro-instructions (whi

Strona 114 - 160 f Print logo

78 tional pitch, condensed print, expanded print, boldface, em- phasized, and the underlining. Line 40 cancels the superscripts and th

Strona 115

79 If your system passes the codes directly to the printer without changing them, you will get like this. (You can print out the

Strona 116

80 dumps the characters to the paper. To debug a program quickly, just use the hex dump capabili- ty. Appendix B will help you tran

Strona 117

CHAPTER 6 CREATING YOUR OWN CHARACTERS Subjects we’ll cover in Chapter 6 include - l Designing and printing your own characters; l Desi

Strona 118 - 690 NEXT ANG%

see, the capital letters use the top seven wires of the printhead, and the descenders (such as the lower case “p” shown) use the

Strona 119

2 WHAT HAVE WE HERE? Now let’s take a look at what’s in the carton. Open it up and check each item in the box against Figure l

Strona 120

83 character sets, and the NLQ characters. But there is another area of memory in this printer reserved for user-defzked characters.

Strona 121 - \_-_ --_- ._.. -..

download character. You can see how we’ve laid it out in Figure 6-5. Later in this chapter we’ll use this character to create a sm

Strona 122 - Double density graphics

I . . 85 One bit in the download character definition command is to be treated as a descender or not. We’ll get to the command in du

Strona 123

1 m m, m, m, m. m. m m, m. m m 64 32 16 4 2 1 Tolal ASCII Code WRONG! Descender Start column End column M, = Descender l 128 + (Slat1

Strona 124

87 So add up the values of the dots in each column using this system. In Figure 6-8 we’ve shown our grid with the sums of the co

Strona 125 - ,,, - -... _ .

also access the character from a BASIC program with the CHR$ function. There are no rules or restrictions on the use of numbers. T

Strona 126 - ~2 nOne

I 1. : : 89 n Download character definition command You’ve read through a long explanation of download characters and we haven’t even

Strona 127

L 0 000 1011 = ll(decimal) Descender Starting Ending date print column print column Figure 6-10. The attribute byte-(M) for our flask

Strona 128

I PRINTING DOWNLOAD CHARACTERS You’ve now defined and sent three characters to your printer. But how do you know that? If you try p

Strona 129

92 Nope! Just three characters in the download set. This is incon- venient for a couple of reasons. First, every time you wanted to

Komentarze do niniejszej Instrukcji

Brak uwag