Epson FX-BO Dokumentacja

Przeglądaj online lub pobierz Dokumentacja dla Drukuj i skanuj Epson FX-BO. Epson FX-BO Specifications Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 2 - Torrance, California 90505

9Margins and Tabs...113Margins...113Left margin...113Margin

Strona 3

The 17 backspaces (line 40) are printed in Compressed Mode. Thedifference in character widths makes the second printing of the wordBACKSPACES be offse

Strona 4 - LPRINT CHR$(27);CHR$(52)

Figure 6-1. Bidirectional lineLook carefully at your printout or at the version we show as Figure6-1. See how the line seems to quiver? Now turn on Un

Strona 5

line feed, which means that the subsequent movement of the printhead will be from the left margin to the right. To see this in action,delete line 10 a

Strona 6

that are used in different countries. These international characters canbe accessed with:LPRINT CHR$(27)"R"CHR$(n);where n is a number from

Strona 7 - Contents

Table 6-2. International characters in Roman typefaceThis program provides an easy reference to the international charac-ters; you’ll probably want to

Strona 8

When could you use this program? Well, you can print . . .and if you want to use one of the foreign sets all the time, you canchange your printer’s de

Strona 9

either of these capabilites on and off, as a mode, with an ESCapesequence.Half-Speed ModeThe FX can print at the fine rate of 160 characters per secon

Strona 10

and print the contents of the buffer, press RETURN alone. Now addthis line:10 LPRINT CHR$(27)"i1"And RUN the program. Your FX-80 responds to

Strona 11

CHR$(27)“sl”CHR$(27) “s0”CHR$(27)"i1"CHR$(27)“i0”Turns Half-Speed ON; If your system can’tsend lowercase letters, use CHR$(115)CHR$(1)Turns

Strona 13 - List of Figures

12Design Your Own Graphics...159Planning Process...159STRATA Program... 160Thre

Strona 14

Chapter 7Line Spacing and Line FeedsUp to this point in the manual, we have not discussed the way theprinter moves a page so that it doesn’t print lin

Strona 15

Figure 7-1. Default line spacingTo see 12-dot spacing, reset the printer (to clear any previousmodes), and enter:NEW20 FOR X=0 to 430 LPRINT TAB(6*X)

Strona 16

Your first STEPS print in 12-dot spacing. Now tighten up the linespacing by adding lines 10 and 50:10 LPRINT CHR$(27)"@"50 LPRINT CHR$(27)&q

Strona 17 - List of Tables

To show what varying n can mean, the following program increasesthe line spacing by one dot’s worth on each line feed:20 FOR X=8 TO 2430 LPRINT TAB(X)

Strona 18 - Introduction

The ESCape”A”CHR$(n command sets the line spacing to n/72-) inch if the n is any number from 0 through 85. If n is between 85 and128, the line spacing

Strona 19 - Inside This Manual

Microscopic line spacingThere is also a way to space at smaller intervals than 72nds. Using aCHR$(27)“3” will set the spacing to increments of 216th o

Strona 20

One-time, immediate line feedThe FX has a special line feed that executes a new size of line feedonce, then reverts back to the size of the previous l

Strona 21

Figure 7-3. Staggering STAIR STEPS100

Strona 22

print the two lines of text and then move the print head up the page toprint the line of hyphens above the first line.l0 LPRINT "REVERSE FEED&quo

Strona 23

Table 7-1. Line-spacing commands102

Strona 24 - Programmer’s Easy Lesson

16Combining User-Defined Characters...215Large Letters: Double Wide...215Large Letters: Double High...

Strona 25 - Ticket Program

Chapter 8Forms ControlThe FX has several features that make it easy for you to print on anysize of page and to determine where on the page the printin

Strona 26

first tell the printer where the top of form is. In most cases you’ll wantthe printer to use the first line below the paper perforation as the top-of-

Strona 27 - Ticket Program Description

CHR$(12) sends the paper to the top of the next form. It gives thesame result as the FF button so long as you end the line with a semi-colon to preven

Strona 28

Figure 8-2. Two-inch form feedCheck it by changing your program lines as shown below and RUN-ning the program again; see if your printout matches Figu

Strona 29 - 350-410

Why does the printer give you two options? In some cases, settingthe form length by inches is more convenient. If you know how manyinches long the for

Strona 30 - The FX Printers

For standard 11-inch forms, just position the paper correctly beforeturning on the printer; for other form lengths, use the CHR$(27)“C”command.It’s ti

Strona 31

When you use the skip-over-perforation command, you may wantto change your top of form. No matter what number you use as askip-over-perforation settin

Strona 32 - Figure 1-2. Printer parts

If you use single-sheet paper on your FX printer and run to the endof the form, the paper-out sensor prevents the printer from acciden-tally printing

Strona 33 - Printer Location

off, either by changing DIP switches or by sending the printer ASCIIcodes as summarized below.Switch 2-2When on; activates the beeper; when off,deacti

Strona 35 - FX-100)

List of FiguresEasy-1FX ticket program...8Easy-2Ticket to success...101-1The FX-80 and FX-100 printers.

Strona 36 - Manual-feed knob

Chapter 9Margins and TabsAt power-up, your FX contains specific default settings for marginsand for horizontal and vertical tabs. You can make change

Strona 37 - DIP switches

Try out the left margin command with:NEW10 LPRINT "LEFT MARGIN"20 LPRINT CHR$(27)"1"CHR$(10)30 LPRINT "LEFT MARGIN SET AT 10&

Strona 38 - Figure 1-8. DIP switch vent

Figure 9-2. Listing at new marginand then switch to Compressed, the left margin stays the same dis-tance from the edge of the paper. To see an example

Strona 39

The text prints in Compressed Mode, but the left margin is still set at10 Pica spaces.Right marginThe general format for the right margin is:CHR$(27)&

Strona 40 - Ribbon installation

Figure 9-4 shows the new listing, which did not print out at the posi-tion you specified. What happened? Well, the CHR$(18) turned offCompressed Mode,

Strona 41 - FX-80: built-in tractor feed

Both marginsNotice that the left and right margin commands use different num-bering systems. In Pica Mode the left margin command counts from 0to 79 w

Strona 42 - Figure 1-11. Ribbon insertion

Horizontal tab usageThe FX has the ability to tab horizontally, and it has default tabs setin the current pitch at columns 8, 16, 24, 32, . . . every

Strona 43

Note that many BASICS handle numbers differently from strings.This difference is most evident when you are printing columns thatcontain mixtures of nu

Strona 44

Variable horizontal tabsYou can change the default horizontal tab settings by specifyingnew tab stops. To do this, use the format:CHR$(27)"D"

Strona 45

For the FX-100 this is:135 in Pica, 162 in Elite, and 232 in Compressed.Don’t forget that resetting the margins automatically returns thetabs to their

Strona 46 - (optional on the FX-80)

5-1Master Select Program...745-2Master Select choices...755-3Dress-up combinations...776-1Bi

Strona 47 - Figure 1-17. Hook and stud

the default vertical tabs, which are set for every other line, or you canset tabs in one of two ways, in a single set or, for forms, in up to 8 sets,c

Strona 48

Figure 9-10. Ordinary vertical tabsOnce you have tabbed to a stop, you can print more than one lineof text at that position. See this by changing line

Strona 49 - Paper-thickness lever

Figure 9-11. Text at tab stopJust as for horizontal tabs, vertical tab settings are absolute: they donot change when you change the size of a space. F

Strona 50

uses the Reset Code to return the FX to 12-dot spacing. RUNning thisprogram produces a printout to match Figure 9-12.Figure 9-12. Absolute vertical ta

Strona 51 - Paper thickness adjustment

You can store up to eight channels of tab stops, numbered from 0 to7. You use a format that is similar to the one for a single set:CHR$(27)"b&quo

Strona 52 - The FX tests itself

Figure 9-13. Printout of multipage channelsSummaryThe FX gives you the ability to set margins and to use default, regu-lated and variable tabs; you ca

Strona 53 - 136 columns. Turn the printer

CHR$(27)“1”CHR$(n)Sets the left margin to n. (If you can’t use low-ercase letters, use CHR$(l08) in place of “1” .)Limits are 0 - 78 in Pica, 0 - 93 i

Strona 55 - BASIC Communications

Chapter 10Introduction to Dot GraphicsWelcome to the world of Epson graphics. To get you off to a solidstart, we use this chapter to discuss all the f

Strona 56 - BASIC print commands

A final multiplication:480 main columnsX792 rowsgives you a grand total of 380,160 dot positions per FX-80 page. Andthat doesn’t even take into accoun

Strona 57 - ASCII and BASIC basics

12-1STRATA layout...16112-2STRATA logo...16212-3STRATA program...16312-4Corne

Strona 58 - Control codes

Figure 10-1. Pins numbered sequentiallyEach time the print head makes a horizontal pass, it prints a patternof dots. To print figures taller than 7 or

Strona 59 - FX interpretation

Each pass of the print head contains one piece of the total pattern,which can be as tall or short as you desire. You don’t have to use thewhole page o

Strona 60 - ITALIC CHARACTER SET

Often a figure needs more than half a line. To reserve more than 255columns for graphics, the second number (n,) must be greater than 0.But n2 does n

Strona 61 - Change Commands

Since computers use the binary numbering system (OS and 1s only),it is most efficient for each pin to correspond to the decimal equivalentof one bit i

Strona 62

Figure 10-4. Pin combinationsNow that you know the labels for the pins, how would you fire the toppin? Why, by sending LPRINT CHR$(128), of course. An

Strona 63 - DELete and CANcel

In the programs that follow (except the first), we shorten the processof specifying pins by using the fact that their labels represent powersof two. (

Strona 64

Line 40 completes the loop.Line 50 doesn’t print anything-it just forces a carriage return at theend of the print line, overriding the semicolon of li

Strona 65

110 LPRINT CHR$(2^N);120 NEXT X: RETURNOn the first pass of the loop (line SO), N equals X and the exponentsincrease in order from 0 to 6. The second

Strona 66 - Print Pitches

See what a big difference the line spacing makes? All of themultiple-line graphics programs in this manual use this line spacing.Diamond patternIn thi

Strona 67 - Main columns

SummaryYou enter GraphicsMode with the CHR$(27)“K”CHR$(n1) CHR$(n2) command. You determine the number of graphicscolumns by filling the two reservat

Strona 68 - Intermediate positions

17-117-217-317-4Barchart...Program for BARCHART...Statement form...Program for

Strona 69 - Modes for Pitches

Chapter 11Varieties of Graphics DensityWe introduced you to FX graphics by having you use Single-Density Graphics Mode and a single pin per column. In

Strona 70 - Compressed Mode

Graphics and the Reset CodeYou may have wondered about the semicolon we had you placeafter the B$ in line 40. If this line were text rather than graph

Strona 71 - CHR$(15)"

for form feed-CHR$(12)-to the printer, the computer system inter-cepts it and sends instead a series of line feeds-CHR$(10). It does thiswhether the C

Strona 72 - Mode priorities

SINGLE-DENSITY GRAPHICSThe printer fires pins 1, 3, 5, and 7 (with the respective exponentialvalues of 1, 4, 16, and 64) in the first column and pins

Strona 73 - Pitch Mode Combinations

PatternPrints as(Overlapping dots)In double-density modeat High SpeedFigure 11-1. High-Speed Double-Density dotsTo check this out, change the pin patt

Strona 74

Low-Speed Double-Density Graphics ModeAh, but the FX has a special print mode to take care of this veryproblem. It’s called the Low-Speed Double-Densi

Strona 75 - AND ELITE

Quadruple-Density Graphics ModeThe FX also gives you the ability to print dots four times as denselyas in Single-Density. Change the 1 line 20 to a 3

Strona 76 - CHARACTERS ON THE SAME LINE

MODE # 0MODE # 1MODE # 2MODE # 3MODE # 4MODE # 5MODE # 6Figure 11-4. Seven density modesFigure 11-4 displays all seven of the FX modes that affect gra

Strona 77 - CHR$(20)

Table 11-1. Graphics ModesMode Density0Single1Low-SpeedDoubleHigh-SpeedDouble2Quadruple3AlternatecodeDescriptionCHR$(27)“K” 60 dots per inch;480 dots

Strona 78 - Print Quality

You should get another printout of Figure 11-4.A second time you can make good use of the reassigning codeoccurs when you want to change a program in

Strona 79 - LPRINT CHR$(27)"@"

List of Tables1-1DIP switch functions . . . . . . . . . . . . . . . . . . . . . . . .232-1Several computers’ print LIST commands . . . . . .382-2Sever

Strona 80

First byteSecond byteFigure 11-5. Nine-pin usage(Use CHR$(94) if you can’t generate the caret symbol (^) from yoursystem.) The d determines the densit

Strona 81

Firing 9 pins with 8 data lines is just a shade more difficult than firing7 or 8 pins. It takes 2 bytes to define each 9-dot pin pattern: the firstbyt

Strona 82 - Mixing Modes

50 READ N90 DATA 3,7,31,63,126,124,112,96,92,66,33,25,5,3Line 50 reads the first data number into the variable N. To read therest of the numbers, lin

Strona 83 - ON"

like this one, you can just get the program to reread one set of data byusing a RESTORE statement. To see this, change two lines and thenRUN the progr

Strona 84 - Mode name

80 LPRINT CHR$(27)"@": END90 DATA 8,28,62,93,-6,28,93,62,28,8100 READ R: FOR J=l TO -N110 LPRINT CHR$(R);: NEXT J120 X=X-N-1: GOT0 70RUN it

Strona 85

CHR$(27)“L”CHR$(n1)CHR$(n2)Enters Low-Speed Double-Density GraphicsMode and specifies the width setting. Width= n1 + (256*n2), where n1 is 0 - 255 and

Strona 86 - Chapter 5

Chapter 12Design Your Own GraphicsIn this chapter we take you through the development of twographics programs, from design to implementation. The two

Strona 87

2. Translate the dots into their appropriate pin numbers, seven oreight rows (depending on your computer system’s capability) ata time.3. Figure out t

Strona 88

Figure 12-1. STRATA layoutIn most cases the program reads a number greater than or equal tozero and sends it to the printer (line 620). Control then r

Strona 89 - Italic Mode

There’s only one thing left to do before you can print the first line-enter a Graphics Mode:600 LPRINT CHR$(27)"L"CHR$(60)CHR$(0);Now RUN th

Strona 90 - More Mode Combinations

IntroductionFX FeaturesEpson’s MX series of printers attracted enough attention to becomethe most popular line of printers in the industry. Our FX pri

Strona 91

l00 LPRINT CHR$(27)"1"590FOR K=l TO 6600 LPRINT CHR$(27)"L"CHR$(60)CHR$(0);610READ N: IF N=128 THEN 650620 IF N>=0 THEN LPRINT

Strona 92

Figure 12-4. Corner of the FX-80 design

Strona 93 - Compressed

A very few pin patterns are needed for this program. In fact, each“pattern” consists of only one pin, making the numbers easyto calculate:1for the low

Strona 94

170 FOR Y=l TO 819: LPRINT CHR$(l);: NEXT Y180 LPRINT: NEXT X: RETURNNow RUN the first trial:Line 20 stores the graphics entry string in G$. This prod

Strona 95

If L is read as zero, line 70 causes the program to ignore line 80. Thisenables the printer to print the center portion of the X, where thediagonal fa

Strona 96

290 DATA 3,3,25,3,0,3,25,3,12,3,2,3,12,3,3,-1300 DATA 3,3,24,3,2,3,24,3,12,3,2,3,12,3,3,-1310 DATA 3,3,23,3,4,3,23,3,12,3,2,3,1&3,3,-1320 DATA 3,3

Strona 97

100LPRINT CHR$(l)CHR$(2)CHR$(4)CHR$(8)CHR$(l6)CHR$(32)CHR$(64);110 FOR X=1 TO H: LPRINT CHR$(64);: NEXT X120LPRINT CHR$(64)CHR$(32)CHR$(16)CRR$(8)CHR$

Strona 98 - Special Printing Features

7 WIDTH LPRINT 25510 LPRINT CHR$(27)"1"20 G$=CHR$(27)+"L"+CHR$(l2l)+CHR$(3): GOSUB 16030 FOR D=l TO 17.: PRINT "ROW ";D4

Strona 99

These changes fill in the diagonals as illustrated in Figure 12-9:100 LPRINT CHR$(l)CHR$(3)CHR$(7)CHR$(l5)CHR$(31)CHR$(63)CHR$(127);120 LPRINT CHR$(12

Strona 100 - Unidirectional Mode

Figure 12-10. Most distinct versionFigure 12-11. Reversed version172

Strona 101 - CHR$(27)”<”

l Program debugging mode (hexadecimal dump of codes receivedfrom the computer)l Fast print speed-160 characters per second-for rapid processingof docu

Strona 102 - International Characters

Chapter 13Plotter GraphicsAs you work with dot graphics, you may run into printer limita-tions because dot-matrix printers are designed primarily for

Strona 103

Figure 13-1. Computer memory as sketch padholes or cells arranged in rows and columns, as Post Office boxes are.Each cell of the array corresponds to

Strona 104

Figure 13-3. Ones and zeros become dots and blanksWhy all this fuss and stew about arrays? We want to show you thatthe FX can simulate a plotter. And

Strona 105 - Special Speeds

DIMension and arraysMost BASICS allow you to use up to 10 rows and 10 columns in anarray without any special preparation of the computer’s memory.Sinc

Strona 106 - CHR$(27)“il”

Figure 13-5. Plotting a circleCircle PlottingYou can have your program examine the cells of an array in anyorder; the following program scans them row

Strona 107 - 2 = Germany

The final step to plotting a circle in an array is to close the loopsand display the contents of the array. Add these three lines to yourprogram:50 LP

Strona 108

The next line loads the beginning (B), ending (E), and step (S) valuesfor the loop that will read and print the array.100 B=l: E=N-6: S=lWe have you u

Strona 109

encounters a one, it adds the appropriate power of two to F (line 190).The exponent is the difference between the current row (R) and the lastrow in t

Strona 110 - Chapter 7

below picks off any potential problem codes and changes them to lessdangerous numbers.210 IF F>8 AND F<14 THEN F=F-5This line takes any number b

Strona 111

drastic measures. One such measure would be to let each bit of thenumbers stored in the array cells represent one graphics dot. Thiswould increase the

Strona 112 - Variable line spacing

FCC COMPLIANCE STATEMENTFOR AMERICAN USERSThis equipment generates and uses radio frequency energy and if not installed and usedproperly, that is, in

Strona 113

You can use this manual as a reference, a tutorial study guide, orsome combination of the two.lFor those of you who want to use the printer for one si

Strona 114 - STEPS"

ReflectionsOnce the desired image is stored in the array you can rotate andreflect it in several different directions. It’s all done with mirrors; atl

Strona 115 - Line Feeds

100 IF Z=2 THEN B=l: E=N-6: S=l110 FOR P=B TO E STEP 7*S120 PRINT "LOADING ROWS";P;"TO"; P+6*S130 LPRINT CHR$(27)"*"CHR$

Strona 116 - Reverse feed (FX-80 only)

This adjustment makes it easier to compare the distance value with thevalue of the RND function (line 40, below).Once the computer knows the distance

Strona 117

70 LPRINT CHR$(27)"3"CHR$(20);CHR$(7);80 B=N: E=7: S=-190 FOR Z=l TO 2100 IF Z=2 THEN B=l: E=N-6: S=l110 FOR P=B TO E STEP 7*S120 PRINT &quo

Strona 118 - 20 LPRINT

is nearly all of the available memory on many personal computers.You are, therefore, not able to print significantly larger figures of thistype with s

Strona 119 - Line-spacing commands

By changing the value of N to different multiples of seven, you cangenerate this pattern in different sizes. Just be prepared to let yourcomputer cook

Strona 120 - Forms Control

Chapter 14Symmetrical Graphics PatternsIn this chapter we continue to explore the generation of graphicspatterns in memory. As in the last chapter, yo

Strona 121 - LPRINT CHR$(12);

Table 14-1. Variables for SYMMETRY90 IF N>MIN THEN 70100 NEXT J: PRINTThe J loop will Repeat four times (RE = 4). It has two subloops, eachof which

Strona 122

Line 320 in the L loop stores the ones and zeros in the array. The end ofline 330 makes X alternate between zero and one.To print out the contents of

Strona 123

Pin Pattern CalculationYou will use the one-line array that you just created to generate atwo-dimensional pattern. This technique results in a signifi

Strona 124 - Paper Perforation Skip

Think of the manual as your personal guide in your exploration ofthe FX’s many features.For a preview of what your programs can produce, take a look a

Strona 125

Graphics Width SettingsThe required graphics width is C, the size of the array. If, however,C is greater than 255, the value n2 in the graphics entry

Strona 126 - Single-Sheet Adjustment

10 DIM A(480):X=1: C=020 MAX=5: MIN=l: RE=4: N=030 FOR J=l TO RE40 N=N+l50GOSUB 30060IF N<MAX THEN 4070N=N-180GOSUB 30090IF N>MIN THEN 70100 NEX

Strona 127

Figure 14-4. Symmetric pattern 1That’s enough to knock your eyes right out of their sockets! And allthat from a single one-dimensional array.Variation

Strona 128 - CHR$(27)"9"

Figure 14-5. Symmetric pattern 2Here’s another interesting variation:20 MAX=64: MIN=l: RE=l: N=1/240 N=N*270 N=N/2Figure 74-6. Symmetric pattern 3Quit

Strona 129

Also notice that, because the variable RE is set to one, this patternrepeats only once.Now’s the time to experiment with some of your own changes to t

Strona 131

Chapter 15User-Defined CharactersIf you’ve studied the program examples in this manual, you arequite adept at printing both graphics and text with the

Strona 132 - LPRINT CHR$ (

PreparationDIP switch 1-4 controls the use of the FX’s 2K RAM buffer. You canuse this RAM memory as a large text buffer to smooth printer/com-puter co

Strona 133 - FX-100

The semicolon is very important. The CHR$(27) n&” sequence expectsmore data to follow (just as Graphics Mode does). The semicolon atthe end of the

Strona 134

To be consistent with the ROM characters, we use only 7 rows. Thecharacter would normally go in the top 8 rows, but we shift all thedots down one row

Strona 136 - 16, 24, 32

Attribute byteThe attribute byte is the first of the 12 data numbers required todefine any character. At print time it controls two aspects of the way

Strona 137 - 90 NEXT J: LPRINT

mined by the data numbers as columns 0 to 10, then in ProportionalMode the minimum and maximum starting and stopping columns willbe 0 and 11. Why 11 i

Strona 138 - ,)CHR$(O)

Note that the proportional print information is used only when thecharacter is printed in Proportional Mode. Otherwise-the full range ofcolumns 0 to 1

Strona 139 - Vertical tab usage

but before you print the user-defined E, make it more visible byadding:170 LPRINT CHR$(27)"!8";190 LPRINT CHR$(27)"!@"Line 170 use

Strona 140 - Ordinary vertical tabs

RAM area is like a big blank chalk board waiting for you to fill it up.At this point, because you have only defined an E, that’s all you getfrom RAM.D

Strona 141

and make these changes:130 LPRINT CHR$(27)"&"CHR$(0)"rt";140 FOR Y=l TO 3: LPRINT CHR$(139);160 NEXT Y180 LPRINT "rst&quo

Strona 142

Let’s use this command to see how the ROM control codes can print.Add:2 LPRINT CHR$(27)"6"4 FOR X=128 TO 159: LPRINT CHR$(X);: NEXT X6 LPRIN

Strona 143 - Vertical tab channels

And add:1100 DATA 0,121,0,73,0,73,0,73,0,79,0: ’ My S1110 DATA 0,127,0,65,0,65,0,65,0,127,0: ’ MY OhSOWThe program now contains six DATA lines, but it

Strona 144

Find 8 in the table; it is in the CHR$(93) row under the Spain heading.To print the character stored in 8, use CHR$(27)“R”CHR$(7) to acti-vate the Spa

Strona 145

12345678SOFTWAREIf you find yourself defining characters in small groups, the same tech-nique can be used to store part of the CHR$(27) "&&qu

Strona 147

CHR$(27)“:“CHR$(n1)CHR$(n2)CHR$(n3)Downloads ROM characters into RAM. Allthree numbers are 0CHR$(27)“6”Enables printing of codes 128 to 159 and 255CHR

Strona 149 - Print Head

Chapter 16Combining User-Defined CharactersIn this chapter we’ll explore the technique of combining user-defined characters to make large letters and

Strona 150

Very nice. Using two characters side by side provides a larger matrixand therefore gives more flexibility in character design. But there isone problem

Strona 151 - Graphics Mode

Large Letters: Double HighLet’s stack two characters, one on top of the other, with thesechanges:10 LPRINT CHR$(27)"l"CHR$(27)"Ul"

Strona 152 - Pin Labels

71 =G12864321684211286432166421199=G231 =gFigure 16-2. Double high and wide characterIn order to define letters in groups of four, you’ll have to modi

Strona 153

Table 16-1. ASCII patternWith this in mind, add these lines:40 READ L: PRINT CHR$(L) ' Print to screen50 FOR Y=0 TO 1: FOR Z=0 TO 1: A=L+128*Y+32

Strona 154 - First Graphics Programs

characters in positions 6 and 7 of string A$, for example,MID$(A$,6,2)would be coded as A$(6,7). If your system uses thisscheme, change line 140 to:14

Strona 155

no space after the 0 and then press RETURN. The next prompt on thescreen is:ENTER A MASTER PRINT MODE NUMBERFor now, enter a 24. Remember, all codes f

Strona 156

190 ' SPACE200DATA 32210DATA 0,0,0,0,0,0,0,0,0,0,0220DATA 0,0,0,0,0,0,0,0,0,0,0230DATA 0,0,0,0,0,0,0,0,0,0,0240DATA 0,0,0,0,0,0,0,0,0,0,0310’ A32

Strona 157

Programmer’s Easy LessonBefore you start, note that we haven’t claimed that one easy lessonwill make you an FX maestro. It takes more than one lesson

Strona 158

positions. That includes Elite and Compressed Modes. For a compari-son of the three print pitches, RUN the program three more times andenter:MESSAGES,

Strona 159 - CHR$(27)“K”

Deleting line 20 ensures that the printer does not download the ROMcharacters. That makes your defined characters the only onesaround-no funny stuff o

Strona 160 - Varieties of Graphics Density

210 ' Pattern220 DATA "00012000, "01665620"230DATA "05055050","16634652"240DATA "45621663","250

Strona 161

970 DATA 8,0,8,0,127,0,0,0,0,0,0: ’ h980 DATA 8,0,8,0,127,0,8,0,8,0,8: 'i990 DATA 8,0,8,0,8,0,80,8,0,8: 'j1000 DATA 0,0,0,0,127,0,0,0,0,0,0:

Strona 162 - Density Varieties

Chapter 17Business ApplicationsIn this chapter we turn our attention to business applications. Firstwe program a sample barchart. Then we use designs

Strona 163 - SINGLE-DENSITY GRAPHICS

Figure17-1. BarchartIn line 130 the parameters for “&” specify that our 14 user-definedcharacters will be stored at positions 94 to 107 (ASCII sym

Strona 164 - B$=CHR$(127)+CHR$(42)

Since you will need to switch two features-line feeds and Empha-sized Mode-on and off within the program, you can store their com-mands as shorter str

Strona 165

330 LPRINT H$;H$;"d";: A$="j": GOSUB 800: LPRINT "c"335 LPRINT: LPRINT340 LPRINT C$;H$;H$;H$;" JAN";H$;"

Strona 166 - QUADRUPLE-DENSITY GRAPHICS

270 FOR M=l TO 3: LPRINT H$;280 FOR P=l TO 3290 IF R>MAX(M,P) THEN LPRINT " ";ELSE LPRINTCHR$(93+P);" ";300 NEXT P: NEXT M: LP

Strona 168 - (plotter)

feed the paper through. If you use single sheets of paper, the paper-out sensor will cause a beep and stop the printing whenever thebottom edge passes

Strona 169

Since this program uses many of the routines from the BAR-CHART program above, begin by loading that program. Many of itslines need no changes, includ

Strona 170 - Second byte

7 WIDTH LPRINT 25590 LPRINT CHR$(27)"QP";100 DIM A(18): LPRINTCHR$(27)"3"CHR$(20)CHR$(27)"U1";110 LPRINT CHR$(27)":

Strona 171 - Pin Combination Patterns

499 ' *** BOX SUBROUTINE ***500 FOR K=1 TO 5: READ L$(K),M$(K),N$(K),R$(K):NEXT K510 FOR K=1 TO C: READ W(K): NEXT K520 FOR L=1 TO 5: IF L=4 THEN

Strona 172

1100DATA 0,121,0,73,0,73,0,73,0,79,0: ‘m - S1110DATA 0,127,0,65,0,65,0,65,0,127,0:'n - 01120DATA 0,63,64,8,64,8,64,28,64,32,0:'o- F1130DATA

Strona 173

You may prefer to work out what each line does on your own-three cheers if you do. But if you want a little guidance, here is a briefprogram overview,

Strona 174

Deciphering the box routine in lines 500 through 660 is left as anexercise for you. The following hints will get you started.The subroutine at 500 is

Strona 175

INDEXNote: Refer to Table of Contents and List of Figures for specificprograms. Also, the chapter summaries are not indexed.AAccessories, 16American S

Strona 176 - Design Your Own Graphics

CCable, 16, 35CANcel, 46Caret symbol. See Exponent characterCarriage return, 23, 41CHR$( 13) produces it.See also Line feedCentronics. See InterfaceCh

Strona 177 - STRATA Program

Control codes, 41-42Hex dumping and. See Hex dumpingfor FX compared with those for MX and RX, 287-294listed by function, 283-286listed by number, 271-

Strona 178 - READ P,R: FOR J=l TO -N:

ESCape = CHR$(27), 42-43format for commands, iv-v, 46-47, 57-58listed by function, 283-286listed by number, 271-281See also specific modes or function

Strona 180 - Three-Dimensional Program

ESCape “I1”. Enables printing of control codes O-31. See User-definedcharacters.ESCape “J”CHR$(n). Produces an immediate one-time line feed ofn/216-in

Strona 181

FFiring of pins. See pinsFE See Form feedForeign language characters. See International character setForm feed, 103-105CHR$(12) produces one.button, 3

Strona 182

Nine-Pin, 152-154ESCape “A”CHR$(d)CHR$(n1)CHR$(n2) enters Nine-Pin GraphicsMode.reassigning code, 150-152ESCape “?s”CHR$(n reassigns an alternate code

Strona 183

Line feed, 98-101CHR!§(lO) produces it.button, 35-36computer interface and. See InterfaceDIP switch for, 23one-time immediate, 99-100ESCape “J”CHR$(n)

Strona 184

NNEC, 151Nine-pin graphics. See Graphics ModeNoise reduction. See Half-Speed Mode0Offsets, 82-83ON LINE light and button, 35Overstrikes, 81-82PPage, t

Strona 185

Print headand dot graphics, 132-133and dot matrix printing, 50life of, 16,324, 328replacement, 324-325Print modes. See ModesPrint pitch summary table,

Strona 186 - Figure 12-7. FX-100 figure

SSchematic, 331Script Mode, 71-72ESCape “SO” turns Superscript Mode on. ESCape “S1” turns SubscriptMode on. ESCape “T” turns either Script Mode off.Se

Strona 187 - CHR$(32)CHR$(64);

Temperature, 329Testautomatic, 35-36for seven-bit system, 309Top of form, 31-33, 103-104CHR$(12) sends the paper to top of form. ESCape “C” resets it

Strona 188

WWidthof characters, 256-270statements, 313-314Word processing, 36, 321-322ZZero, slashed, 23251

Strona 190 - Plotter Graphics

Ticket Program DescriptionThis is not a complete explanation of the program. That’s what therest of the manual is for. But this brief, line-by-line de

Strona 191

FCC COMPLIANCE STATEMENTFOR AMERICAN USERSThis equipment generates and uses radio frequency energy and if not installed and usedproperly, that is, in

Strona 192

PrefaceThe User’s Manual for the FX Series Printers consists of two vol-umes: Tutorial and Reference. This volume is the Reference, whichcontains the

Strona 194 - Circle Plotting

FX Series Printer User’s ManualVolume 2 ContentsPreface ...iiiList of Figures . . . . . . . . . . . . . . . . . . .

Strona 195

FTroubleshooting...301Problem/Solution Summary...301Beeper Error Warnings...304Hex

Strona 196

KParallel Interface...Data Transfer Sequence...Interface timing...Signal re

Strona 197

Appendix AASCII Codes and Character FontsThis appendix provides information about the way the ASCIIcodes are employed on the FX printers and about the

Strona 198

ASCII Code summaryDec Hex CHR000none101none202none303none404none505none606none707BEL808BS9 09HT10OALF11OBVT12OCFF13ODCR14OESO15OFSI16 10none1711DC1181

Strona 199

International characters summaryASCII locations 0 to 31 and 128 to 159 store the international char-acters that are needed for sets other than the one

Strona 200

ASCII Character MatrixesAs in the summaries above, this section follows the ASCII codearrangement, but this time we show the codes only as they are as

Strona 201

110Prints the outside border, then the top of the inside border (whichwas defined as the “:” character).120 Prints another line of borders.130 Prints

Strona 202

HexCharacterWidthDecHexCharacterWidthDec12OC13OD14OE221623172418251915OF16812121210111718271B281C192010111213141212121110111212122115261A12291D12257

Strona 203

Dec Hex Character Width Dec Hex Character Width3031323334353637381E1F20212223242526121212581212121239 2740 284129422A432B442C452D46 2E472F566121271261

Strona 204

Dec48Character4950515253545556Hex303132333435363738Character2345678Width Dec Hex1257398583A1212121212593B603C613D623E633F121264654041Width126610121012

Strona 206 - Symmetrical Graphics Patterns

DecHex8454Character855586 56875788 5889599091925A5B5CWidthDecHex12935DCharacter12945E12955F12966010976112986210109910010163a6465Widtha1212512111111122

Strona 207

Dec Hex Character102 66f103 67g104 68h105 69i106 6A107 6B108 6C109 6D110 6EjopqrstuvwklmnWidthDecHex101116F11112701111371a114 729115 731011674a1177512

Strona 208

Dec Hex120 78121 79122 7A123 7B124 7C125 7D126 7E127 7F128 80CharacterWidthDecHex101298112109591212111308213183132841338513486135871368813789Character

Strona 209 - Pin Pattern Calculation

Dec Hex Character WidthDec Hex Character Width1388A1398B1408C1418D142 8E1438F144901459114692121212121111121112147931489414995150961519715298153991549

Strona 210 - Pattern Printout

Dec Hex1569CCharacter1579D1589E1599F160A0161Al162A2163A3164A4WidthDecHex12165A51211121210101211166A6167A7168A8169A9170AA171AB172AC173ADCharacterWidth1

Strona 211 - SYMMETRY

Dec174175176177178179180181182Hex CharacterAEAFB0BlB2B3B4B5B6Width7101291212121211DecHex183B7Character184B8185B9186BA187BB188BC189BD190191BEBFWidth121

Strona 212 - Variations

280 Returns the printer to its defaults.300-330 Provides data for the FX letters as user-defined characters0-3.350-410 Provides data for the ticket bo

Strona 214

Dec Hex Character Width210D2R211D3S212D4T213D5U214D6 V215D7W216D8X217D9Y218DA Z121212121112121212Dec219220221222223224225226227HexDBDCDDDEDFE0E1E2E3Ch

Strona 215

Dec HexCharacter228 E4229 E5230 E6231 E7232 E8233 E9234 EA235 EB236 ECWidthDecHex12237ED11121111238EE239EF910119240FO241F1242 F2243 F3244 F4245 F5Char

Strona 216 - User-Defined Characters

Dec Hex Character WidthDec Hex Character Width246 F6247 F7248F8249F9250FA251FB252FC253FD254 FE10121211121091012255 FF12270

Strona 217 - Character Definition

Appendix BControl Codes in Numeric OrderYou activate an FX control code by using LPRINT CHR$(n), wheren is the number in the decimal column below. Whe

Strona 218

ESC Dec Hex Symbol Function- 11 0B VT-12 0C FF-13 0D CR-14 0E SO- 15 0F SI-1711DC1-1812DC2-19 13DC3-2014DC4-2418CAN-271B ESCVertical tab. Empties the

Strona 219 - ' My E

ESC Dec Hex Symbol FunctionESC 33 21 !Master Print Mode Select (Master Select).Selects 16 unique print mode combinations.Format:CHR$(27)” ! “CHR$(n)wh

Strona 220 - Attribute byte

ESC Dec Hex Symbol FunctionESC 47 2F /ESC4830 0ESC49311ESC 50 32 2Selects a vertical tab channel.Format:CHR$(27)“/“CHR$(n)where n= 0 - 7.Sets linespac

Strona 221

ESC Dec Hex Symbol FunctionESC 61 3D =ESC 62 3E >ESC 63 3F ?ESC64 40@ESC6541AESC6642BESC 67 43 CESC 67 43 CSets the eighth bit to 0 (limits the ran

Strona 222

ESC Dec Hex Symbol FunctionESC 68 44 DResets the current tabs and sets up to 32horizontal tabs in the current pitch. Tabs mayrange up to the maximum w

Strona 223

PrefaceThe User’s Manual for the FX Series printers consists of two vol-umes: Tutorial and Reference. This volume, the Tutorial, is arrangedin the fol

Strona 224 - Defining More Characters

Chapter 1The FX PrintersOnce you’ve unpacked your new printer, the first thing you shoulddo is make sure you have all of the parts. With the FX-80 or

Strona 225 - Redefining Control Codes

ESC Dec Hex Symbol FunctionESC 75 4B KTurns Single-Density Graphics Mode ON.Prints 480 dots per 8-inch line. Format:CHR$(27)“K”CHR$(n1)CHR$(n2);follow

Strona 226

ESC Dec Hex Symbol FunctionESC 81 51 QESC 82 52 RSets the right margin. Also cancels all textthat is in the print buffer. Format:CHR$(27)“Q”CHR$(n)whe

Strona 227

ESC Dec Hex Symbol FunctionESC 89 59 YTurns High-Speed Double-Density GraphicsMode ON; gives the same density asCHR$(27)” L”, but cannot print two adj

Strona 228 - Mode Strings

ESC Dec Hex Symbol FunctionESC 106 6A jESC 108 6C IESC 112 70 pESC 115 73 s-127 7F DELOn the FX-80 only, causes an immediatereverse line feed in an in

Strona 229 - 12345678SOFTWARE

The printer’s high-order control codes from 128 to 155 and 255 mir-ror their low-order counterparts (0 - 27 and 127). For ready reference,both sets ar

Strona 231

Appendix CControl Codes by FunctionThis Appendix shows the same control codes as Appendix B, butthis time arranged by categories before ASCII order. I

Strona 232 - Chapter 16

Print EnhancementCHR$(27)“S0”Turns Superscript Mode ON.CHR$(27)“S1”Turns Subscript Mode ON.CHR$(27)“T”Turns either Script Mode OFF.CHR$(27)"-0”Tu

Strona 233

CHR$(27)” < ”CHR$(27)” = ”CHR$(27)” > "CHR$(27)“ U0 ”CHR$(27)“Ul”CHRS(27)“i0”CHR$(27) “il”CHR$(27)“s0”CHR$(27)“sl”CHR$(127)Turns One-Line U

Strona 234 - Large Letters: Double High

Page FormatCHR$(9) or CHR$(137)Activates a horizontal tab.CHR$(1l)Activates a vertical tab.CHR$(27)" / “ CHR$(n)Selects a vertical tab channel.CH

Strona 235

Figure 1-1. The FX-80 and FX-100 printers14

Strona 236

Appendix DControl Code ComparisonThe first part of this appendix consists of a chart of the commandsused on Epson printers. It shows similarities and

Strona 238 - NEXT Z: NEXT Y: NEXT W

Epson Model DifferencesIn this discussion of software and hardware differences between theMX III, the FX and the RX, the command name (backspace, vert

Strona 239 - GAMES SEEM SAME

CHR$(15) - Compressed Mode selectionOn the MX III, prints 132 characters per 8-inch line.On the FX-80 and RX-80, prints 132 characters per 8-inch line

Strona 240 - Core Sets

Escape”/” ,“B”, and “b” - Vertical tabbingOn the FX and RX-100 only lets you set up to 16 vertical tabs andstore up to eight vertical tab channels in

Strona 241

Escape ” G” - Double-Strike Mode selectionOn the MX III, FX-100, and RX, moving in and out of Double-Strike Mode on one line produces a descent of one

Strona 242 - Line Graphics

ESCape ”Y" - High-Speed Double-Density Graphics Mode selectionOn the FX and RX, prints ESCape”L” graphics at twice the usualspeed. There is one

Strona 243

ESCape”s”- Half-speed printingOn the FX, prints at half the normal speed, which results in 80 char-acters per second.On the RX, prints at half the nor

Strona 244 - Business Applications

Appendix EDefaults and DIP SwitchesIn this Appendix we list the default settings for your printer, show-ing which settings you can change and the way

Strona 245

*2K buffer available for user-defined characters* l Paper-out sensor on*Non-slashed zero (although there’s no code for “turning on”slashed zero, you c

Strona 246

Figure 1-2. Printer parts15

Strona 247

Table E-1. DIP switch functionSwitch 1Note: Theshaded boxes show the factory settings.OFFFigure E-Z. Factory setting of the DIP switchesExamining the

Strona 248 - Statement Form

Table E-2. International DIP switch settingsSee Chapter 6 for a discussion of the international sets.Switch 1-5: selects a default print weight. When

Strona 249

Switch 2-2: controls the beeper. When it is ON, the beeper soundswhen it receives a CHR$(7) or to indicate the paper has run out. Whenit is OFF, CHR$(

Strona 251 - STATEMENT

Appendix FTroubleshootingThis appendix approaches troubleshooting from several directions.The first section uses a columnar format to match solutions

Strona 252

Changing form measurementsThe ESCape”C” command is notworking properly.The ESCape“N” skip-over-per-foration doesn’t work.TabbingVertical tabs don’t wo

Strona 253

Printer “freezes” in GraphicsMode.Can’t get a full page in width.Having trouble getting intoGraphics Mode.User-Defined CharactersThe last character is

Strona 254

Loading paperPaper goes crooked as it rollsdown.Paper crunches up.Top edge of paper sticks underthe roller.Paper-out sensorCan’t deactivate paper-out

Strona 255 - 999 REM: The End

1. A short circuit between the collector and the emitter of a head tran-sistor along with a shorted dot driver winding produces:PI, PI, PI . . . PI, P

Strona 256

Figure F-1. Best-case hex dumpMost BASICS, however, are not quite that straightforward. For exam-ple, the TRS-80 Model III prints Figure F-2:Figure F-

Strona 257

Additional Supplies and AccessoriesThe following items may be purchased separately from your Epsondealer:Printer cable or interface kit. Each computer

Strona 258

printing, either by trial and error or by using the hex dumping capabil-ity of the FX, you can start overcoming them.Because each computer system deal

Strona 259

These codes can be sent directly to the printer by POKEing them toa special memory location where they are immediately forwarded tothe printer. The fo

Strona 260

50 IF B>9 THEN B=B - 760 T=ASC(MID$(B$,P + 1, l)) - 4870 IF T>9 THEN T=T-780 POKE A,B*l6 + T90 A=A+1100 NEXT P110 POKE 16422, 187120 POKE 16423,

Strona 261

User-defined characters can’t be printed with the top 8 pins (thestandard position for most characters). Eight pins can’t be used indefining character

Strona 262

ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZSetting the eighth bit on in line 10 adds 128 to each of the number inline 20; thus it prints Ital

Strona 263 - 113-116, 118

Solutions for Specific SystemsThe next four sections illustrate dealing with interface puzzles onfour types of computers: the Apple II, the TRS-80, th

Strona 264 - ON LINE light and button, 35

code and the program will not work properly. The programs in thismanual do not use CHR$(9), but some do use its high-order version -CHR$(137) - which

Strona 265 - 38, 40, 314-315

This does allow you to print anything, but it ignores any previousWIDTH statements.If you want to print more than 80 characters per line in a graphics

Strona 266

Sometimes it may be easier to use another low-order value. Forexample:FOR X=1 TO 10IF X=9 THEN X=10When DATA numbers include 9, you can sometimes simp

Strona 268

Figure 1-3. Paper pathPrinter PreparationOnce you’ve found a good home for FX, you’ll need to do somepreparing before you can print. This section des

Strona 269

Appendix GMixing Print ModesOne of the most pleasing aspects of your FX printer is its wide vari-ety of print modes. By mixing modes as shown in Table

Strona 270

By using the character form of some of the numbers, you canshorten the command string. Table G-2 shows some convenient char-acters to be used for the

Strona 271

it stays on until turned off. When two modes that conflict are turnedon at the same time, the printer must choose which one to use.For example, suppos

Strona 273 - Volume 2 Contents

Appendix HCustomizing the FXYou can adapt your FX to fit a variety of needs. You can alter theprint capability both by hardware switches that change d

Strona 274

Keep in mind that this puts extra wear on your ribbon and slows yourprinting speed.A few word processing programs support the FX’s ProportionalMode. S

Strona 275

Appendix IPrinter MaintenanceAlwaysAlways keep your printer in a safe and clean location. Keep it awayfrom:Dust and greaseHeaters and furnaces. Safe t

Strona 276 - Appendix A

O-2 lubricant on the shafts and platen bearings, wiping off excess withcloth. Use G-2 sparingly on ribbon feed, line feed, and carriage returndrive ge

Strona 277 - ASCII Code summary

Now pull the cable from the connector block. Hold the block firmlybecause it has to stay put. Pull the print head straight up and off.To install the n

Strona 279 - ASCII Character Matrixes

Figure 1-4. Paper separatorCoversFor protection from dust and foreign objects and for quiet opera-tion, FX printers use two types of covers. When you

Strona 280 - Character

Appendix JTechnical SpecificationsPrintingPrinting method ... Impact dot matrixPrinting speed ... 160 characters per secondPaper feed sp

Strona 281

Column width:Maximum characters per lineFX-80FX-100Pica80136Pica Expanded4068Elite96163Elite Expanded4881Compressed132*233Compressed Expanded68116*137

Strona 282

Dimensions and weightFX-80FX-100Height...100 mm150 mmWidth (without paper ...420 mm594 mmfeed knob)Depth ...347 mm354 m

Strona 284

Schematic331

Strona 285

Appendix KThe Parallel InterfaceThe FX printer uses a parallel interface to communicate with thecomputer; this appendix describes it.Connector pin ass

Strona 286

Table K-1, continuedSignal ReturnSignalDirec-tionDescription13———Pulled up to + 5 volts through 3.3Kohm resistance.14—AUTO FEEDWhen this signal is LOW

Strona 287 - Dec Hex Character Width

4. Data transfer must be carried out by observing the ACKNLG orBUSY signal. (Data transfer to this printer can be carried out onlyafter receipt of the

Strona 288

Table K-2. Signal interrelationsOn-LineSLCT IN DC1/DC3ERROR BUSYACKNLGDATA ENTRYOFFHIGH/LOWDC1/DC3LOWHIGHNot generatedDisabledONHIGHDC1HIGHLOW/HIGHGen

Strona 289

INDEXNote: Refer to Table of Contents and List of Figures for specificprograms. Also, the chapter summaries are not indexed.AAccessories, 16American S

Strona 290

fitting over its post. Lower the cover. To remove the cover, move it toits full vertical position and then lift it up and a little to the left.Figure

Strona 291

CCable, 16, 35CANcel, 46Caret symbol. See Exponent characterCarriage return, 23, 41CHR$(13) produces it.See also Line feedCentronics. See InterfaceCha

Strona 292

Control codes, 41-42Hex dumping and. See Hex dumpingfor FX compared with those for MX and RX, 287-294listed by function, 283-286listed by number, 271-

Strona 293

ESCape = CHR$(27), 42-43format for commands, iv-v, 46-47, 57-58listed by function, 283-286listed by number, 271-281See also specific modes or function

Strona 294 - Appendix B

ESCape “I1”. Enables printing of control codes 0-31. See User-definedcharacters.ESCape “J” CHR$(n). Produces an immediate one-time line feed ofn/216-i

Strona 295

FFiring of pins. See pinsFF. See Form feedForeign language characters. See International character setForm feed, 103-105CHR$(12) produces one.button,

Strona 296

Nine-Pin, 152-154Escape “^“ CHR$(d)CHR$(n1)CHR$(n2) enters Nine-Pin GraphicsMode.reassigning code, 150-152Escape "?s" CHR$(n) reassigns an a

Strona 297

Line feed, 98-101CHR$(10) produces it.button, 35-36computer interface and. See InterfaceDIP switch for, 23one-time immediate, 99-100ESCape “J”CHR$(n)

Strona 298

NNEC, 151Nine-pin graphics. See Graphics ModeNoise reduction. See Half-Speed ModeOOff sets, 82-83ON LINE light and button, 35Overstrikes, 81-82PPage,

Strona 299

Print headand dot graphics, 132-133and dot matrix printing, 50life of, 16, 324, 328replacement, 324-325Print modes. See ModesPrint pitch summary table

Strona 300

SSchematic, 331Script Mode, 71-72ESCape “S0” turns Superscript Mode on. ESCape “S1” turns SubscriptMode on. ESCape “T” turns either Script Mode off.Se

Strona 301

the right side and twist until the flat sides of rod and fitting match.Push the knob straight in with a steady pressure. To remove, pullstraight out.F

Strona 302

Temperature, 329Testautomatic, 35-36for seven-bit system, 309Top of form, 31-33, 103-104CHR$(12) sends the paper to top of form. ESCape “C” resets it

Strona 303

wWidthof characters, 256-270statements, 313-314Word processing, 36, 321-322Zero, slashed, 23Z349

Strona 304

Control Codes by FunctionPrint Width CommandsCHR$(27)"M"Turns Elite Mode ON.CHR$(27)“P”Turns Elite Mode OFF.CHR$(15) [^O]Turns Compressed Mo

Strona 305

Forms Control CommandsCHR$(12) [“L]Produces a form feed.CHR$(13)Produces a carriage return.CHR$(27)“8”Turns the paper-out sensor OFF.CHR$(27)“9”Turns

Strona 306 - Control Codes by Function

CHR$(27)”%“CHR$(n1)CHR$(n2)Selects a character set: n1 selects ROM (0) or RAM (1); n2 is 0.CHR$(27)“&”CHR$(n)CHR$(c1)CHR$(c2)CHR$(A)CHR$(d1) ... C

Strona 307 - Special Printer Features

ASCII CodesDecHexDec00010120230340450560670780890910OA11OB12OC13OD14OE15OF1610171118 1219 13201421152216231724182519261A271B281C291D301E311F32 2033213

Strona 308 - CHR$(10)

Dec HexCharacteror Function174AE,175AF/176BO0177B11178B22179B33180B44181B55182B66183877184B88185B99186BA:187BB;188BC<189BD=190BE>191BF?192CO@19

Strona 309 - Dot Graphics

Figure 1-8. DIP switch vent21

Strona 310 - Control Code Comparison

These switches are set at the factory, and most of them you willnever need to touch. You may, however, want to take the time now tomatch up the switch

Strona 311

may use a version of BASIC other than Microsoft, you may need tomodify some of the programs in this manual before they will run.Appendix F offers help

Strona 312 - Epson Model Differences

Table 1-1. DIP switch functionsSwitch 1Some computer interfaces automatically send a line-feed code tothe printer at the end of each print line. Other

Strona 313

end of the cartridge into the corresponding slots in the printer frame(Figure 1-11). The cartridge should snap neatly into place.With the paper bail r

Strona 314

Figure 1-11. Ribbon insertion25

Strona 315

Figure 1-12. Printer readied for paper insertionl Be sure the printer is turned off. Lift the front protective lid andmove the print head to the middl

Strona 316

Figure 1-13. Pin feeder adjustmentvery important to keep the paper straight so that the pins on bothsides engage at the same time. If the paper does n

Strona 317

l As the paper comes up the front of the platen, watch to be sure thatit is feeding under the black edges of the pin feeders. If your paper iswrinklin

Strona 318 - Defaults and DIP Switches

Now follow these steps to load your paper into the friction feeder:l Be sure the printer is turned off, Lift the front protective lid andmove the prin

Strona 319 - DIP Switches

sides of the tractor assembly are firmly in place. Rock the front of theunit downward, pressing firmly until it locks into place.Figure 1-16. Tractor

Strona 320 - Examining the Switches

To load the paper into the unit, use this procedure:lBe sure the printer is turned off; then open the front protective lid tomove the print head to th

Strona 321

Top-of-form positionAfter you have loaded the paper, you should set it to the top ofform, which is the position of the print head when you turn the pr

Strona 322

This format allows you to shorten a program line by combining acommand and its print string. In the case of Double-Strike, for in-stance, the quoted l

Strona 323

Figure 1-19. Top of form1-21). The other end of the cable plugs into your computer. If yourcable includes grounding wires, be sure to fasten the wires

Strona 324 - Troubleshooting

Figure 1-20. Paper thickness adjustment34

Strona 325

Figure 1-21. Cable connectionControl panelWhen the control panel’s ON LINE light is on, the printer and com-puter are in direct communication and the

Strona 326

loaded because the printer’s test uses all 136 columns. Turn the printercompletely off (with the switch on the left side of the printer), pressdown th

Strona 327 - Beeper Error Warnings

Chapter 2BASIC and the PrinterWhile you read this manual, you’ll be testing your FX with pro-grams in the BASIC language. You can, of course, use anot

Strona 328 - Hex Diagnosis

Table 2-1. Several computers’ print LIST commandsIf your listing is more than a page long (or if you didn’t start thelisting at the top of a page), yo

Strona 329 - Coding Solutions

Character stringsThe character-string (or CHR$) function converts any decimalnumber from zero through 255 to a character or action. Its format isCHR$

Strona 330 - POKEing codes

Table 2-2. Several computers’ printeractivating commandsCheck your computer’s reference manual and type in the com-mands appropriate to your computer.

Strona 331

instead of an Italic A, pay close attention to the next three paragraphs.The original ASCII code was designed to use the decimal numberszero through 1

Strona 332

Now RUN it. You should hear a short beep. (If you don’t hear it,check DIP switch 2-2, using the procedure we gave in Chapter 1.)That’s the printer’s b

Strona 333

The computer ignores these remarks; they merely serve to help pro-grammers understand at a glance the way a program is working. Youmay type them in or

Strona 334 - ABCDEFGHIJKLMNOPQRSTUVWXYZ

Here are two examples of ESCape code sequences:LPRINT CHR$(27)CHR$(71)LPRINT CHR$(27)CHR$(38)CHR$(@)CHR$(l)CHR$(3)To see how such sequences work, star

Strona 335 - PRINT CHR$(9)"1" or

Change CommandsAfter you have sent commands to the printer, you will often wantto change them, either to turn off one or more modes, or to erase text.

Strona 336

Reset CodeYou could turn off the Italic Mode by turning the printer off, thenback on. Although turning the printer off resets the printer to itsdefaul

Strona 337

ITALIC CHARACTER SETBACK 'TO ROMAN WITH ITALIC OFFNotice that CHR$(53) turned Italic off and the semicolon at the end ofline 30 eliminated the bl

Strona 338

of line 10 is the number 4, and the symbol for the 53 of line 30 is thenumber 5, so enter the following:10 LPRINT CHR$(27) “4”30 LPRINT CHR$(27)"

Strona 339

See the Preface for a list of the conventions used in this manual,Appendix A for a table of the ASCII codes, and Appendixes B and Cfor tables of the c

Strona 340 - Mixing Print Modes

Chapter 3Print Pitches One of the big advantages an FX printer has over a daisy-wheelprinter or a typewriter is the ability it gives you to choose fro

Strona 341 - Mode Conflicts and Priorities

Figure 3-1 shows one each of lower- and uppercase letters. The p givesan example of the way a few lowercase letters use the bottom tworows of the matr

Strona 342 - Summary Notes:

Intermediate positionsFX characters are designed to be five or fewer columns wide. Leav-ing the sixth column blank allows for space between letters. F

Strona 343

If you look through Appendix A, you’ll notice that none of the FX’scharacters use dots in consecutive main and intermediate columns inthe same row. Th

Strona 344 - Customizing the FX

FX Series Printer User’s ManualVolume 1 ContentsPreface...Conventions Used in This Manual...List of Fi

Strona 345 - Quiet Printing

JFigure 3-5. Pica and Elite letters30 LPRINT CHR$(27)"P";40 LPRINTPICA PITCH THE NORMAL PRINTWIDTH"When you RUN it, you should get:Fig

Strona 346 - Printer Maintenance

NEW20 LPRINT CHR$(15)"COMPRESSED MODE IS SET WITHCHR$(15)"30 LPRINT "IT WILL STAY ON UNTIL YOU CANCEL IT"40 LPRINT CHR$(l8)"P

Strona 347 - Changing the Print Head

DIP switch 1-1 on. This adjustment will make the printer reset toCompressed Mode, after which you can switch to other modes asneeded. You could get Pi

Strona 348

Don’t take this lesson lightly-it is a good example of how printmodes interact on FX printers.Pitch Mode CombinationsThe previous three modes can’t be

Strona 349

40 LPRINT "CONTINUOUSLY WITH ESCAPE W"50 LPRINT CHR$(27)"W"CHR$(0)The printer extends the dot matrix by spreading the dots horizon

Strona 350 - Technical Specifications

CHR$(l) can use an alternative form for this pair. For continuousExpanded, and for the other modes which use CHR$(l) and CHR$(0)as a toggle switch, yo

Strona 351

YOU CAN MIX: PICA EXPANDED,COMPRESSED EXPANDED, AND ELITE EXPANDEDCHARACTERS ON THE SAME LINE.By deleting the semicolon at the end of line 10 and addi

Strona 352 - Interface

Table 3-1. Summary of print pitchesHere is the DIP switch that we mentioned in this chapter:Switch 1-1Allows you to change the pitch default fromPica

Strona 353

Chapter 4Print QualityIn the last chapter you learned how to change the width of theprinted characters to achieve six different print pitches. The FX

Strona 354 - Schematic

The way Double-Strike gets this result is rather clever: the FX printseach character in the regular fashion until it reaches either the end ofthe line

Strona 355 - The Parallel Interface

2BASIC and the Printer...37BASIC Communications...38Character strings...39BASIC pr

Strona 356 - Table K-1, continued

DOUBLE-STRIKE PRINT IS DARKER THAN SINGLE-STRIKEEMPHASIZED ADDS A TOUCH OF CLASSThat’s right, Emphasized is very similar to Expanded print, except th

Strona 357 - Data Transfer Sequence

Emphasized Mode (line 30) stays on until you shut it off. Double-Strike comes on (line 40) before Emphasized is turned off. You see theresult above.Pr

Strona 358 - DATA ENTRY

Since all Proportional characters are Emphasized, it makes sensethat Proportional characters, like Emphasized, can only be printed inPica pitch, not E

Strona 359 - 38,40-42

the printer will prove that Double-Strike has been turned on all thetime.Add lines 30 and 50, and make some changes to line 70:30 LPRINT CHR$(27)"

Strona 360

sized, strips excess space from between characters. Double-Strike canbe combined with all other modes except Proportional, whereasEmphasized, and thus

Strona 362

Chapter 5Dress-Up Modes and Master SelectIn the first three subsections of this chapter, we cover four moreprint modes: Underline; two Script Modes-Su

Strona 363

You can turn Underline Mode off with:CHR$(27)"-"CHR$(0) orCHR$(27)"-0"Enter and RUN this program to see what FX underlining looks

Strona 364

The FX-80, on the other hand, can perform a reverse line feed, andit uses this capability to place the underline one row lower than anytext dot. To do

Strona 365

Notice that ESCape “T” turns either kind of Script Mode off and alsothat both versions of Script Mode are automatically printed inDouble-Strike. Since

Strona 366 - 1/8";

6Special Printing Features...81Backspace...81Overstrikes...81Offse

Strona 367

Whether your computer system is one of these or not, with ESCape“4” you can print Italic characters. Prove it by adding these lines toyour program:10

Strona 368 - 16, 324, 328

Figure 5-1. Master Select ProgramIf you want to see this in underlined Italic add the following line:10 LPRINT CHR$(27)"-1"CHR$(27)"SO&

Strona 370

Double-Strike, use LPRINT CHR!$(27)“!T”. N/A indicates that thetwo modes cannot be combined.Table 5-1. Master Select Quick Reference ChartWEIGHTPITCHS

Strona 371 - 36, 321-322

Figure 5-3. Dress-up combinationsMaster Select base and then add the sequence(s) that you want toembellish it. Here is a program that does just that,

Strona 373

Here are the commands that we introduced in this chapter.CHR$(27)“-1”Turns Underline Mode ONCHR$(27)“-0”Turns Underline OFFCHR$(27)“Sl”Turns Subscript

Strona 375 - ASCII Codes

Chapter 6Special Printing FeaturesIn this chapter you’ll discover several new features that will enhanceyour control over the printer. Backspacing, fo

Strona 376 - Switch 1

use the same technique to produce the plus-or-minus symbol:10 LPRINT CHR$(27)"S0+"CHR$(8); fPlus/minus20 LPRINT CHR$(27)"S1-"30 L

Komentarze do niniejszej Instrukcji

Brak uwag