EasyManua.ls Logo

Epson FX Series User Manual

Epson FX Series
376 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #294 background imageLoading...
Page #294 background image
Appendix B
Control Codes in Numeric Order
You activate an FX control code by using LPRINT CHR$(n), where
n is the number in the decimal column below. When the ESC column
contains a dash, you use only CHR$(n) but when ESC is written in this
ESC column, you must precede the CHR$(n) with CHR$(27). With
this ESCape sequence you may use a shortened form, the ESCape
code followed by the character in the symbol column in quotation
marks, as shown in the example below, the command that turns
Emphasized ON:
LPRINT CHR$(27) “E” .
Abbreviations: cpi = characters per inch
cps = characters per second
ESC Dec Hex Symbol Function
0 00 NUL
Terminates horizontal and vertical tab setting.
7 07 BEL
Sounds beeper.
a 08 BS
Backspace. Empties the printer buffer, then
moves the print head left
1
space in the
current pitch.
9 09 HT
Horizontal tab. Empties the printer buffer,
then moves the print head to the next tab
stop.
10 0A LF
Line feed. Empties the printer buffer, performs
a line feed at the current line spacing, and
resets the buffer character count to 0.
271

Table of Contents

Other manuals for Epson FX Series

Question and Answer IconNeed help?

Do you have a question about the Epson FX Series and is the answer not in the manual?

Epson FX Series Specifications

General IconGeneral
ConnectivityParallel
Paper HandlingFriction feed, Tractor feed
EmulationEpson ESC/P
Noise Level55 dB(A)
Print MethodImpact dot matrix

Summary

Introduction

FX Features

Overview of the FX printers' power-packed assortment of features, including print modes, Master Select, and graphics capability.

Inside the Printer

Details on the FX printers' internal memory (ROM and RAM) and their functions, including buffer capabilities.

Inside This Manual

Guidance on how to use the manual, outlining different approaches for users based on their needs and experience levels.

Chapter 1: The FX Printers

Additional Supplies and Accessories

Lists items that can be purchased separately from an Epson dealer, such as printer cables, paper, and ribbon cartridges.

Printer Location

Considerations for choosing a suitable location for the printer, including cable length, electrical outlets, and paper flow.

Printer Preparation

Steps for preparing the printer, including installing parts, checking internal switches, and inserting the ribbon cartridge.

Paper Loading

Instructions on how to load paper using either continuous-feed or single-sheet methods, with specific details for FX-80 and FX-100.

Chapter 2: BASIC and the Printer

BASIC Communications

Discusses the challenges of controlling computer-printer communication due to non-standard coding schemes.

Character strings

Explains the CHR$ function for converting decimal numbers to characters or actions and sending them to the printer.

BASIC print commands

Covers how to send non-standard codes to the printer and the program commands used to activate the printer.

Control codes

Introduces control codes and their function, including ESCape sequences for special printer features.

Change Commands

Explains how to change printer modes and erase text using defaults and the printer buffer.

Reset Code

Details the ESCape CHR$(64) Reset Code for returning printer modes to their defaults.

Mode cancelling codes

Specific codes to turn off individual printer modes without affecting others, like ESCape CHR$(53) for Italic Mode.

DELete and CANcel

Codes used to erase text from the print buffer without affecting print modes.

Alternate Formats for ESCape Sequences

Techniques for shortening ESCape code sequences using ASCII characters or character strings.

Summary

Recap of using CHR$ and ESCape codes for printer control and mode activation/deactivation.

Chapter 3: Print Pitches

Dot-Matrix Printing

Explanation of dot-matrix printing technique, character storage in ROM, and the six by nine dot matrix grid.

Main columns

Details on the print head construction, vertical pins, and sideways movement for printing character columns.

Intermediate positions

Explanation of how FX printers use intermediate positions to enhance character detail, creating an 11-dot wide matrix.

Modes for Pitches

Discussion of different character widths (pitches) like Pica and Elite, and how they affect line capacity.

Pica and Elite Modes

Details on Pica (10 cpi) and Elite (12 cpi) modes, their character limits per line, and how Elite compresses spaces.

Compressed Mode

Introduction to Compressed Mode (17.16 cpi), its narrowest character pitch, and its usefulness for spreadsheets.

Mode priorities

Explanation of how conflicting print modes are handled, with Elite having the highest priority among Pica, Elite, and Compressed.

Pitch Mode Combinations

Discusses combining print modes, such as Expanded Mode, with other pitches to create new styles.

ExpandedMode

Describes Expanded Mode doubling character width and combining with pitches to create six available print pitches.

Multiple print pitches on one line

Demonstrates how to mix print pitches within a single line for emphasis.

Summary

Recap of dot matrix printing, pitches, and commands for modes like Pica, Compressed, and Expanded.

Chapter 4: Print Quality

Bold Modes

Explains modes like Double-Strike, Emphasized, and Proportional that produce darker characters by overlapping dots.

Double-Strike Mode

Details how Double-Strike Mode prints each line twice for darker characters and its effect on print quality vs. speed.

Emphasized Mode

Describes Emphasized print (ESCape “E”) that slows print head for overlapping dots, increasing boldness.

Proportional Mode

Introduces Proportional Mode, printing characters with variable spacing based on their natural width.

Mixing Modes

Discusses how different print modes interact, including conflicts and priorities, and how Emphasized combines well with others.

Summary

Recap of Double-Strike, Emphasized, and Proportional modes for bold characters and their combinations.

Chapter 5: Dress-Up Modes and Master Select

Four Modes

Introduces four print modes: Underline, Superscript, Subscript, and Italic, adding unique touches to printouts.

Underline Mode

Explains the built-in Underline Mode, making underlining easy by toggling control codes.

Script Modes: Super and Sub

Describes Script characters that squeeze characters vertically, allowing for Superscripts and Subscripts.

Italic Mode

Introduces Italic characters with a different typeface, accessible via ASCII range and ESCape codes.

More Mode Combinations

Explores the numerous print combinations achievable by mixing modes and introduces the Master Select feature.

Master Select

Details the Master Select feature for quickly selecting 16 popular mode combinations using ESCape code sequences.

Summary

Summarizes the use of Script, Underline, and Italic modes with Master Select for creating 128 print styles.

Chapter 6: Special Printing Features

Backspace

Explains the backspace function (CHR$(8)) for making overstrikes and printing characters with offsets.

Overstrikes

Provides examples of using backspace for single-character overstrikes to create mathematical symbols.

Unidirectional Mode

Introduces Unidirectional Mode to prevent misalignment of vertical columns, especially in Elite or Compressed Mode.

International Characters

Explains how to access international characters and sets using ESCape “R” and DIP switches.

Special Speeds

Discusses controlling printing speed, including Half-Speed Mode and Immediate-Print Mode for FX-80.

Half-Speed Mode

Details Half-Speed Mode (CHR$(27)“s1”) printing at 80 cps for quieter operation.

Immediate-Print Mode (FX-80 only)

Explains Immediate-Print Mode on FX-80 for character-by-character printing, useful for telecommunications.

Summary

Recaps Backspace Mode, international character sets, Half Speed, and Immediate Print Mode.

Chapter 7: Line Spacing and Line Feeds

Line Spacing

Explains how to change paper movement distance (line feed) and line spacing using three types of commands.

Preset line spacing

Details the default 1/6-inch (12-dot) line spacing and how to return to it.

Variable line spacing

Describes how to vary line feeds from 0 to 85 dots using ESCape “A”CHR$(n) for fine control.

Microscopic line spacing

Explains finer line spacing intervals of 1/216-inch using CHR$(27)“3”CHR$(n) for precise graphics formatting.

Line Feeds

Discusses changing line feed size and sending immediate or continuous feeds, including reverse feed on FX-80.

One-time, immediate line feed

Details the ESCape “J”CHR$(n) command for immediate line feeds without carriage return.

Reverse feed (FX-80 only)

Explains the FX-80’s reverse feed function using ESCape “j”CHR$(n) to move the print head up the page.

Summary

Recaps line spacing increments, immediate feeds, and the line-spacing commands summarized in Table 7-1.

Chapter 8: Forms Control

Form Length Control

Explains how to change page length (default 66 lines/11 inches) using inches or lines format.

Form feed distance

Details how to advance paper to the next form using the FF button or ASCII code CHR$(12).

Not-so-standard forms

Describes changing form length by inches (1-22) or lines (1-127) using ESCape “C” command.

Paper Perforation Skip

Explains how to avoid printing on perforations by setting top of form and form length correctly.

Skip command

Details the ESCape “N” command for automatically skipping lines at the bottom of each page.

DIP switch skip

Describes how to make skip-over-perforation a default feature by setting DIP switch 2-3 to ON.

Single-Sheet Adjustment

Refers to Chapter 1 for instructions on loading single sheets of paper into the friction feeder.

Summary

Recap of form length, skip-over-perforation, paper-out sensor, and alarm features, controlled by DIP switches or ASCII codes.

Chapter 9: Margins and Tabs

Margins

Discusses setting left and right margins, their default values, and how to change them.

Left margin

Explains the command CHR$(27)

Margins and pitches

Notes that margin settings are not affected by changing print pitch after they are set.

Right margin

Details the format for setting the right margin and its applicable ranges for different pitches and models.

Both margins

Compares numbering systems for left and right margins and highlights factors affecting margin and tab settings.

Tabs

Introduces default horizontal and vertical tabs and commands to change them for regulated or variable patterns.

Horizontal tab usage

Explains how to use the ASCII horizontal tab code CHR$(9) to move the print head to tab stops.

Variable horizontal tabs

Describes how to change default horizontal tab settings by specifying new tab stops using ESCape “D”.

Vertical tab usage

Explains how to use vertical tabs similar to horizontal ones with CHR$(11) and how to set channels.

Ordinary vertical tabs

Details setting vertical tabs with ESCape “B” and terminating the sequence with CHR$(0).

Vertical tab channels

Discusses using vertical tab channels for pre-printed forms and multipage reports.

Summary

Recaps setting margins, default, regulated, and variable tabs, and absolute tab positions.

Chapter 10: Introduction to Dot Graphics

Dots and Matrixes

Explains the concept of dot graphics, using the page as a canvas and calculating dots per row and column.

Print Head

Describes the print head's nine pins, eight-dot high columns, and how computer communications relate to pin firing.

Graphics Mode

Introduces Graphics Mode, specifying density (columns) per line using CHR$(27)"K" and two numbers.

Pin Labels

Explains how numbers sent via CHR$ represent pin combinations and the importance of binary numbering.

First Graphics Programs

Demonstrates creating simple graphics like straight lines, slashes, and caret patterns by firing pins.

Straight line

Guides on firing the bottom graphics pin to create a straight line, with a sample program.

Slash

Shows how to create a slash pattern by varying exponents in the 2^X form, firing individual pins.

Large caret

Explains how to reverse exponent order to change the slash direction and create a caret pattern.

Chapter 11: Varieties of Graphics Density

Graphics Programming Tips

Tips for firing low graphics pins and using variables for entering Graphics Mode and sending data efficiently.

Graphics and the Reset Code

Explains how the Reset Code affects graphics data and companion text, and how to verify this.

Graphics and low ASCII codes

Discusses problems with low ASCII codes (0-31) in graphics and how systems might intercept or transmute them.

Density Varieties

Introduces seven graphics density settings and the command format for specifying and changing them.

High-Speed Double-Density Graphics Mode

Details High-Speed Double-Density Mode, its drawback of not printing adjacent dots, and how to avoid it.

Low-Speed Double-Density Graphics Mode

Explains Low-Speed Double-Density Mode, printing at half speed for overlapping dots.

Quadruple-Density Graphics Mode

Describes Quadruple-Density Graphics Mode, printing dots four times as densely, with limitations on adjacent dots.

More densities

Discusses additional densities matching CRT screen densities and simulating plotter aspect ratios for circles.

Reassigning alternate graphics codes

Explains how to reassign alternate graphics codes (K, L, Y, Z) to different modes using ESCape "?s".

Nine-Pin Graphics Mode

Introduces Nine-Pin Graphics Mode for firing the ninth pin, speeding up screen dumps, and its format.

Pin Combination Patterns

Guides on arranging pin firing sequences into meaningful designs, using DATA statements and READ routines.

Repeated patterns

Shows how to repeat patterns by rereading DATA using the RESTORE statement.

Repeated DATA numbers

Explains how to code repetitions in DATA lines using negative numbers and test for them in the READ routine.

Summary

Recap of pin labels, graphics modes, and commands for densities and reassigning codes.

Chapter 12: Design Your Own Graphics

Planning Process

Outlines the steps for designing graphics programs, including plotting on graph paper and calculating pin patterns.

STRATA Program

Presents a sample logo program using Double-Density Graphics Mode, explaining DATA lines and program logic.

Three-Dimensional Program

Guides through creating three-dimensional designs, noting differences for FX-80 and FX-100 models.

First version of 3D program

Provides steps to set line spacing and add straight lines for the 3D design program.

Other versions

Suggests changing pin patterns to create dramatic effects and different results in the 3D program.

Summary

Summarizes the two demonstrated methods for programming dot graphics using DATA statements and constants.

Chapter 13: Plotter Graphics

Arrays

Explains arrays as structures in computer memory for storing dot patterns, relating cells to paper positions.

Ones become dots

Translates array contents (ones and zeros) into dots on paper, modifying line 50 for printing.

DIMension and arrays

Details how to declare arrays in BASIC using the DIM statement and DEFINT for memory saving.

Filling arrays

Describes setting array cells to zero and depositing ones using LET statements to plot figures.

Circle Plotting

Guides on examining array cells row by row to plot a circle using the distance formula.

Code solutions

Provides solutions for printout problems, suggesting POKEing codes or using printer drivers.

Higher resolution

Explains how to achieve higher density graphics for more continuous figures by changing line spacing.

Summary

Summarizes using FX for plotter simulation, designing symmetric patterns with mathematical principles, and array data transfer.

Chapter 14: Symmetrical Graphics Patterns

Begin by defining variables

Defines variables for array size, loop control, and pattern generation for symmetrical graphics.

Here are the loops

Provides loop structures for generating patterns, calling a subroutine to add ones and zeros to the array.

Pin Pattern Calculation

Explains calculating pin patterns for two-dimensional figures using one-line arrays and print head passes.

Graphics Width Settings

Details how to set graphics width (C) and adjust n1/n2 for square printout images.

Pattern Printout

Provides lines to print the pattern by checking array elements and printing P or PO patterns.

Variations

Shows how simple changes in loop variables can significantly affect the pattern's appearance.

Summary

Summarizes creating two-dimensional figures with strings of ones and zeros and using 72 dots per inch graphics density.

Chapter 15: User-Defined Characters

Preparation

Explains setting DIP switch 1-4 OFF to use RAM for user-defined characters, rather than as a text buffer.

Character Definition

Details defining characters with ESCape "&" command, specifying RAM area, ASCII ranges, and attribute bytes.

Design

Describes laying out dot patterns for new characters, adhering to matrix limitations and using ROM character examples.

Dots into DATA

Explains calculating data numbers for character columns and storing them in DATA statements with a READ routine.

Attribute byte

Explains the attribute byte's role in determining which pins are used and starting/stopping columns for proportional print.

Proportional print

Details how the attribute byte informs the printer about columns for proportional printing, including extra columns.

Printing User-Defined Characters

Guides on printing user-defined characters by activating RAM characters using ESCape "%" sequence.

Downloading Command

Explains the command to magically transport ROM characters to RAM, avoiding manual definition.

Defining More Characters

Shows how to add more characters by simply adding more data to the program.

Redefining Control Codes

Explains how to redefine control codes as normal symbols using an extra command, like normalizing high-order codes.

Summary

Summarizes combining user-defined characters horizontally, vertically, and making core sets like SIX and LINE.

Chapter 16: Combining User-Defined Characters

Large Letters: Double Wide

Demonstrates forming double-width letters by placing two characters side-by-side.

Large Letters: Double High

Explains stacking two characters vertically to create double-high letters.

Giant Letters: Double High and Double Wide

Describes designing letters that are two characters tall and two characters wide, creating an 18x22 matrix.

Core Sets

Presents an alternative to defining full alphabets by combining a few core characters to make letters.

Summary

Recaps combining user-defined characters for large letters and symbols, and using core sets.

Chapter 17: Business Applications

Preparation

Instructs to load the LINE program and delete specific lines to prepare for printing a sales chart.

Barchart

Details programming a barchart using line graphics characters and three new user-defined characters.

Statement Form

Guides on producing a statement form using elements from previous chapters like logos and line-graphics characters.

Summary

Summarizes the chapter's focus on business applications and combining techniques for versatile printer use.

Appendix A: ASCII Codes and Character Fonts

ASCII Codes and International Characters

Explains ASCII code employment on FX printers and accessing characters via CHR$(n) and LPRINT commands.

ASCII Code summary

Provides a comprehensive table summarizing ASCII codes, decimal, hex, CHR$, and function.

International characters summary

Lists international characters stored in ASCII locations 0-31 and 128-159, printable via specific CHR$ sequences.

ASCII Character Matrixes

Displays enlarged dot matrixes for Roman and Italic USA fonts and international characters, showing character widths.

Appendix B: Control Codes in Numeric Order

ESC Dec Hex Symbol Function

Lists control codes by decimal, hex, and symbol, detailing their functions like line feed, backspace, and mode control.

Appendix C: Control Codes by Function

Character Width (Pitch)

Lists commands for Elite, Compressed, and Expanded Modes, including one-line and continuous versions.

Character Weight

Lists commands for Emphasized and Double-Strike Modes, detailing their ON and OFF functions.

Print Enhancement

Lists commands for Superscript, Subscript, Underline, and Italic modes, including ON/OFF functions.

Mode and Character-Set Selection

Details commands for Master Select, character set selection, defining characters, and downloading ROM to RAM.

Special Printer Features

Lists commands for beeper, backspace, data reception, print buffer cancellation, and high-order bit control.

Paper Feed Commands

Lists commands for line feed, line spacing adjustments, and immediate/reverse line feeds.

Forms Control Commands

Lists commands for form feed, paper-out sensor control, and setting form length by inches or lines.

Formatting Commands

Lists commands for setting horizontal and vertical tabs, including tab channels.

Graphics Modes

Lists commands for Single-Density, Double-Density, Quadruple-Density, and Nine-Pin Graphics Modes.

Appendix E: Defaults and DIP Switches

Default Settings

Lists default printer settings, indicating which can be changed by DIP switch or ESCape code.

Examining the Switches

Explains how DIP switches 1-6, 1-7, and 1-8 determine the active international character set.

Switch 1

Details the functions of DIP switches 1-1 through 1-8, including defaults for Pitch, Weight, and RAM.

Switch 2

Details the functions of DIP switches 2-1 through 2-4, covering Printer Select, Beeper, and Line Feed.

Appendix F: Troubleshooting

Problem/Solution Summary

A guide to identifying problem sources and finding solutions for common issues like print styles and modes.

Changing form measurements

Troubleshooting ESCape "C" and "N" commands for form length and skip-over-perforation.

Tabbing

Solutions for vertical and horizontal tab issues, including termination requirements and pitch effects.

Graphics

Troubleshooting tips for strange printouts in graphics mode, including WIDTH statements and code substitution.

Printer “freezes” in Graphics Mode

Explains printer waits for pin patterns and requires two bytes for 9-Pin Graphics Mode.

Can’t get a full page in width

Addresses issues with printing full page width, mentioning system limitations and WIDTH statements.

Having trouble getting into Graphics Mode

Suggests checking high-order bit settings for 7-bit systems when entering Graphics Mode.

User-Defined Characters

Troubleshooting tips for user-defined characters, including attribute byte settings and reserved columns.

Hex Diagnosis

Explains using the hex dump facility to diagnose printer problems by examining received hexadecimal codes.

Coding Solutions

Provides approaches to overcome ASCII code problems, including alternative interface cards and software.

POKEing codes

Details sending codes directly to the printer via POKE commands for CHR$ function issues.

Special printer drivers

Suggests modifying printer drivers or using dealer-provided drivers to pass codes correctly.

Solutions for Seven-Bit Systems

Addresses 7-bit system limitations, including graphics widths and inability to use the top pin.

High-order bit control

Explains how to control the high-order bit using ESCape ">", "=", and "#" for 7-bit systems.

Seven-bit graphics

Discusses 7-bit system limitations in graphics widths and provides solutions for achieving full width.

Solutions for Specific Systems

Provides solutions for common interface puzzles on Apple II, TRS-80, IBM-PC, and QX-10 computers.

Apple II solutions

Addresses 7-bit limitation and problem code 'nine' for Apple II computers, suggesting interface cards or software.

TRS-80 solutions

Mentions POKEing codes and special printer drivers for TRS-80 Model I and III.

IBM-PC solutions

Covers problems with IBM-PC BASIC like extra CR-LF and WIDTH statements.

QX-10 solutions

Addresses QX-10 interface issues like line width and the problem code '9'.

Appendix I: Printer Maintenance

Always

Provides guidelines on keeping the printer in a safe and clean location, away from dust, heat, and electronic devices.

Now and Then

Recommends cleaning dust and particles with a soft cloth and mild cleanser, and mentions ribbon cartridge life.

Rarely

Suggests lubricating the printer periodically with specific Epson lubricants for shafts and bearings.

Changing the Print Head

Details the expected life of the print head and provides instructions on how to remove the old print head.

To install the new print head

Provides steps for installing a new print head, including placing it on the mount and connecting the cable.

Appendix J: Technical Specifications

Printing

Lists technical specifications for printing method, speed, paper feed, direction, and character sets.

Character sizes

Provides a table detailing character width and height in millimeters for various modes like Pica, Elite, and Compressed.

Column width

Shows maximum characters per line for FX-80 and FX-100 across different pitches.

Paper

Details paper specifications for FX-80 and FX-100, including pin-feed, cut sheet, and roll paper compatibility.

Printer

Lists printer specifications like ribbon type, life expectancy, MTBF, and print head life.

Dimensions and weight

Provides physical dimensions (height, width, depth) and weight for FX-80 and FX-100 models.

Environment

Lists operating and storage conditions for temperature, humidity, shock, vibration, and insulation resistance.

Interface

Describes interface compatibility (Centronics, 8-bit parallel), synchronization, handshaking, and logic levels.

Related product manuals