While every precaution has been taken in the preparation of this book, Epson America, Inc. assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained herein.
Epson printers so popu- lar. P-80 Features Because the P-80 is lightweight and portable, it is ideal to take along with you anywhere, yet it still functions as a full-sized printer. Here are some of the features:...
Page 9
Appendix A lists the control codes and the pos- sible terms for each code. Appendix A also shows the character sets available on the P-80. Appendix B summarizes the control codes and Appendix C lists the codes by function. Appendix D gives informa- tion on how to use your P-80 with the Geneva Appendix E provides the specifications for the P-80.
Figure l-2 shows how the printer will look when you finish preparing it for operation. Note: Do not turn on the P-80 until you complete the printer prepara- tion. Chapter 1...
Covers The front and back covers are designed to keep your P-80 free from dust. It is a good idea to keep them closed use. The front cover protects the print mechanism and reduces the noise level when the printer is on. The serrated edge serves as a convenient tear-off point.
Note: Before you continue, take a moment to look inside your printer. You will see a gray bar with a line and the word Remove the thin transparent strip covering this bar. Paper guide As mentioned above, when the back cover is vertical, it serves as a paper guide.
If you happen to lift the cover off completely, replace it by positioning the hinge at each end of the cover over the hinge posts at the front of the printer. The hinges allow you to easily open and close the cover without removing it.
The manual-feed knob is used to advance the paper manually. It is located on the right side of your printer. When your printer is packed, the knob is pushed in flush with the right side. To bring it out, push the center of the knob in and release it.
Note: Make certain the printer is turned OFF when you change DIP switch settings. The up and it will ignore any changes made with the power on (until it is turned off and back on). Switch 1 The functions of the four switches that make up switch 1-1.
Switch 2 The P-80 uses the RS-232C serial interface to communicate data from your computer to the printer. The switches which make up switch 2 are used to set up the proper serial communications for the RS-232C serial port.
Switch No. Data bit length SW-2-1 Party check Parity Stop bit The factory-set baud rate for the P-80 is 4800. If your computer requires another baud rate, the following chart gives the appropriate DIP switch settings. Table DIP2-5 DIP2-6 Connecting the P-80 to Your Computer Your printer preparation is almost complete.
As mentioned above, the P-80 uses the RS-232C serial interface (but the connector is a 6-pin DIN type). Figure 1-9 shows where you con- nect the cable to the printer.
In this chapter you’ll learn how to use the controls and indicators printer to operate it correctly. You’ll also learn how to recharge the battery and maintain your P-80 to keep it printing smoothly for a long time. Switches and Indicators...
The light glows red when the printer is on-line, and when the light is off, the printer is off-line. If you turn the power ON without any paper in the printer, the ON- LINE light will not glow, even if you press the ON-LINE switch.
Paper-out sensor The P-80 is equipped with a device that warns you when the printer is at the end of the paper. When your paper reaches the end, the ON LINE light goes off and printing stops.
Page 24
Once you unplug the adapter, let the printer run on its own until it needs recharging. Recharging the battery more often than needed can weaken it.
Battery Replacement Your P-80 uses a nickel cadmium battery. If the red light keeps flash- ing after the battery has been charged, the battery has come to the end of its life and must be replaced. Nickel cadmium batteries are available through your Epson dealer.
Figure 2-5. Lifting the cover 4. With the battery holder cover open, locate the battery connector near the POWER switch. It is marked CN7. Unplug the battery connector noting the direction of insertion. Remove the battery with a screwdriver as shown in Figure 2-6.
Page 27
7. Push the battery holder cover back into place, at the back of the printer, seeing that the tabs on each side are inside the cover, and the switches and indicator light fit properly in their slots (Figure 2-7).
Maintenance As with any mechanical device, the best maintenace of your P-80 is preventive maintenance. Here are some general guidelines to follow: 1. Keep your printer in a safe, clean location away from extreme tem- peratures. 2. Clean particles and dust from the printer with a soft cloth or brush.
Paper Types The type of paper to use with your P-80 is thermal paper. It will give you the best quality print. Since thermal paper is heat-sensitive, you do not need to use the ribbon cassette.
(Figure 3-l). 2. Adjust the right holder to the width of the paper (unless your paper is less than 5½ inches wide). 3. Make sure the paper is straight and placed in the printer as far as it can go.
Figure 3-1. Loading the paper 4. Turn the manual-feed knob clockwise until the paper feeds through to the front as shown in Figure 3-1. 5. Put the power switch in the ON position if you have not done so already. You are now ready to print.
FREE position. The P-80 Self-Test It’s time to see how your P-80 operates. The in program that prints all the standard characters. It provides an opportunity to test the ribbon and the paper installation without hav- ing to request a printout from your computer.
This chapter explains how a computer uses control codes to send instructions to your printer. Specifically, you’ll learn how the control codes work with the P-80. (Appendix A shows a complete listing of all the P-80 control codes.) If you are going to use your printer with commercial software pack- ages, it is not necessary for you to read this chapter.
For instance, 65 repre- sents the capital letter “A”, while 90 represents the capital letter “Z.” On the P-80, the graphics character set is stored at codes 128 through 159. Other ASCII numbers control computer and printer functions.
So many features have been added to printers that even 256 ASCII codes are inadequate if only single-code CHR$ instructions used. Because of this, the logic of the P-80 has been designed to under- stand special sequences of control codes, the ESCape code sequences.
Different computer systems access the printer in different ways. For example, most computers that use Microsoft BASIC send PRINT or LIST commands to the printer by adding a leading L to a screen com- mand: LPRINT, LLIST. Your computer may not use these commands.
Page 37
CHARACTER" THIS PROGRAM USES THE UNDERLINE CHARACTER The printer’s underline mode, used in the example on the previous page, provides you with an idea of how a programming language can be used. There are many tutorial books available if you would like to...
Combining Print Modes One of the most pleasing aspects of your P-80 printer is its variety of print modes that can be combined to make different typestyles. You access these print modes through programming languages such as BASIC. You can also access them through your word processing pro- gram, if your program allows you to insert print commands in the text (for example, Portable WordStar’“).
Figure 5-1. Main columns and intermediate positions Although each P-80 character is designed to be five or fewer col- umns wide, dots can also be placed midway between umn. This means that the dot pattern is printed twice, shifted one half dot to the right.
8½-inch page. In Figure 5-3, you can see the difference in the two pitches. Pica is the default, the pitch in effect when the printer is turned on. P i c a C o m p r e s s e d Figure 5-3.
Roman characters. Any computer system can select Italic mode without software adjustments. The P-80 has a built-in Underline mode making it easy for you to underline anything. You can underline characters or blank spaces as demonstrated in Chapter 4.
For example, suppose you activate both Emphasized and Com- pressed. Since these modes cannot be combined, the printer must make a choice. In this case, the printer is assigned higher priority (see Table 5-l).
Page 43
When two modes conflict, the one of lesser priority is masked (not cancelled). For example, Compressed and Emphasized cannot be printed at the same time. When both are active, printing is in Emphasized. When Emphasized is cancelled, printing is in Com- pressed.
Check your computer’s documentation to see if it contains this feature. Graphics Characters The P-80 contains a set of special graphics characters which are the same graphics characters available on the Geneva graphics characters are accessed with ASCII codes 128 through 159. If your computer cannot access codes greater than 127, you will not be able to use the graphics characters.
80 FOR X=150 TO 159 90 LPRINT CHR$(X)" "; 100 NEXT X: LPRINT 110 LPRINT CHR$(27)"@" Remember that you can print these characters in different pitches and weights. For example, if you want to see them in Pica, delete line 10 from your program to produce the result below.
If you plan carefully where you want the dots to appear and use your computer to give the printer the proper instructions, your P-80 will generate nearly any pattern or figure you wish.
Each time the print head makes a horizontal pass, it prints a pattern of dots. To print figures taller than 7 or 8 dots, the print head must make more than one pass. Each pass of the print head contains one piece of total pattern, which can be as tall or short as you desire.
Page 48
Labelling Elements Once you put the printer into Graphics mode, your next step is to tell the print head which elements to fire in each column. You do this by sending numbers via the CHR$ function. Each number that you send represents a unique combination of dots.
Page 49
Figure Labelling elements 6-1. Decimal sum of the desired pin pattern Figure 6-2. Element combinations...
The place values in a binary number are powers of two. Figure shows how you use a decimal sum—74—to fire a particular pattern. If you try adding several numbers together, you’ll see that with this sys- tem you get no duplicates. The number (since 2 + = 6) and there is no other way to get of two.
Page 51
The width of one space invader in this program is 12-dot positions (plus one blank space). This means data to describe a single invader. We will use a series of 20 invaders for this program. This gives you a total of 260 data.
If your printout does not look like this one, be sure you are entering the correct values for n data is sent to the printer than it was told to expect, it will interpret values as character codes, Graphics Programming Tips The information in this section will provide you with a few ele- ments to keep in mind when programming in graphics.
Semicolons and command placement After the graphics command is issued, every number sent to the printer is interpreted by the P-80 as a dot pattern and is printed on the paper. Therefore, you must be careful where you put the graphics command in your program, and you must not put another command between the graphics command and the graphics data.
Page 54
CHR$(74), 13 and 10 are sent each time the loop is executed. After the P-80 has received all the numbers that are reserved by the graphics command-50 in this case-it leaves the Graphics mode and resumes interpreting numbers in the normal way. Because the incor-...
Page 55
Do not put any other commands between the graphics command and its data. We hope this example helps you identify errors if one of your own programs gives you unexpected results.
ASCII Codes and Character Sets This appendix provides information about the ASCII codes used on the P-80 printer. The first section shows the available codes between 0 and 32 with their decimal and hexadecimal numbers, abbreviations, and the control keys associated with each code. The first section also displays, in ASCII order, the decimal and hexadecimal numbers and a printout of each character in the USA Roman font.
Page 57
Decimal Decimal Hexadecimal Character Abbreviation Hexadecimal <DC4> <ESC> Decimal Control key Control-T Control-) <SP> Hexadecimal Character...
Control Code Summary This appendix gives a brief summary of the P-80 control codes. You cause a control code to be sent to an output device by using another command. The most common command for sending a code to the screen is PRINT and to the printer is LPRINT.
Page 61
ESC Dec Hex Symbol Function ESC 48 ESC 50 ESC 51 Line feed. Empties the printer buffer, performs a line feed at the current line spacing, and resets the buffer character count to 0. Form feed. Empties the printer buffer, then advances the paper to the next top of form.
Page 62
ESC 72 48 H ESC 75 4B K Turns Italic mode ON. Turns Italic mode OFF Reset Code, which resets the printer to its power-up state, including resetting top of form. Clears all text and control codes from the print buffer.
Page 63
ESC Dec Hex Symbol Function ESC 76 4C L ESC 82 52 R ESC 87 57 W Turns Double-Density Graphics mode ON. Prints 960 dots per 8-inch line. Format: CHR$(27)”L”CHR$(n followed by n data numbers, where n = total number of dot columns, = n MOD 256, = INT (n/256).
Control Codes by Function This appendix shows the same control codes as Appendix B; they are arranged by categories and by ASCII order within the categories. Character Width (Pitch) CHR$(5) CHR$(18) CHR$(14) CHR$(20) CHR$(27)“W0” CHR$(27)"W1” Character Weight CHR$S(27)“E” CHR$(27)“F” CHR$(27)“G” CHR$(27)“H”...
Mode and Character-Set Selection CHR$(27)“4” CHR$(27)“5” CHR$(27)"@” CHR$(27)“R” CHR$(n) Line Spacing CHR$(27)“0” CHR$(27)“2” CHR$(27)“A”CHR$(n) CHR$(27)“3”CHR$(n) Forms Control CHR$(9) or CHR$(137) CHR$(12) CHR$(13) CHR$(27)“C”CHR$(0)CHR$(n) CHR$(27)“C”CHR$(n) Dot Graphics CHR$(27)“K”CHR$(n CHR$(27)“L”CHR$(n Turns Italic Mode ON. Turns Italic Mode OFF. Reset Code. Selects an international character set. Sets line spacing to l/S-inch.
To print the desired results from some of these programs such as WordStar, some modifications may be necessary. For example, the P-80 stops printing when no paper is in contact with the paper-out sensor (a reed switch located on the paper guide).
If a particular function exists on WordStar, but not on the P-80, the printer will ignore the command to execute this function. For exam- ple, if you want to print in Elite, the P-80 will ignore this command since it does not have this capability. Before using print commands in your software applications, check to see that they are available on the P-80 by consulting Appendix C in this manual.
Page 68
Figure D-l. Connecting the Geneva to the P-80 Be sure you have properly connected your printer and it is ON and on-line before you begin to print. If the P-80 won’t respond to any of the computer’s print commands, hold down on the Geneva.
Printing Method Printing Direction Paper feed speed Character Sets Line Spacing Appendix E Specifications of the P-80 Thermal transfer Unidirectional (left to right) 2 lines per second (at 1/6 inch/line) 96 Roman characters 96 Italic characters 32 Graphics characters 8 International character sets...
Expanded italic Condensed Italic Condensed Expanded characters per line CPL= CPI = characters per inch CPS = characters per second Paper Paper types Printer Dimensions Weight Power required Characters Table E-1 Number Character Columns pitch 17 1/7 8 4/7 17 1/7 8 4/7 Single-sheet or roll paper, up to 8.5 inches...
Environment Ribbon Ribbon life expectancy 40,OOO characters (approximately 20 pages Printer MCBF Print head life Buffer memory Interface The P-80 has an RS-232C serial interface Specifications Bit rate Synchronization Handshaking Logic Levels Data Format Interface Connector Plug Printing capability with fully charged batter- ies: 60,000 characters (approximately 30 pages on 8½...
Page 73
39, A-3 codes and international characters A-3 codes and special characters A-4 codes listed for all characters A-2 -A-4 codes on the P-80 28 Automatic line feed 11 Baud rate 12 Back cover 5 BASIC 30-31, 33, 39, 42,...
Maintenance 22 Manual-feed knob 9, 25-26 Metal paper stand 6 Modes, combining 33, 35-38 priorities 36 summary, table of 37 specific modes by name also Off line 16 ON LINE light 16 ON LINE switch 16-18 OPEN 5 Orange tab 7 Paper coarse 24 loading 24...
E-3 Print modes 33, 36 See also specific print mode Print typestyles D-2 Print width. See Characters, specifications of Printer parts 3-4 Printer preparation 3 Priorities. See Modes, priorities Reset code B-3 Ribbon cassette 7-9, 16, 23 i n s t a l l a t i o n 7...
Page 78
Technical specifications E-l-E-4 characters E-2 interface E-2-E-4 paper E-2 printer E-2-E-3 printing E-I Temperature, of printer 22, E-3 Test. See Self-test Typestyles chart D-2 Underline mode 30, 36, 38, B-2, C-l Weight, of printer E-2 Width See Characters, specifications of...
This warranty does not apply if the Epson label or logo, or the rating label or serial number, has been removed from your Epson product, or if, in the sole opinion of Epson, your Epson product has...