Sei sulla pagina 1di 165

DIC372 DIC635

MICROLINE ML395/C
MICROLINE
ML395/C

Printer Handbook

Oki Data Corporation


4-11-22, Shibaura, Minato-ku,
Tokyo 108-8551, Japan
Tel : +81-3-5445-6158
Fax : +81-3-5445-6189
Printer Handbook
M-520975-1 08/99
Note To Customers

Every effort has been made to ensure that the information in this document is complete,
accurate and up to date. Mention of software packages manufactured by other
companies does not necessarily constitute endorsement by OKI. We do not assume
responsibility for errors beyond our control, nor can OKI guarantee that changes in
the software and equipment made by other manufacturers and referred to in this
book will not affect the applicability of information in this book.

© Copyright 1992 by OKI.

Epson is a registered trademark of Seiko Epson Corp.


IBM, IBM PC, PC XT and PC AT are registered trademarks of International Business
Machines Corp.
HELVETICA® is a registered trademark of Linotype AG and/or its subsidiaries.
SWISS® is a trademark of Bitstream, Inc.

i
Contents

Introduction .................................................................................................... v
Important Note .............................................................................................. vi
Selecting Drivers ............................................................................................ vi
Chapter 1: Setup .......................................................................................... 1-1
Preliminaries ............................................................................................ 1-1
Connecting to Your Computer .................................................................. 1-2
Installing the Ribbon Cartridge ................................................................. 1-3
Adjusting the Printhead Gap ..................................................................... 1-5
Installing the Paper Support ...................................................................... 1-6
Loading Rear Feed Continuous-Form Paper ............................................ 1-7
Loading Single Sheet Paper ...................................................................... 1-9
Printable area using the Cut-Sheet Feeder .............................................. 1-10
Printing Envelopes using the Cut-Sheet Feeder ...................................... 1-10
Paper Park .............................................................................................. 1-11
Continuous-Form to Single Sheets ................................................... 1-11
Single Sheet to Continuous-Form ..................................................... 1-11
Setting the TOF/Park .............................................................................. 1-12
Clearing Paper Jams ................................................................................ 1-13
Running a Self Test ................................................................................. 1-14
Optional Accessories ............................................................................... 1-15
Chapter 2: Operation ................................................................................... 2-1
Using the Control Panel ............................................................................ 2-1
Basic Control ...................................................................................... 2-1
Print Characteristics .................................................................................. 2-4
Font .................................................................................................... 2-4
Print Quality ........................................................................................ 2-5
Using the Menu Select Mode .................................................................... 2-5
Menu Selections ........................................................................................ 2-7
Explanation of Menu Terms .................................................................... 2-10
Cleaning ................................................................................................. 2-15
Auto Fan Stop ........................................................................................ 2-15
Problem Solving...................................................................................... 2-15

ii
Chapter 3: IBM Control Code Reference .................................................. 3-1
Character Format ...................................................................................... 3-1
Page Format .............................................................................................. 3-8
Line Spacing ........................................................................................... 3-10
Printing Features ..................................................................................... 3-12
Carriage Movement ................................................................................ 3-17
Utility Commands ................................................................................... 3-20
Chapter 4: Epson Control Code Reference ............................................... 4-1
Character Format ...................................................................................... 4-1
Page Format .............................................................................................. 4-6
Line Spacing ............................................................................................. 4-9
Printing Features ..................................................................................... 4-12
Carriage Movement ................................................................................. 4-18
Utility Commands ................................................................................... 4-22
Chapter 5: Graphics .................................................................................... 5-1
Control Codes for Graphics in Normal IBM Mode .................................. 5-4
The IBM Alternate Graphics Mode .......................................................... 5-6
Epson Graphics Mode ............................................................................... 5-8
Programming in AGM and Epson Modes ................................................. 5-8
Programming 24-Pin Graphics ................................................................. 5-9
Writing the Program .................................................................................. 5-9
8-Pin Graphics ........................................................................................ 5-13
Reassigning Graphics Commands .......................................................... 5-13
Quasi 8-Bit Graphics ............................................................................... 5-13
Print Registration .................................................................................... 5-14
Chapter 6: Downloadable Characters ....................................................... 6-1
Designing Characters ................................................................................ 6-1
Dot Assignments and Programming ......................................................... 6-2
Defining a Character ................................................................................. 6-4
Epson Downloadable Characters .............................................................. 6-4
IBM Downloadable Characters ................................................................. 6-8
Chapter 7: OKI Advanced Features .......................................................... 7-1
Bar Code Selection ................................................................................... 7-1
Horizontal Dot Position ............................................................................ 7-2
Emulation Mode........................................................................................ 7-3

iii
Appendix A: Control Code Tables ............................................................. A-1
IBM Control Code Tables ........................................................................ A-1
Epson Control Code Tables...................................................................... A-8
Appendix B: ASCII Character Code Tables ............................................ B-1
IBM Character Code Tables ..................................................................... B-1
Epson Character Code Tables ................................................................ B-12
Appendix C: Interfacing ............................................................................ C-1
Parallel Interfacing ................................................................................... C-1
RS232-C Serial Interfacing ...................................................................... C-3
Local Tests: Serial Interface ..................................................................... C-4
Menu Selections for Serial Interfacing .................................................... C-6
Appendix D: Specifications ........................................................................ D-1

iv
Introduction

The Setup Guide will help you get your new printer set up and running quickly. Here
is how it is organised:

Setup shows you how to get the printer ready, connect it to your computer,
install the standard paper handling accessories, load different types of paper
and run a self test.

Operation describes how to run your printer using the control panel and gives
you some hints on what to do if you are having problems.

If you want more details about working with software or advanced topics like graphics,
read Chapters 3 to 6. Use it to find out more about particular commands or to explore
your printer’s advanced capabilities.

In addition to this manual, make sure you have the following items:

1. Printer
2. Platen knob
3. Power cord
4. Ribbon cartridge (black for ML395, colour for ML395C)
5. Paper support

☞ Note: Paper and interface cable sold separately

v
Important Note
If you are like most printer users you probably will not need to read this entire book.
Rather, you will move from section to section as required to learn how to make your
printer do what you want it to do. The Setup Guide contains information on loading
paper and most of the mechanical aspects of running your printer. The Reference
Guide refers more to controlling your printer’s features, such as format and print
settings, and the methods of so doing.

Selecting Drivers
Printer drivers are usually written for a particular model of printer and identified by
the name of that printer. Although most packages offer several selections, they cannot
have drivers for every printer. Therefore, you may have to choose a driver that was
not specifically written for the ML395 but is compatible or nearly so. Installing a
driver is normally a simple process of making a selection from a menu. Look for one
of the following printers on your software’s printer driver selection. As you go further
down each list, you will have access to fewer ML395 features.

IBM EMULATION EPSON


EMULATION

OKI/OKIDATA ML395 OKI/OKIDATA ML395

IBM XL24E/IBM 4207, 4208 EPSON LQ-1050 or LQ-850

IBM PPR III XL/IBM 4202 EPSON LQ-2500 (best


IBM PPR III/IBM 4201 choice for colour printing)

IBM GRAPHICS PRINTER/IBM 5152 Epson LQ-1500


Epson LQ
Epson FX
Epson JX
Epson LX
Epson RX
Epson MX

vi
IMPORTANT

The wires in this mains lead are coloured in accordance with the following code:

GREEN AND YELLOW EARTH


BLUE NEUTRAL
BROWN LIVE

As the colours of the wires in the mains lead of this apparatus may not correspond
with the coloured markings identifying the terminals in your plug - PROCEED AS
FOLLOWS:

The wire coloured GREEN AND YELLOW must be connected to the terminal in the
plug marked with the letter E or by the safety earth symbol or coloured GREEN or
GREEN AND YELLOW. The wire coloured BROWN must be connected to the
terminal marked with the letter L or coloured RED. The wire coloured BLUE must
be connected to the terminal marked with the letter N or coloured BLACK or BLUE.

Ensure that the mains socket outlet is situated near your printer, for easy access.

WARNING: THIS APPARATUS MUST BE EARTHED

Ensure that your equipment is connected correctly. If you are in any doubt consult a
qualified electrician.

vii
1
Setup
Preliminaries
Open the access cover and remove the shipping restraint. (Save the shipping restraint
with the packaging materials).

The platen knob should already be fitted on the right hand side of the printer. However,
if this is not the case, or it has been removed for some reason, the flat side of the shaft
should be lined up with the flat side of the knob.

1 -- 1
Connecting to Your Computer

Before you can use your printer, you need to attach it to your computer using an
interface cable.

☞ Note: Interface cables are not supplied with the printer.

1. Make sure both your computer and your printer are switched OFF.

2. Attach the power cord to the socket in the rear of the printer, and plug it into an
earthed power source.

☞ Note: Do not use an unearthed adapter with yourprinter. The printer must
be connected to an earthed power supply.

3. Plug the printer end of your interface cable into the connector at the rear of the
printer. Your printer has two interface ports. Loosen the metal plate with a Phillips
screwdriver and slide to uncover the proper connector for the interface cable
you are using.

4. Connect the other end of your interface cable to the printer port on your computer.

☞ Note: Do not connect a serial cable and a parallel cable to your printer
simultaneously

1 -- 2
Installing the Ribbon Cartridge
IMPORTANT
You have just bought the best printer, so be sure to use the only ribbons recommended
for it. Original OKI ribbons are the only ones recommended. Ask for them by name.

Please remember that if you buy any other ribbon your warranty may be invalidated.
Purchasing inferior ribbons really does not make sense. They do not last as long.
They are prone to shredding, which can cause damage to your pnnthead. That is why
any short term savings on cheaper ribbons are quickly lost.
So do not waste your time and money. Insist on OKI consumables for your OKI
printer.

You can order them from your printer supplier.


1. Unpack the ribbon cartridge. Remove the shipping restraint and push the idler
roller lock to the right to free the idler roller.

2. Open the printer access cover.


3. Centre the printhead.

☞ Note: Be careful when replacing the print ribbon, the printhead can get
very hot during extended periods of printing-be sure to let it cool off before
you touch it

4. Place the ribbon into the printer so that the pins on the ribbon cartridge fit into
the notches in the side plates of the printer. Push down so that the cartridge
snaps into position.

1 -- 3
5. Thread the ribbon around the posts on the printhead, making sure that you follow
the proper path (refer to the following illustration).

6. Turn the take-up knob clockwise to take up any ribbon slack.

1 -- 4
Adjusting the Printhead Gap

The blue head gap lever (located on the right-hand side of the printer, below the
access cover) adjusts the printhead for printing on different types of paper. The
following are recommended settings for commonly used papers. You may want to
try varying the settings to get the easiest feeding and best print quality for the paper
you are using.

☞ Important: The incorrect setting of the printhead gap lever can cause
printhead damage orribbonjams. To avoidthese prob lems settheprinthead
gap for the type of stationery being used.

1 -- 5
Installing the Paper Support

1 -- 6
Loading Rear Feed Continuous-Form Paper
When printing on rear feed continuous form paper use the built-in tractor.

1. Open the rear cover.

2. Move the centre paper guides to the middle of the paper.

3. Insert the paper through the gap below the rear cover and pull through.

1 -- 7
4. Move the left hand tractor to the required position. (Pull the lever forwards to
unlock the tractor and slide to adjust. Push the lever back to lock.)

5. Open the tractor covers and set the first two sprocket holes on the paper on the
tractor pins.

6. Adjust the right hand tractor to the width of the paper.

7. Close the tractor covers.

8. Close the rear cover.

9. Pull the paper lever forwards (to the continuous paper symbol).

10. Turn the printer ON. Press the FORM FEED button to advance the paper to the
front of the printer.

11. Set the PARK/TOF, refer to Setting the TOF described in this chapter, to your
requirements and you are ready to print.

1 -- 8
Loading Single Sheet Paper
(No paper handling options installed)
1. If you have continuous-form paper in the printer, use the paper park feature to
back it out of the printer.

With SELECT LIGHT on, press the PARKII/OF button. The paper will retract from
the front of the printer.
2. Push the paper lever back to the single sheet setting (towards the back of the
printer).
3. Raise the paper support to its upright position.

4. Place a sheet of paper on the support and adjust the guides for the width of the
paper you are using. Start with the reference mark for the left edge.
5. Press the FORM FEED button to insert the paper into the printer.

6. Adjust the Top Of Form if necessary. Refer to Setting the TOF described later
in this chapter.

1 -- 9
Printable Area Using the CSF
The default top margin when using the CSF is 1 inch. However, paper can be fed to
the top of the page using the reverse line feed command to allow printing in this
margin.

Printing Envelopes with the CS


You can use standard business size envelopes in your CSF 3001 and in the front bin
only of the CSF 3002. Make sure that you adjust the blue head gap lever to the
correct setting and push the envelope lever on the CSF back to the envelope symbol.
Load envelopes with the flaps facing down and towards the front of the printer.

For best results avoid printing on areas where the flap overlaps the envelope. Printing
where the envelope varies in thickness may be uneven.

1 -- 10
Paper Park

Switching between continuous-form paper and single sheet paper is particularly easy
with your printer. Its automatic parking feature allows you to back continuous-form
paper out of the paper path at the touch of a button, and at the touch of another button
automatically positions a single sheet. The paper park feature also works when you
have an optional CSF installed on your printer.

Continuous-form to Single Sheets

1. Make sure that the SELECT light is ON and press the PARK/TOF button. The
continuous-form paper will retract from the paper path.

2. Push the paper lever back (to the single sheet setting).

3. Press the FORM FEED button to advance a sheet into the printer.

Single Sheet to Continuous-form

1. If there is a sheet in the printer, press the FORM FEED button to eject it.

2. Pull the paper lever forwards (to the continuous-form setting).

3. Press the FORM FEED button to advance the continuous-form paper to the
front of the printer.

1 -- 11
Setting the PARK/TOF
This establishes the position of the first print line on each page. The red line on the
ribbon shield shows the baseline of the current position and helps you place the TOF
where you want it.

If you are using a word processor that sets its own top margin, set the TOF for the
topmost line on the page. Otherwise we recommend positioning the top of the page
under the bail; the first line of printing will then be about one inch from the top of the
page.

1. Press the FORM FEED button to advance the paper into the printer.

2. Press the SELECT button so that the SELECT light goes out.

3. Continuous-form paper: Use the platen knob to move the paper to the correct
position.

Single Sheets: Hold down the PARK/TOF button and press: LINE FEED to move
up the page, or FORM FEED to move down the page. This allows you to move the
paper in increments of 1⁄180 inch so you can position the TOF precisely on single
sheets.

4. Press the PARK/TOF button to the set position.

5. Press the SELECT button to select the printer.

1 -- 12
Clearing Paper Jams

In the unlikely event that you experience paper jams while using either continuousform
paper or single sheets, the following guidelines explain in detail the correct procedure
for the removal and resetting of the jammed paper.

1. Turn the printer OFF.

2. Open the access cover and set the head gap lever to the maximum setting, 9.

3. Tear the paper off at the position of the push/pull tractor if you are using
continuous form paper.

4. If paper is jammed at the ribbon protector, move the printhead assembly away
from the jam carefully (ensure that there is no paper between the ribbon protector
and the platen) and turn the platen knob to feed the remaining paper out of the
front of the printer. If the paper jam occurs before the ribbon protector, turn the
platen knob so that the paper retracts along its loading path.

5. Clear the paper path and ensure that there are no scraps of paper left in the
paper’s loading path or the printer.

6. Reset the head gap lever to the required position.

7. The printer is now ready for use.

☞ Warning: Do not remove or loosen the ribbon protector screws at any time,
as the protector is fixed at a precise setting.

1 -- 13
Running a Self Test
After you have installed the ribbon and loaded paper, you are ready to run either of
the two self tests. These tests allow you to check that your printer is functioning
properly.

Holding down the PARK/TOF button while switching the printer ON produces a
continuous sample of the default print style.

☞ Note: This sample prints along the entire length of the platen, so be sure to
use wide paper when running this test.

Holding down the LINE FEED button while turning the printer ON produces a limited
sample of each available print style. When complete (three pages), the printer stops
and the SELECT light goes out.

To terminate either of these two self-tests, press the SELECT button. This will return
the printer to its ready state and the SELECT light will be lit.

1 -- 14
Optional Accessories
The following items are optional accessories for your printer.

Instructions for the installation of these items will be supplied with each accessory.

1. Cut Sheet Feeder.

1 -- 15
2. Optional Pull Tractor Kit.

3. Optional Font Cartridges.

4. Optional Bottom Feed Unit

1 -- 16
2
Operation
Using the Control Panel

The control panel puts many of your printer’s functions within reach of your fingertips.
It even lets you customise your printer for special applications without programming.
Experiment with these controls and you will see how much your printer can do and
how easy it is to use. The next few pages explain the basics of using the control
panel.

Basic Controls

POWER light Lit when on.

ALARM light Lit to indicate alarm condition: paper out, paper jam, cover
open and printhead temperature alarm.

QUIET light Lights when printer is operating in the quiet mode.

QUIET button Pressing this button when the printer is selected turns quiet
mode on and off. This reduces printing noise in Letter
Quality (LQ) and Utility (UTL) modes.

When the printer is deselected, this button puts the printer into the Menu mode.

LINE FEED button Moves paper up one line (when printer is selected or
deselected). If a CSF is installed on the printer, pressing
the LINE FEED button will cause a single sheet to be
inserted when there is no paper is in the printer.

FORM FEED button Advances paper to the top of the next page (when printer
is selected or deselected).

2 -- 1
PARK/TOF button When the printer is deselected this button sets the position
of the first print line. When the printer is selected and
continuous-form paper is loaded, this button activates the
automatic paper park feature.

MICRO FEED Holding down the PARK/TOF button, and pressing the
(UP/DOWN) MICRO FEED-UP button allows you to move up the page
in increments of 1⁄180 inch to set the TOF, pressing the
MICRO FEED-DOWN button allows you to move down
the page.

SELECT button Selects or deselects the printer. When selected, the printer
is ready to receive data; when deselected, it will not print.
Pressing this button during a self-test will terminate the
test and return the printer to its ready state.

SELECT light Lights when printer is selected (ready to receive data);


goes out when it is deselected. The light blinks when the
printer is in Print Suppress mode (refer to the Menu
Settings for more details).

FONT Selects the typeface that the characters will be printed in.

PRINT QUALITY Selects the quality of print of the typeface.

CHARACTER PITCH Selects the size of the printed characters.

The following buttons have special functions when you hold them down while turning
the printer on:

QUIET Activates the Menu Select Mode.

LINE FEED Activates the demo page self-test.

PARK/TOF Activates the rolling ASCII self-test.

SELECT + FORM FEED Puts the printer into the Hex Dump Mode.

2 -- 2
SELECT + PARK/TOF Returns the printer to the default menu settings.

QUIET + LINE FEED Returns the paper loading position to the default setting.

Button Functions in Menu Select Mode


When the printer is in the menu select mode, the features listed below the buttons are
activated.

PRINT Prints the current menu settings.

GROUP Switches between the broad menu categories


(FWD).

GROUP + MICRO DOWN Switches between the broad menu categories


(REV).

ITEM Displays the features contained in each of the


categories (FWD).

ITEM + MICRO DOWN Displays the features contained in each of the


categories (REV).

SET Selects and stores the options available for each


feature in the menu (FWD).

SET + MICRO DOWN Selects and stores the options available for each
feature in the menu (REV).

EXIT Exits from the menu select mode and returns the
printer to its ready state. The buttons are returned
to their basic functions.

2 -- 3
Print Characteristics
The font, print quality and character pitch buttons let you control basic printing features
through your printer’s control panel:

1. Press the SELECT button (SELECT light goes out).

2. Press the features that you wish to change (light goes on).

☞ Note: If alithe lights on the PRINT QUALITY section of the panel are out,
the printer will print in the High Speed Draft (HSD) Mode.

3. Press the SELECT button.

The panel always indicates the actual settings of the printer. If you change any of
these features through your software, the panel lights will also change to reflect this
feature choice.

The panel will only allow you to select valid combinations of features. For example,
proportional spacing can only be selected when the print quality choice is set to LQ.
Similarly CART cannot be selected on the control panel unless a font cartridge is
installed in the FONT slot. The three printing features available on the control panel
offer the following selection of modes:

Font
There are eight combinations of font which can be selected on your printer, six resident
fonts, a cartridge font and a downloaded font.

The resident fonts are:

COURIER
ROMAN
PRESTIGE
GOTHIC
SWISS
SWISS BOLD
CART
DLL

2 -- 4
Print Quality
LQ The Letter Quality mode produces crisp, clean characters,
almost like a typewriter. Print in LQ when you want your
correspondence and reports to look especially polished.
You can use LQ mode to print 10, 12, 15, 17.1 and 20
Characters Per Inch (CPI), as well as proportional spacing.

NLQ Near Letter Quality printing is faster than LQ, and produces
characters that are almost as sharp as Letter Quality. NLQ
is available in 10 and 12 CPI.

UTILITY The Utility mode is ideal for high-volume printing. It is


much faster than LQ or NLQ, but the printed output is not
as dense as the higher-quality modes. Utility mode supports
all the character pitches with the exception of
proportionally spaced text.

CHARACTER PITCH (width selections)

10, 12,15, 17.1 and 20 CPI. Proportional spacing is also available for use with resident
LQ printing only.

☞ Note: Pitches available with downloaded or cartridge fonts are font


dependent. Print quality and pitch combinations are available as described
above.

Using the Menu Select Mode


The Menu Select mode gives you fingertip control over some of your printer’s most
important features. Menu selections are chosen while in the Menu Select mode and
retained in the printer’s non-volatile memory. In effect your settings become the
default settings, although they can be changed through software commands, through
the control panel or through resetting the menu.

2 -- 5
☞ Note: You can override features set on the menu using either the control
panel or commands sentfrom your computer. However, when you turn off
the printer,features set by those methods will be cancelled. Features set on
the menu will stay in effect, even when the printer is unplugged.

Entering the Menu Select Mode


Make sure that the printer is loaded with ribbon and paper.

Switch the printer ON while pressing the QUIET button in. If the printer is already
on and the SELECT light is off, press the QUIET button. The functions listed
underneath the buttons become active.

If you press the PRINT button, the current menu will be printed in its entirety. It lists
all the currently selected print features.

If you press the GROUP (FWD)/GROUP + MICRO FEED (REV) button, you can
progress through the broad menu categories until you reach the category that you
want to change.

Pressing the ITEM (FWD)/ITEM + MICRO FEED (REV) button allows you to select
the feature of each category that you want to change.

Pressing the SET (FWD)/MICRO FEED (REV) button lets you make the final
selection for each item of the group.

When you have made all the changes that you want, press the EXIT button to store
the changes and to return to the print mode. The SELECT light will light to show that
the printer is ready to print, and the control panel will indicate any changes that you
made to the default settings while in the menu mode.

☞ Note: If in the middle of the Menu Select mode you should run out of
paper, the red alarm light on the control panel goes on andthe printer goes
off line. Reload paper and continue by pressing the SELECT button; the
printer then resumes its function in the Menu Select mode.

2 -- 6
Menu Selections

☞ Note: Factory default settings are printed in bold.

Group Item Selections


PRINTER CONTROL EMULATION EPSON LQ, IBM PPR,
MODE IBM X24 AGM
FONT PRINT MODE LQ, NLQ, UTILITY, HSD
TYPESTYLE COURIER, SWISS, SWISS
BOLD, ROMAN, LETTER
GOTHIC, PRESTIGE
ELITE, CARTRIDGE DLL

PITCH 10 CPI, 12 CPI, 15 CPI, 17.1 CPI,


20 CPI, PROPORTIONAL

STYLE NORMAL, ITALICS

SIZE SINGLE, DOUBLE, TRIPLE

SMOOTHING NO, YES


GENERAL GRAPHICS UNI-DIRECTIONAL,
CONTROL BI-DIRECTIONAL

PAPER OUT NO, YES


OVERRIDE

PRINT 0, -1 -2, -3, -4, -5, +5, +4, +3,


REGISTRATION +2, +1

OPERATOR FULL OPERATION,


PANEL FUNCTIONS LIMITED OPERATION

RIBBON BLACK RIBBON, BLACK,


SELECTION YELLOW, MAGENTA, CYAN,
VIOLET, ORANGE, GREEN

RESET INHIBIT NO, YES

PAGE WIDTH 13.6", 8"

AUTO LF NO, YES


AUTO CR (IBM) NO, YES
2 -- 7
Group Item Selections
FORM TEAR -OFF OFF, 300 ms, 2 sec, 4 sec,
OFFLINE

MENU LINE 6, 1

REAR FEED LINE SPACING 6 LPI, 8 LPI

SKIP OVER NO, YES


PERFORATION

FORM LENGTH INCHES, LINES


BASE
2
PAGE LENGTH 12", 11", 11 ⁄3", 14", 17", 3",
(INCHES) 3.5", 4", 5.5", 6", 7", 8", 8.5"

PAGE LENGTH 0, 1
(LINES * 100)

PAGELENGTH 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
(LINES * 10)

PAGE LENGTH 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
(LINES * 1)

BOTTOM FEED LINE SPACING 6 LPI, 8 LPI

SKIP OVER NO, YES


PERFORATION

FORM LENGTH INCHES, LINES


BASE

PAGE LENGTH 12", 11", 112/3", 14", 17", 3",


(INCHES) 3.5", 4", 5.5", 6", 7", 8", 8.5"

PAGE LENGTH 0, 1
(LINES * 100)

PAGE LENGTH 0,1, 2, 3, 4, 5, 6, 7, 8, 9


(LINES * 10)

PAGE LENGTH 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
(LINES * 1)

CUT SHEET LINE SPACING 6 LPI, 8 LPI


2 -- 8
Group Item Selections
PAGE LENGTH 12",11", 112⁄3", 14", 16.57", 3",
(INCHES) 3.5", 4", 5.5', 6", 7", 8", 8.5"
SYMBOL SETS CHARACTER SET SET II, SET I, EPSON
CODE PAGE USA, MULTILINGUAL,
NORWAY, PORTUGAL,
TURKEY
LANGUAGE SET ASCII, FRENCH, GERMAN,
BRITISH, DANISH I,
SWEDISH I, ITALIAN,
SPANISH I, JAPANESE,
NORWEGIAN, DANISH II,
SPANISH II, LATIN AMERICA,
FRENCH CANADIAN, DUTCH,
SWEDISH II, SWEDISH III,
SWEDISH IV, TURKISH,
SWISS I, SWISS II, PUBLISHER
ZERO UNSLASHED, SLASHED
CHARACTER
SLASHED NO, YES
LETTER O
GENERAL MAX RECEIVE 1 LINE, 8K, 23K, 40K (option)
INTERFACE BUFFER
PRINT SUPPRESS NO, YES
EFFECTIVE
AUTO FEED XT INVALID, VALID
(EPSON)
CPU STANDARD, SPECIAL
COMPENSATION
SERIAL INTERFACE PARITY NONE, ODD, EVEN
SERIAL DATA 8, 7
7/8 BITS
PROTOCOL READY/BUSY, X-ON/X-OFF
DIAGNOSTIC NO, YES
TEST

2 -- 9
Group Item Selections
BUSY LINE SSD-, SSD+, DTR, RTS

BAUD RATE 19200 BPS, 9600 BPS,


4800 BPS, 2400 BPS, 1200 BPS,
600 BPS, 300 BPS

DSR SIGNAL VALID, INVALID

DTR SIGNAL READY ON POWER UP,


READY ON SELECT

BUSY TIME 200 ms, 1 sec

Explanation of menu items


Emulation Mode Select the printer command set you want your ML395 to
use. Choose Epson LQ series, IBM Proprinter or IBM
AGM Printer. See the Reference Section for hints on how
to make your selection.

Print Mode Choose LQ for Letter Quality printing, NLQ for Near
Letter Quality printing, Utility for quicker printing, or HSD
(High Speed Draft) for fastest printing speed.

Typestyle Choose the font in which you wish to print your document.

Pitch Choose character width measured in characters per inch


(CPI), or proportionally spaced characters.

Style Choose Normal (upright) or Italics (slanted).

Size Choose Single, Double or Triple width and height.

Smoothing This feature is used with double and triple sized printing.
If SMOOTHING is set to YES, extra dots will be printed
in the character matrix in order to give a better quality of
character.
The curve and shape of the character will be smoother.
2 -- 10
Graphics Choose unidirectional (left to right only) for better graphics
print registration at slower speed. Choose bidirectional for
higher print speed.

Paper Out Override The paper out detector senses when less than one inch of
paper remains in the printer and stops printing at that point.
Choosing YES overrides the detector so you can print
closer to the bottom of the page if you are using single
sheets. Be careful if you use this feature: it lets the printer
continue printing when there is no more paper, which
causes loss of data and may damage the printhead and the
platen.

Print Registration Use this item with bidirectional bit image graphics to
improve registration. Although 0 is generally the best
selection,choosing another value may compensate for
registration problems with some graphics software
packages.

Operator Panel Full Operation is the normal setting. Choose Limited


Functions Operation to deactivate the PRINT QUALITY,
CHARACTER PITCH, and FONT buttons on the control
panel. You can then only control these features through
your software. This can be useful when several people are
using the printer and you do not want its settings changed.

Ribbon Selection (ML395C only). If you are using a colour ribbon, select
the standard printing colour normally black. If you are
using a black ribbon, use the BLACK RIBBON selection
for longer life.

Reset Inhibit Choose YES if your software package or computer sends


an initialization command at the start of each job. This
initialization command will reset any features that you may
have set to the menu default.

Page Width Choose the width of paper that you are printing on.

2 -- 11
Auto LF Choose YES to have the printer automatically add a Line
Feed command to each Carriage Return command it
receives. The choice depends on whether your computer
adds a Line Feed. If your printout is consistently double
spaced, select NO; if it overprints choose YES.

Auto CR (IBM) Choose NO to prevent the printer from automatically


adding a Carriage Return to each Line Feed command it
receives. This feature only appears in IBM emulations.

Form Tear Off Use this item to turn the forms tear off feature On or Off
or to allow a waiting time after a form feed occurs. When
it is set to offline, if the printer receives a FF or end of
page is reached and there is no more data, the paper is fed
to the FTO position and the printer is deselected. After the
sheet has been removed the user should push the SEL
switch to resume or start a print job.

Menu Line Line feed in the menu mode can be set to one or six lines
between options.

Line Spacing Choose 6 lines per inch ( 1⁄6 inch line spacing) or 8 LPI
(1⁄8 inch line spacing).

Skip Over Choose YES if you want the printer to advance


Perforation automatically to the next page when it comes within one
inch of the bottom of the page. If your software has its
own page formatting controls, set this item to NO to
avoid interference.

Form Length Base This allows you to select the correct page length by number
of inches or number of lines per page.

Page Length Choose the length of the continuous form paper you are
(Inches) using. This enables the printer to keep track of the initial
printing position on each page (TOF).

2 -- 12
Page Length Choose the length of the continuous form paper you are
(Lines* 100) using in number of lines. You can choose from 0 to 199.
(Lines * 10)
(Lines * 1)

Character Set Choose IBM Character Set 2, Epson or IBM Character


Set 1 (see Appendix B) as the default character set.
Code Page This option is available in both IBM and EPSON
emulation. This allows several character sets containing
special characters to be accessed using the format which
selects IBM Character Sets 1 and 2 and the All Character
Set.
Language Set These sets replace certain symbols with special characters
used in the respective foreign languages (see National
Character Sets in the Reference section).

Zero Character Choose Slashed when it is important to distinguish between


a zero (0) and a capital letter O.
Slashed Letter O Characters ¢(155) and ¥(157) will be set to slashed ø and
a slashed Ø if you set this item to YES.
Max Receive Buffer Choose the size of the buffer. This allows you to send large
jobs to your printer, which can be held in a larger buffer,
and reduce the time that your computer is busy sending
data. If your computer has problems with device time-
outs due to the time taken to clear the buffer, select a
smaller buffer size. The time taken to clear the buffer will
be shorter and the computer will be able to resume
transmitting data.

If you want to download two separate character sets, you


will have to change the MENU to 1 line. (Epson). If you
change the MENU to 40K (option), IBM DLL cannot be
downloaded.
Print Suppress Select VALID when you want the print suppress
Effective commands in each of the emulations to be active. The print
suppress commands are ignored when this option is set to
INVALID.

2 -- 13
Auto Feed XT Normally, there is no Line Feed after a Carriage Return if
(Epson) the Auto Line Feed is set to NO. However, in the EPSON
emulation, if the Auto Line Feed is NO and the Auto Feed
XT is set to valid, a Line Feed is executed upon an Auto
Feed signal on Pin 14 of the parallel interface. This special
exception may be necessary for some combinations of
hardware and software.

CPU Compensation Select Standard if the printer is to be used with Microsoft


Windows version 2.xx. This avoids a Centronics parallel
interface timing problem.

The following items are used only if the optional serial interface has been installed
(see Appendix C for details).

Parity Selects parity.

Serial Data Selects data format. When the Serial Data 7- or 8- Bits is
7- or 8-Bits set to 7, the parity must be set to either ODD or EVEN. 7-
Bit Serial Data will not print correctly if the parity is set
to NONE.

Protocol Selects interface protocol.

Diagnostic Test Activates the printer’s interface diagnostic test.

Busy Line Selects line used for busy signal.

Baud Rate Selects data transmission speed.

DSR Signal Sets the Data Set Ready (DSR) signal.

DTR Signal Selects Data Terminal Ready (DTR) signal status.

Busy Time Sets busy signal timing.

2 -- 14
Cleaning
Every six months (or after 300 hours of operation), take a clean, dry, soft cloth and
dust the area around the carriage shaft and platen. Be sure to remove any loose particles
of paper. Do not use solvents or strong detergents on the cabinet. Be sure to turn the
printer OFF before cleaning.

Auto Fan Stop


When the printer has been in the idle mode for a short time, the fan inside the printer
will stop. The printer remains in the Select mode and is ready to receive data. As
soon as the printer starts to print the fan will resume operation.

Problem Solving
Why does nothing happen when I turn on the printer?

The printer may not be plugged in. Check the power cord connection to the printer
and the outlet.

Why is the ALARM light on?

Check to see if:

● Paper is out.

● The paper lever is not set for the type of paper that you are using (single sheet or
continuous-form paper).

● The front cover is open.

Alternatively the pnnthead temperature alarm may of been activated. Once the
printhead has cooled down the printer will continue printing

After correcting the alarm condition, you may have to turn the printer off and on
again to make the ALARM light go out.

2 -- 15
Why is the ALARM light flashing?

Turn the printer off and check to see if:

● The bail is open. Make sure the bail lever is towards the back of the printer.

● The paper or ribbon is jammed.

If you are unable to rectify the problem contact your nearest OKI service centre.

Why does the printer not print when data is sent from the computer?

You may have the printer deselected (the SELECT light is out). Press the SELECT
button. If the SELECT light still does not come on, even though the POWER light is
on, turn the printer OFF and check that the interface connection from the computer is
secure.

Why are dots missing in my printout?

The headgap may not be set correctly. Try moving the headgap lever to a lower
setting. If that does not help, the printhead may be damaged. Call for service.

Why does my ribbon come off?

● Make sure that the ribbon cartridge is seated properly.

● Ensure that the ribbon is properly located around the ribbon guide, as shown on
the ribbon fitting instruction label.

How can I check the data that my computer is sending to the printer?

By entering the hexadecimal mode. Hold the SELECT and FORM FEED buttons
down while turning the printer ON. All data sent to the printer, including text and
printer commands, will be printed in hexadecimal format.

For example, this line of BASIC code:

LPRINT CHRS(27);“0”, CHR$(30);“12345”, CHR$(10)

2 -- 16
would print in this format;

1B 30 1E 31 32 33 34 35 0A . 0. 1 2 3 4 5.

To return to standard printing, turn the printer OFF then ON again.

2 -- 17
3
IBM Control Code Reference
In the following chapters certain commands can be accepted in two formats. Where
the decimal value in the command is the variable n = 0 or 1, the printer can accept
both values of 0 and 48 for n = 0, and 1 or 49 for n = 1. For example, the command to
begin double width printing can be sent as follows:

CHR$(27);CHR$(87);CHR$(l) or CHR$(27);CHR$(87);CHR$(49)

For convenience this manual generally uses the second form.

Character Format
Double Width
One Line Printing ASCII Hexadecimal Decimal
Sets double width one line SO 0E 14
Cancels double wide one line DC4 14 20

Double character width for one line only; prints half as many characters per inch in
each pitch. SO can also be cancelled by a carriage return, line feed, VT, or Form Feed
or ESC W 0 command. At the end of the line of double wide characters, current print
mode resumes. ESC W 1 takes precedence over SO.
Continuous Double
Width Printing ASCII Hexadecimal Decimal

Sets double width print mode ESC W 1 lB 57 31 27 87 49


Cancels double width ESC W 0 lB 57 30 27 87 48
print mode

Doubles the width of all characters; produces half as many characters per inch in
each pitch. With this command, double width characters print continuously until
reset by ESC W 0. Double width can also be set by the ESC [@ command. The DC4
command — cancel double width one line — will not cancel the double width mode
set by ESC W 1.

Triple Width Printing ASCII Hexadecimal Decimal

Sets triple width printing ESC m lB 6D 27 109


Cancels triple width printing ESC W 0 lB 57 30 27 87 48

3 -- 1
Triples the width of the characters. You can also cancel this feature by choosing
either double or single width printing in the Menu Select mode.

Double/Triple Height ASCII Hexadecimal Decimal

Sets double height printing ESC US SOH 1B 1F 01 27 31 1

Sets triple height printing ESC US STX 1B 1F 02 27 31 2

Cancel double/triple height ESC US NUL 1B 1F 00 27 31 0

Double/triple height characters are printed twice/three times the height of standard
characters from the same base line. Double/triple and standard height characters can
all be printed within the same line.

To avoid having lines overlap, use the variable line spacing command to set double
line spacing for double height and triple line spacing for triple height. You may also
set it through your software. Print modes that accommodate double/triple height
include utility and DLL utility, emphasized, double/triple width, and NLQ/LQ. Two
and three passes are required for double and triple height characters respectively.

Double Width/
Double Height ASCII Hexadecimal Decimal

Set double width or ESC [@n1 1B 5B 40 n1 27 91 64


double height printing n2 m1 m2 n2 m1 m2 n1 n2 m1
m3 m4 m3 m4 m2 m3 m4

With this command you can set either double height or double width or both, together
with the control of line spacing. The following table will help you choose the correct
parameters for your requirements.

n1 and n2 are the number of bytes in the sequence. Normally this will be four so nl =
4 and n2 = 0.

ml to m4 are the modes available. m1 and m2 are ignored and are therefore constantly
set at 0. m3 defines the character height and line feed value. m4 defines character
width.

3 -- 2
CHR$ (m3) Function
0 No change
1 LF unchanged/standard height characters
2 LF unchanged/double height characters
3 LF unchanged/triple height characters
16 single LF/character height unchanged
17 single LF/standard height characters
18 single LF/double height characters
19 sigle LF/triple height characters
32 double LF/character height unchanged
33 double LF/standard characters
34 double LF/double height characters
35 double LF/triple height characters
48 triple LF/character height unchanged
49 triple LF/standard character height
50 triple LF/double height characters
51 triple LF/triple height characters

CHR$(m4) specifies either standard or double width characters as follows.

CHR$ (m4) Function


0 no change
1 standard
2 double width characters
3 triple height characters

Italic Characters ASCII Hexadecimal Decimal


Sets italic print mode ESC % G 1B 25 47 27 37 71
Cancels italic printing ESC % H 1B 25 48 27 37 72

Prints italic (slanted) characters. You can also select italic printing using the menu.
Characters may overlap onto the next character cell. IBM line graphics (position
176-223) and the integral sign halves (position 244 and 245) will not be slanted.

3 -- 3
Select IBM Character Set ASCII Hexadecimal Decimal

Select IBM Set 1 ESC 7 1B 37 27 55


Select IBM Set 2 ESC 6 1B 36 27 54

Use these commands to select either of the IBM character sets shown in Appendix B.

Print from all Character Set ASCII Hexadecimal Decimal

Print one character ESC ^ E 1B 5E n 27 94 n


Print continuously ESC / n1 n2 1B 5C n1 n2 27 95 n1 n2

Using these commands you can make control characters like ESC or SI printable.
Using the All Character Set there is a printable character for all 255 places of the
character table. If you want to print just one character from this set use ESC ^ n,
where n specifies this character. If you want to print ‘m’ characters, use ESC \ n1 n2.
Take the following formula to specify n1 and n2:

m = n1 + (n2 * 256)

The ‘m’ control codes or characters to be printed must follow ESC \n1 n2. You will
find the All Character tables in Appendix B.

Emphasized Printing ASCII Hexadecimal Decimal

Sets emphasized print mode ESC E 1B 45 27 69


Cancels emphasized print mode ESC F 1B 46 27 70

Prints second dot slightly to the right of each printed dot, creating characters that are
thicker horizontally. Emphasized printing is performed at half-speed, and can be
done in conjunction with enhanced printing.

Enhanced/Double
Strike Printing ASCII Hexadecimal Decimal
Sets enhanced print mode ESC G 1B 47 27 71
Cancels enhanced print mode ESC H 1B 48 27 72

3 -- 4
Prints second dot slightly below each printed dot, creating characters that are thicker
vertically. The printer makes two passes per line. This feature can be combined with
emphasized printing.
Character Pitch ASCII Hexadecimal Decimal

10 CPI DC2 12 18
12 CPI ESC : 1B 3A 27 58
15 CPI ESC g 1B 67 27 103
17.1 CPI S1 0F 15
20 CPI ESC SI 1B 0F 27 15

You can directly get to 12 CPI from 10 CPI by using ESC :. In order to use 17.1 CPI
character pitch you must use the SI control code when you are in 10 CPI mode.

Proportional Spacing ASCII Hexadecimal Decimal

Sets/cancels proportional spacing ESC P n 1B 50 n 27 80 n

Either sets or cancels proportional printing. Where n=1 proportional printing is turned
on; where n=0 it is turned off. Proportional spacing is only available in LQ mode.

Superscript Printing ASCII Hexadecimal Decimal

Sets superscript mode ESC S 0 1B 53 30 27 83 48


Cancels superscript mode ESC T 1B 54 27 84

You can print superscripts in compressed print mode; they appear as half-high, full-
width characters.

Subscript Printing ASCII Hexadecimal Decimal

Sets subscript mode ESC S 1 lB 53 31 27 83 49


Cancels subscript mode ESC T lB 54 27 84

You can print subscripts in compressed print mode; they appear as half-height, full-
width characters.

3 -- 5
Select Font ASCII Hexadecimal Decimal

Select Font ESC { I n1 lB 5B 49 n1 27 91 73


n2 ml m2 n2 ml m2 p1 n1 n2 ml
p1 p2 r1 p2 r1 m2 p1 p2
r1

n1 n2: Number of parameters n1 + 256 * n2


m1 m2: Font ID number 256 * m1 + m2
p1 p2: Font width 256 * p1 + p2
r1: Spacing

n1 and n2 are the number of bytes in the sequence. Normally this will be five so n1 =
5 and n2 = 0. m1 and m2 define the Font ID number of the font to be selected. See
table below.

Typeface m1 m2 Typeface m1 m2

Courier 000 008 Roman 000 155


000 011 000 159
000 018 000 166
000 049 000 167
000 085
000 092 Letter Gothic 000 087
000 098 000 222
000 171 000 255
000 223
000 226 Script 000 084

Prestige Elite 000 012 OCR-B 000 003


000 080
000 086 OCR-A 000 019
000 100
000 164 ORATOR 000 005
000 221

3 -- 6
For example:

To set 10 CPI, p1 = 0 and p2 = 144. See table below:

p1 p2 Description
000 000 No Change
000 072 20 pitch
000 084 17 pitch
000 096 15 pitch
000 120 12 pitch
000 144 10 pitch

If p1 = 0 and p2 = 0, there is no change.


r1 defines the font spacing.
If r 1 = 0, no change.
If r 1 = 1, fixed pitch defined by p1 and p2 is available.
If r 1 = 2, proportional spacing is defined.

Font Selection ASCII Hexadecimal Decimal


Selects typestyles ESC k n lB 6B n 27 107 n

With this command you can choose either the typestyles resident in the printer or a
typestyle in an optional font cartridge. If the value of n is not one of those given in
the table below, the resident typestyle will be selected.
Decimal value of n Typestyle
0 Roman
1 Swiss
2 Courier (default font)
3 Prestige
5 OCR-B (with OCR-B font cartridge installed)
6 OCR-A (with OCR-A font cartridge installed)
122 Swiss Bold
124 Letter Gothic
126 Resident
127 Cartridge (with any font cartridge installed)

3 -- 7
Page Format
Margin Setting ASCII Hexadecimal Decimal
Left/right margin set ESC X n1 n2 1B 58 n1 n2 27 82 n1 n2

The CHR$(27);“X”;CHR$(n1);CHRS(n2); command sets the left and the right


margins at the same time. In this command, n1 represents the left margin and n2
represents the right one. Both n1 and n2 refer to the character column 0.

The following table gives you the maximum values for n1 and n2. If n1 or n2 are 0
the current margin value will be used for n1 and n2.

Character Pitch 10 CPI 12 CPI 15 CPI 17.1 CPI 20 CPI PROP


Max. column 136 163 204 233 272 163
n2-n1 min. 3 4 5 6 6 4

Auto Skip Over Perforation ASCII Hexadecimal Decimal


Set skip over perforation ESC N n 1B 4E n 27 78 n
Cancels skip over perforation ESC O 1B 4F 27 79

Sets the printer to automatically skip a specified number of lines between the last
printed line of one page and the first printed line on the next page. The allowable
range that can be skipped may be set from 1 to 255 lines at the current line spacing;
the value of n cannot exceed the length of the current form. ESC N is reset by the
ESC O command or a page length set command.

This feature is handy for printing program listings, and printouts from software that
has no format control. However, we advise against using it with packages that do
have page formatting controls, such as word processors: the skip over perforation is
likely to interfere with the software and ruin your page format.

Form Length in Inches ASCII Hexadecimal Decimal


Sets form length in inches ESC C NUL n 1B 43 00 n 27 67 0 n

3 -- 8
Sets the form length to a specific number of inches where the value of n ranges from
1 to 182. The top of form position is set by this command, vertical tab settings are
cleared, and the skip over perforation is cleared.

Form Length by Lines ASCII Hexadecimal Decimal


Sets form length by lines ESC C n 1B 43 n 27 67 n

Sets the form length to a specific number of lines where the value of n ranges from 1
to 255. This command also sets the top of form position, clears vertical tab settings,
and resets the skip over perforation.

Top of Form Set ASCII Hexadecimal Decimal


Sets TOF ESC 4 1B 34 27 52

The current position of the printhead will become the new top of form position (TOF)
upon the receipt of this command. This command only sets the TOF when continuous
form paper is installed in the printer and is ignored in CSF and SASF modes.

Vertical Margins Setting ASCII Hexadecimal Decimal


Vertical Margins Setting ESC [ S lB 5B 53 n1 27 91 83
n1 n2 m1 n2 m1 m2 n1 n2
m2 p1 p2 p1 p2 m1 m2
p1 p2

n1 n2: number of parameters n1 + 256 * n2


m1 m2: top margin 256 * m1 + m2
p1 p2: bottom margin 256 * p1 + p2

n 1 and n2 are the number of bytes in the sequence. Normally this will be four so n1
= 4 and n2 = 0 or two nl = 2 and n2 = 0.

m1 and m2 defines the top margin distance from the top of form to the edge of the
first line. The unit is 1⁄1440”.

p1 and p2 defines the bottom margin distance from the top of form to the top edge of
the bottom margin.

The unit is 1⁄1440”.

3 -- 9
Line spacing
Lines Per Inch Spacing ASCII Hexadecimal Decimal
Sets line spacing to 1⁄8 inch ESC 0 1B 30 27 48
(8 lines per inch)
Sets line spacing to 7⁄72 inch ESC 1 1B 31 27 49

Sets line spacing to 1⁄8 or 7⁄72 inch. These commands do not affect the top of form
position. You can also set 8 lines per inch in the Menu Select mode.

Variable n⁄72 inch


Line Spacing ASCII Hexadecimal Decimal
Selects line spacing value as ESC A n 1B 41 n 27 65 n
n⁄72 inch*

Activates the line spacing ESC 2 1B 32 2750


selected by ESC A n*
ESC A n stores line spacing value in n⁄72 inch where n can range from 1 to 255.

This line spacing must be activated by ESC 2 to come into effect. For example, to set
line spacing for double height characters, n would be 24. Then to set line spacing for
triple height characters, n would be 36.

Using the ESC 2 sequence without a previous ESC A n sets the line spacing to 6 lines
per inch.

Fine Line Spacing ASCII Hexadecimal Decimal


Sets the line spacing ESC 3 n 1B 33 n 27 51 n
to n⁄216 inch*
* Sets line spacing to n⁄216 inch where n can range from 1 to 255.

3 -- 10
Sets Base Unit to 1⁄180 inch or
1⁄216 inch ASCII Hexadecimal Decimal
Sets base unit for ESC 3 ESC [ \ EOT 1B 5B 5C 04 00 27 91 92 40
and ESC J to 1⁄180 inch or 1⁄216 inch NUL NUL 00 00 n1 n2 0 0 n1 n2
NUL n1 n2

This command sets the base unit used in the commands ESC 3 and ESC J to either
1
⁄180 inch or 1⁄216 inch. n1 = either 180 or 216, n2 = 0.

Line feed ASCII Hexadecimal Decimal


Executes line feed LF 0A 10

Depending on the setting of the AUTO CR item in the menu a CR will be added or
not.
Auto Line Feed ASCII Hexadecimal Decimal
Sets Auto LF on ESC 5 1 1B 35 31 27 53 49
Sets Auto LF off ESC 5 0 1B 35 30 27 53 48

When Auto-LF is set to ON, each CR will cause a line feed to be executed.
Fine Line Feed (n⁄216 inch) ASCII Hexadecimal Decimal
Executes n⁄216 inch line feed* ESC J n 1B 4A n 27 74 n

ESC J n sends an immediate n⁄216 inch line feed without changing the current line
spacing. The variable n can have a range of ito 255. This command will not clear
one-line double width character code SO.
Reverse Line Feed ASCII Hexadecimal Decimal
Executes reverse line feed ESC ] 1B 5D 27 93

The current horizontal position does not change when this command is executed.
These commands have different functions in AGM. Depending on the language set
selected by menu, “]” could be another character.

3 -- 11
Printing Features

Underlining ASCII Hexadecimal Decimal


Sets underline mode ESC - 1 1B 2D 31 27 45 49
Cancels underline mode ESC - 0 1B 21) 30 27 45 48

Underlining occurs at the same time characters are printed. The underline for super-
/subscript characters appears on the same print line as that of the preceding characters,
but does not strike through subscripts. All text, including spaces and punctuation, is
underlined. Graphics are not underlined.

Overscoring ASCII Hexadecimal Decimal


Sets overscore mode ESC _ 1 1B 5F 31 27 95 49
Cancels overscore mode ESC _ 0 1B SF 30 27 95 48

Overscoring prints a continuous line over the characters designated. The overscore
for super-/subscript appears on the same line as for the preceding character.

Print Mode Composite ASCII Hexadecimal Decimal


Selects print mode ESC I n 1B 49 n 27 73 n

3 -- 12
n Dec Print Mode Character Pitch
0 Utility 10 CPI
2 LQ 10 CPI
3 LQ Proportional
4 Utility DLL 10 CPI
6 LQ DLL 10 CPI
7 LQ DLL Proportional
8 Utility 12 CPI
10 LQ 12 CPI
12 Utility DLL 12 CPI
14 LQ DLL 12 CPI
16 Utility 17.1 CPI
18 LQ 17.1 CPI
20 Utility DLL 17.1 CPI
22 LQDLL 17.1 CPI
24 Utility 15 CPI
26 LQ 15 CPI
32 Utility 20 CPI
34 LQ 20 CPI

Using this composite command you can specify the print mode and the character
pitch within one command.

LQ stands for Letter Quality and DLL for DownLine Loadable characters.
NLQ/High Speed Draft ASCII Hexadecimal Decimal
Sets NLQ printing ESC # 2 or 1B 23 32 or 27 35 50 or
ESC ( 2 1B 28 32 27 40 50
Sets High Speed Draft ESC # 0 or 1B 23 30 or 27 35 48 or
ESC ( 0 1B 28 30 27 40 48

NLQ prints in either 10 or 12 CPI, while the High Speed Draft mode functions in
either 15 or 18 CPI. Before switching print modes, make sure that the printer is set
for a compatible pitch.
Colour Printing ASCII Hexadecimal Decimal
Selects Colour Printing ESC r n 1B 72 n 27 114 n

3 -- 13
Colour printing is available on the ML395C printer only. If you have an ML395C,
you must have a colour ribbon installed in order to print colour. You must also change
the menu setting from BLACK RIBBON to another selection. We recommend BLACK
which is the black band of the colour ribbon. Using this selection, black is selected as
the standard colour but all other colours are also available to you through software
commands.

Use the ESC r n command to print in colour. Your selection for n represents a particular
colour as depicted in the following table.

Value of n Colour
0 Black
1 Magenta
2 Cyan
3 Violet
4 Yellow
5 Orange
6 Green

National Character Set ASCII Hexadecimal Decimal


Selects National Character Set ESC ! n 1B 21 n 27 33 n

Selects from 19 character sets a specific international character set, each of which
has a set of characters and symbols used in a particular language. The decimal value
of n ranges from 64 to 81 and 90. The following table shows the values that access
these character sets.

3 -- 14
Language n ASCII n Decimal n Hexadecimal
USA (0) @ 64 40
USA (0) A 65 41
British B 66 42
German C 67 43
French D 68 44
Swedish 1 E 69 45
Danish F 70 46
Norwegian G 71 47
Dutch H 72 48
Italian I 73 49
French-Canadian J 74 4A
Spanish K 75 4B
Swedish 2 L 76 4C
Swedish 3 M 77 4D
Swedish 4 N 78 4E
Turkish 0 79 4F
Swiss 1 P 80 50
Swiss 2 Q 81 51
Legal/Publisher Z 90 5A

3 -- 15
Code Page
Normally the code page USA is the base for printable characters for the IBM Character
Sets 1 and 2 and the All Character Set. In the sets 1 and 2 some areas are used for
control codes, in the All Character Set all 255 positions are printable.

These printable characters are reassigned using the code pages, the control codes in
the IBM sets 1 and 2 do not change.

To use one of the Code Pages the menu must be set accordingly. Using code pages
like Multilingual, Norway, Turkey or Portugal enables you to use national characters
and symbols which are not available in the normal character sets. The Code Page
Character Sets are shown in Appendix B.

National characters ASCII Hexadecimal Decimal


Select Code Page ESC [ T 1B 5B 54 27 91 84
ENQ NUL 05 00 00 00 5000
NUL NUL n1 n2 00 n1 n2 0
n1 n2NUL

These commands allow you to select character sets that replace some less frequently
used characters with symbols used in a variety of European languages.

☞ Note: When Code Pages are selected, slashed zero can be selected by the
menu.

To select code pages in IBM emulation, take the IBM ID number and divide it by
256. Assign this number to n1 and the remainder to n2.

Example: To specify code page 850 use this BASIC statement:

LPRINT CHR$ (27); “[T”; CHR$ (5); CHR$ (0); CHR$ (0);
CHR$ (0);CHR$ (3); CHR$ (82); CHR$ (0);

3 -- 16
Carriage Movement
Backspace ASCII Hexadecimal Decimal
Backspace BS 08 8

This prints data that is in the print buffer and moves the printhead one character to
the left. The actual width of the backspace depends on the pitch in effect.

Horizontal Tab ASCII Hexadecimal Decimal


Execute horizontal tab HT 09 9

Causes the pnnthead to skip to the next horizontal tab setting which is specified
either through default or the ESC D command. Tab positions are pitch dependent;
settings remain in effect with pitch change.

Vertical Tab ASCII Hexadecimal Decimal


Tabs to next stop VT 0B 11

Prints data in the print buffer and advances paper to the next stop programmed by
ESC B. If the AUTO CR option in the menu is set to YES a CR will be added to each
VT. If no vertical tabs have been set, the VT command will be executed as a Line
Feed.

Form Feed ASCII Hexadecimal Decimal


Advances to TOF FF 0C 12

Advances paper to the next top of form according to the current page length. A CR
will be executed automatically.
Carriage Return ASCII Hexadecimal Decimal
Carriage Return CR 0D 13

Initiates the printing of data from the print buffer and resets one-line double width
mode. If the Auto Line Feed is set, a line feed is also automatically executed with the
CR command.

3 -- 17
Horizontal Tab ASCII Hexadecimal Decimal
Set Horizontal Tab ESC D n1 lB 44 n1 27 68 n1
n2 n3... NUL n2 n3 ...00 n2 n3 ...0

Sets up to 28 horizontal tabs, which depend on the character pitch in effect. Specify
tab settings from the home position in ascending order, and end the sequence with
NUL. The range of n is a decimal value from 1 to 255. Tab settings are absolute and
change in accordance with the left margin if it is reset.

The HT command then causes the printer to skip to the next horizontal tab.

Maximum n values are specified in the following table according to pitch:


Pitch Max. Value
10 135
12 162
15 203
17.1 232
18 243
20 255

ESC D NUL deletes all horizontal tabs.


Vertical Tabs ASCII Hexadecimal Decimal
Sets Vertical Tab stops ESC B n1 1B 42 n1 27 66 n1
n2 NUL n2...00 n2...0

Sets from 1 to 64 absolute vertical tabs where n represents the line number, ranging
from 1 to 255. Values must be entered in ascending order. Tabs are set in the current
line spacing. End the tab sequence with NUL.

The VT command then causes the printer to skip to the next tab stop.

Vertical tabs are cleared with ESC B NUL or ESC R.

3 -- 18
Default Tab Setting ASCII Hexadecimal Decimal
Sets Tabs to default ESC R 1B 52 27 82

The horizontal tabs will be set to their default value, which is every 8th column
starting at column 9. The vertical tabulators will all be cleared, so a VT will result in
a LF.
Relative Dot Position ASCII Hexadecimal Decimal
Relative dot position n/1 20 inch ESC d n1 n2 1B 64 n1 n2 27 100 n1 n2

Moves the print position a specified number of n⁄120 inches (dots) to the right of the
current position. To calculate the values of n1 and n2, divide the number of dots (n)
you want to move by 256; the result is n2 and the remainder is n1.

In other words, n = n1 + n2*256. The dot position is not print mode dependent.
Values beyond the right margin will jump to the right margin.

Space Backwards ASCII Hexadecimal Decimal


Space Backwards ESC e n1 n2 lB 65 n1 n2 27 101 n1 n2

This moves the print position a specified number of n/1 20 inches to the left of the
current position.

To calculate the values of n1 and n2, divide the number of dots (n) you want to move
by 256; the result is n2 and the remainder is n1.

n = n1 + n2*256.

Values beyond the left margin moves the cursor to the left margin.

3 -- 19
Utility Commands
Print Suppress Mode ASCII Hexadecimal Decimal
Sets print suppress ESC Q # 1B 51 23 27 81 35
Cancels print suppress DC1 11 17
When it receives the ESC Q # command, the printer ignores all data until it receives
the DC 1 command. The SELECT light will blink when the printer is in Print Suppress
mode. The PRINT SUPPRESS EFFECTIVE menu option must be set to VALID for
these commands to be activated.
Deselect Printer ASCII Hexadecimal Decimal
Sets printer offline ESC j 1B 6A 27 106

This command changes the printer from the select to the deselect mode like pushing
the SELECT button. The only way to get into select mode again is to push the SELECT
button.
Cancel ASCII Hexadecimal Decimal
Clears data CAN 18 24

Clears the print buffer. This command does not affect control codes stored in the
printer’s memory.

Unidirectional Printing ASCII Hexadecimal Decimal


Unidirectional printing on ESC U 1 1B 55 31 27 85 49
Unidirectional printing off ESC U 0 1B 55 30 27 85 48

Your printer is designed to maximize speed by printing alternately from the left and
the right, rather than moving the printhead back to the left margin for each line. This
bidirectional printing is fast, but may result in vertical misalignment of graphics or
double and triple height characters.

Turn on unidirectional printing when precise vertical alignment from line to line is
critical.

3 -- 20
Quiet Mode ASCII Hexadecimal Decimal
Set quiet print mode ESC q 1 1B 71 31 27 113 49
Cancel quiet mode ESC q 0 1B 71 30 27 113 48

Quiet mode reduces noise while the printer is in LQ, utility, or graphics modes. You
can also select quiet mode on the front panel. You will notice that printing is much
slower when you turn on quiet mode.

Paper Out Detector ASCII Hexadecimal Decimal


Enables paper out detector ESC 9 1B 39 27 57
Disables paper out detector ESC 8 1B 38 27 56

The detector senses when less than one inch of paper remains. When this happens,
the alarm light goes on and the printer is deselected. This command overrides the
detector so that you can print closer to the bottom of the page. (The feature is also
menu selectable.) You can also override the detector manually by pressing the SELECT
button, which causes the printing of a line of data followed by a line feed. Unprinted
data is saved and printed after paper is replaced.

Bell/Buzzer ASCII Hexadecimal Decimal


Sounds buzzer BEL 7 7

This command sounds a beeper in the printer.

Cut-Sheet Feeder Control


These commands are only valid when a cut sheet feeder is installed.
CSF Single Paper Feed ASCII Hexadecimal Decimal
Feeds paper ESC EM I 1B 19 49 27 25 73

This command feeds a sheet of paper to the top of form position. If paper is already
loaded, the printer ejects the loaded paper, and loads another sheet. The FF code is
used to feed paper from the output tray.

3 -- 21
CSF Single Sheet Eject ASCII Hexadecimal Decimal
Eject single sheet ESC EM R 1B 19 52 27 25 82

Ejects a single sheet. Data in the print buffer is printed before paper is ejected. A line
feed code at the end of the page causes next sheet to load automatically.

Multi Bin Select ASCII Hexadecimal Decimal


Determines paper bin ESC EM n 1B 19 n 27 25 n

Determines which paper bin is active when the dual bin CSF 3002 is installed. Bin 1
is the default. Replace n with 2 to select bin 2, or 1 to select bin 1.

☞ Note: Use Bin ]for envelopes and be sure to adjust the printhead gap. See
the Setup Guide for details.

Cut Sheet Feeder ASCII Hexadecimal Decimal


Cut Sheet Feeding ESC [F lB SB 46 27 91 70
n1 n2 n1 n2 n1 n2
m1 m2 m3 m1 m2 m3 m1 m2 m3

n1 n2: number of parameters n1 + n2 * 256


ml: paper feeding method
m2: reserved should be m2 = 1 or m2 = 3
m3: bin number

n1 and n2 are the number of bytes in the sequence. Normally this will be three so nl
= 3 and n2 = 0.

m1 defines paper feeding method and m2 is usually set to 1 and m3 defines the bin
number.

m1 = 1 set manually inserting mode


m1 = 3 set CSF mode
m3 = 0 no change
m3 = 1 Bin 1
m3 = 2 Bin 2

3 -- 22
4
EPSON Control Code Reference
Character Format
Character Format (One line) ASCII Hexadecimal Decimal

Sets double width for one line SO or 0E or 14 or


ESC SO lB 0E 27 14
Cancels double width for one line DC4 14 20

Doubles character width for one line only; prints half as many characters per inch in
each pitch. SO and ESC SO can also be cancelled by a carriage return or line feed,
ESC W 0 or the ESC ! command. At the end of the line of double width characters
current print mode resumes. ESC W 1 takes precedence over SO.

Continuous Double
Width Printing ASCII Hexadecimal Decimal
Sets double width print mode ESC W 1 1B 57 31 or 27 87 49
or FS E1 1C 45 31 or 28 69 49
Cancels double width print ESC W 0 1B 57 30 or 27 87 48
or FS E0 1C 45 30 or 28 69 48

Doubles the width of all characters; produces half as many characters per inch in
each pitch. With this command, double width characters print continuously until
reset by ESC W 0. Double width can also be set by the ESC ! command.

Triple Width Printing ASCII Hexadecimal Decimal


Sets triple width printing ESC m 1B 6D 27 109
Cancels triple width printing ESC W 0 1B 57 30 27 87 48

Triples the width of the characters. You can also cancel this feature by choosing
either double or single width printing in the Menu Select mode.

4 -- 1
Double/Triple Height ASCII Hexadecimal Decimal
Sets double height printing ESC US SOH 1B IF 01 27 31 1
or ESC w SOH
Sets triple height printing ESC US STX 1B 1F 02 27 31 2
or ESC w STX
Cancel double/triple height ESC US NUL 1B 1F 00 27 31 0
or ESC w NUL
Sets double height printing FS V SOH 1C 56 01 28 86 1
Cancel double height printing FS V NUL 1C 56 00 28 86 0

Double/triple height characters are printed twice/three times the height of standard
characters from the same base line. Double/triple and standard height characters can
all be printed within the same line. To avoid having lines overlap, use the variable
line spacing command to set double line spacing for double height and triple line
spacing for triple height. You may also set it through your software.

Print modes that accommodate double/triple height include utility and DLL utility,
emphasised, double/triple width, and NLQ/LQ. Two and three passes are required
for double and triple height characters respectively.

Italic Characters ASCII Hexadecimal Decimal


Set italic print mode ESC 4 1B 34 27 52
Cancels italic printing ESC 5 1B 35 27 53

Prints italic (slanted) characters. You can also select italic printing using the ESC !
command or the menu. Characters may overlap on to the next character cell.

Select IBM Character Set ASCII Hexadecimal Decimal


Selects IBM Set 1 ESC 7 1B 37 27 55
Selects IBM Set 2 ESC 6 1B 36 27 54

Use these commands to select either of the IBM character sets illustrated in Appendix
B. Before selecting either set, send the command ESC t 1 to select the graphics
character tables.

4 -- 2
Compressed Print ASCII Hexadecimal Decimal
Sets 17.1 or 20 CPI pitch SI or 0F or 15 or
ESC SI 1B 0F 27 15
Cancels 17.1/20 CPI DC2 12 18

When compressed print is in effect, pica print (10 cpi) becomes 17.1 cpi, and elite
print (12 cpi) becomes 20 cpi. Neither double nor triple width is affected by the SI
command, which you can place anywhere within a line.
Emphasised Printing ASCII Hexadecimal Decimal
Sets emphasised print mode ESC E 1B 45 27 69
Cancels emphasised print mode ESC F 1B 46 27 70

Prints second dot slightly to the right of each previously printed dot, creating characters
that are thicker horizontally. Emphasised printing is performed at half speed, and can
be done in conjunction with enhanced printing. The ESC ! command and the Menu
Select mode can also implement emphasised printing.
Enhanced/Double Strike
Printing ASCII Hexadecimal Decimal
Sets enhanced print mode ESC G 1B 47 27 71
Cancels enhanced print mode ESC H 1B 48 27 72

Prints second dot slightly below each printed dot, creating characters that are thicker
vertically. The printer makes two passes per line. This feature can be combined with
emphasised printing. ESC ! command and the Menu Select mode can also control
enhanced printing.

Outline and Shadow Printing ASCII Hexadecimal Decimal


Begin outline ESC q SOH 1B 71 01 27 113 1
Begin shadow ESC q STX 1B 71 02 27 113 2
Begin shadow and outline ESC q ETX 1B 71 03 27 113 3
End shadow and/or outline ESC q NUL 1B 71 00 27 113 0

4 -- 3
Use the outline and shadow effects to produce more interesting and stylish headings.
They can be combined together, as well as with emphasized and/or enhanced printing
for an even more striking effect.

☞ Note: Outline and shadow printing commands can only be used for printing
characters, they cannot be used to print line graphics.

Character Pitch ASCII Hexadecimal Decimal


Elite (12 cpi) ESC M 1B 4D 27 77
Pica (10 cpi) ESC P 1B 50 27 80
15cpi ESC g 1B 67 27 103

In compressed mode, elite pitch becomes 20 cpi and pica becomes 17.1 cpi;
compressed mode does not affect 15 cpi.

☞ Note: You can make pitch changes within a line without affecting double
or triple width printing.

Space Between Characters ASCII Hexadecimal Decimal


Sets spacing between characters ESC SP n 1B 20 n 27 32 n

Upon receipt of this command the printer determines the amount of space to be
added to the right of each character which is to be specified in dots. The value of n
may be from 0 to 127.

Proportional Spacing ASCII Hexadecimal Decimal


Sets/cancels proportional spacing ESC p n 1B 70 n 27 112 n

Either sets or cancels proportional printing. Where n = 1 proportional printing is


turned on; where n = 0 it is turned off.

4 -- 4
Superscript Printing ASCII Hexadecimal Decimal
Sets superscript mode ESC S 0 1B 53 30 27 83 48
Cancels superscript mode ESC T 1B 54 27 84

You can print superscripts in the compressed print mode; they appear as half height,
full-width characters.
Subscript Printing ASCII Hexadecimal Decimal
Sets subscript mode ESC S 1 1B 53 31 27 83 49
Cancels subscript mode ESC T 1B 54 27 84

You can print subscripts in the compressed print mode; they appear as half-height,
fullwidth characters.

Font Selection ASCII Hexadecimal Decimal


Select typestyles ESC k n 1B 6B n 27 107 n

With this command, you can choose either the typestyle resident in the printer or a
typestyle in an optional font cartridge. If the value of n is not one of those given in
the following table, the resident typestyle will be selected.
Decimal
value of n Typestyle
0 Roman
1 Swiss
2 Courier (default font)
3 Prestige
5 OCR-B (with OCR-B font cartridge installed)
6 OCR-A (with OCR-A font cartridge installed)
122 Swiss Bold
124 Letter Gothic
126 Resident (Courier)
127 Cartridge (with any font cartridge installed)

4 -- 5
Extended Character Set ASCII Hexadecimal Decimal
Italics set ESC t NUL or 1B 74 00 or 27 116 0 or
FS I NUL 1C 49 00 28 730
Graphics set ESC t SOH or 1B 74 01 or 27 116 1 or
FS I SOH 1C 49 01 28 73 1
DLL Set ESC t STX 1B 74 02 27 116 2
This command selects the set of characters printed for the “high” ASCII values 128
through 255. Use the command ESC t 1 before selecting one of the graphics character
sets.

Page Format
Left Margin ASCII Hexadecimal Decimal
Sets left margin ESC 1 n 1B 6C n 27 108 n

This command sets the left margin. The value of n is the width of the margin from the
far left pririthead position, measured in spaces at the active character pitch
(proportional spacing is treated as 10 cpi). Changing the pitch later will not affect the
margin.

Send this command at the beginning of a line, because it will delete any data that has
been sent to the printer, but has not been printed. Using this command will reset
horizontal tabs to the default of eight spaces, starting at the new margin.

The left margin cannot be more than 254 spaces, and it must be less than the right
margin. The following table shows the maximum allowable left and right margins
for the various character pitches.

Pitch (cpi) Left Margin Right Margin


10 135 136
12 162 163
15 203 204
17.1 232 233
18 243 244
20 254 255

4 -- 6
Right Margin ASCII Hexadecimal Decimal
Sets right margin ESC Q n 1B 51 n 27 81 n

This command sets the right margin. The value of n is the margin’s distance from the
far left printhead position, measured in spaces at the active character pitch.
(Proportional spacing is treated as 10 cpi). Changing the pitch later will not affect the
margin.

Send this command at the beginning of a line, because it will delete any data that has
been sent to the printer, but has not been printed.

The right margin cannot be more than 255 spaces, and it must be greater than the left
margin. The previous table shows the maximum allowable left and right margins for
the various character pitches.

Auto Skip Over Perforation ASCII Hexadecimal Decimal


Sets skip over perforation ESC N n 1B 4E n 27 78 n
Cancels skip over perforation ESC O 1B 4F 27 79

Sets the printer to automatically skip a specified number of lines between the last
printed line of one page, and the first printed line on the next page. The allowable
range that can be skipped may be set from 1 to 127 lines at the current line spacing;
the value of n cannot exceed the length of the current form. ESC N is reset by the
ESC O command or a page length set command.

This feature is handy for printing program listings, and printouts from software that
has no format control. However, we advise against using it with packages that do
have page formatting controls, such as word processors: the skip over perforation is
likely to interfere with the software and ruin your page format.

Form Length in inches ASCII Hexadecimal Decimal


Sets form length in inches ESC C NUL n 1B 43 00 n 27 67 0 n

Sets the form length to a specific number of inches where the value of n ranges from
1 to 22. The top of form position is set by this command, and vertical tab settings are
cleared.

4 -- 7
Form Length by lines ASCII Hexadecimal Decimal
Sets form length by lines ESC C n 1B 43 n 27 67 n

Sets the form length to a specific number of lines where the value of n ranges from 1
to 127. This command also sets the top of form position, clears vertical tab settings,
and cancels skip over perforation.

Auto justification ASCII Hexadecimal Decimal


Aligns print on the page ESC a n 1B 61 n 27 97 n

To use this feature, issue the command at the beginning of the block of text you want
to justify. Only use carriage return at the end of a paragraph.

Selections depend on the value of n as follows:

Value of n Justification
0 Left
1 Centre
2 Right
3 Full

In left justification (the default), each line is even with the left margin. The centre
selection centres each line between the left and right margins. Right justification
aligns against the right margin, leaving the left margin ragged. With full justification,
both the left and right margins are justified.

4 -- 8
Line Spacing
8 Lines Per Inch Spacing ASCII Hexadecimal Decimal
Sets line spacing to 8 lpi ESC 0 1B 30 27 48

Sets line spacing to 8 lines per inch. This command does not affect the top of form
position. You can also set this feature through the Menu Select mode.

6 Lines Per Inch Spacing ASCII Hexadecimal Decimal


Sets line spacing to 6 lpi ESC 2 1B 32 27 50

This is the default line spacing. This command does not affect the top of form position.
You can also set this feature through the Menu Select mode.

Variable n/60 Inch


Line Spacing ASCII Hexadecimal Decimal
Sets variable line spacing ESC A n 1B 41 n 27 65 n
to n/60 inch

Sets line spacing to n⁄60 of an inch where n can range from 0 to 127 (although it is
recommended that the range does not exceed 85). Line feeds will not occur if n = 0.
For example, to set line spacing for double height characters, n would be 20. Then to
set line spacing for triple height, n would be 30.

Fine Line Spacing (n/180 inch) ASCII Hexadecimal Decimal


Sets variable line spacing ESC 3 n 1B 33 n 27 51 n
n/180 inch

Sets line spacing to n⁄180 of an inch where n can range from 0 to 255. Line feeds will
not occur if n = 0.

Fine Line Spacing ASCII Hexadecimal Decimal


Sets variable line spacing ESC [ n 1B 5B n or 27 91 n or
to n/360 inch or ESC + n 1B 2B n or 27 43 n or
or FS 3n 1C 33 n 28 51 n

4 -- 9
Sets line spacing to n⁄360 of an inch where n can range from 0 to 255. Line feeds will
not occur if n = 0.

☞ Note: Depending on the language set selected by menu, “[” could be another
character.

Line Feed ASCII Hexadecimal Decimal


Initiates line feed LF 0A 10

LF initiates the printing of data and moves to the next line.


Reverse Line Feed ASCII Hexadecimal Decimal
Executes reverse line feed ESC j n 1B 6A n 27 106 n

Initiates a single reverse line feed n⁄180 inch, where n can range in value from 0 to 60.
This command does not change the current line spacing. Remember to return to the
previous position after reverse line feeding or you may overstrike characters.

☞ Note: Do not use reverse line feeds if you are using the optional pulitractor.
Fine Line Feed (n/180 inch) ASCII Hexadecimal Decimal
Executes n/180 inch line feed ESC J n 1B 4A n 27 74 n

ESC J sends an immediate n⁄180 of an inch line feed without changing current line
spacing. The variable n can have a range of 0 to 255; no line feed occurs when n = 0.
Fine Line Feed (n/360 inch) ASCII Hexadecimal Decimal
Executes n/360 inch line feed ESC ] n 1B 5D n 27 93 n

ESC ] sends an immediate n⁄360 of an inch line feed without changing current line
spacing. The variable n can have a range of 0 to 255; no line feed occurs when n = 0.

☞ Note: Depending on the language set selected by the menu, “]” could be
another character.

4 -- 10
Line Feed Direction ASCII Hexadecimal Decimal
Line feed direction backwards FS R 1C 52 28 82
Line feed direction forwards FS F 1C 46 28 70

The line feed direction commands determine the platen movement of subsequent
line feed commands. The line feed direction backwards command reverses the normal
direction of the line feed commands. Any line feed command which follows the line
feed direction backwards command is acted upon as though it were a reverse line
feed command; a reverse line feed command initiates a forwards line feed. The line
feed direction forwards command cancels this reversal of movement, and all
subsequent line feed commands are acted upon in the normal manner.

4 -- 11
Printing Features
Underlining ASCII Hexadecimal Decimal
Sets underline mode ESC - 1 1B 2D 31 27 45 49
Cancels underline mode ESC - 0 1B 2D 30 27 45 48

Underlining occurs at the same time characters are printed. The underline for super-
/subscript characters appears on the same print line as that of the preceding characters,
but does not strike through subscripts.

Set Scoring Style ASCII Hexadecimal Decimal


Set Scoring Style ESC (— 1B 28 2D 27 40 45
n1 n2 m n1 n2 m d1 d2 n1 n2 m d1
d1 d2 d2
This command sets the style and location of the line scoring.

n1 and n2 specify the number of bytes in the sequence.


n1 must be 3, n2 must be 0 and m must be 1.
d1 sets the location of the line scoring and d2 sets the style.
d1 Location d2 Style
0 cancel scoring
1 underline 1 single line
2 strike-through 2 double line
3 overscore 5 single, broken line
6 double, broken line

4 -- 12
Combination Print ASCII Hexadecimal Decimal
Selects a combination ESC ! n 1B 21 n 27 33 n
of print modes

By changing the value of n in this command, you can set any combination of the
printing styles in the following table. Calculate n by adding up the values for the
features you want to use. Each feature has a numerical value as follows:

Feature Value
Underline 128
Italics 64
Double width 32
Enhanced 16
Emphasized 8
Compressed 4
Proportional 2
Elite (12 CPI) 1

For example

To print underlined italics at 12 CPI, assign n the value 193 (128 + 64 + 1).

Each time you send the ESC ! command, it sets or cancels the values for all nine of
the features it controls. This means that if you have requested 12 CPI underlined
italics, and then want to add emphasized printing to the features, you must add 8 (the
value for emphasized) to 193, and send the command as: ESC ! 201. Just sending
ESC ! 8 would turn off all the other features as it turned emphasized on.

To see the range of print styles you can access with the ESC ! n command, run the
following short BASIC program, which prints a sample of each possible combination.
(Since the program prints all 256 combinations, it will take a few minutes and about
12 pages for the entire sample to print.)

4 -- 13
10 OPEN “LPT1 :” AS #1: WIDTH “LPT1 :”, 255
20 FOR I=0 TO 255
30 PRINT #1: PRINT #1
40 PRINT #1, CHR$(27);“!”;CHR$(I);“ESC!”;“n”; “selects this combination”
50 NEXT I

NLQ/High Speed Draft ASCII Hexadecimal Decimal


Sets NLQ printing ESC ( 2 1B 28 32 27 40 50
Sets High Speed draft ESC ( 0 1B 28 30 27 40 48

NLQ prints in either 10 or 12 cpi, while the High Speed Draft mode functions in
either 15 or 18 CPI. Before switching print modes, make sure that the printer is set
for a compatible character pitch.
LQ/Utility ASCII Hexadecimal Decimal
Sets LQ printing ESC x 1 1B 78 31 27 120 49
Sets Utility printing ESC x 0 1B 78 30 27 120 48

LQ is the factory set print mode; it is available in 10, 12, 15, 17.1, and 20 CPI. Utility
printing is available in 10, 12,15, 17.1, and 20 CPI. LQ is the only mode that allows
proportional spacing. The LQ print command sent while the printer is in either the
utility or DLL modes initiates LQ proportional space printing. The proportional space
cancel command then returns the printer to its respective print mode, either DLL or
utility.

Colour Printing ASCII Hexadecimal Decimal


Select Colour Printing ESC r n 1B 72 n 27 114 n

Colour printing is available on the ML395C printer only. If you own an ML395C,
you must have a colour ribbon installed in order to print colour. You must also change
the menu setting from BLACK RIBBON to another selection. We recommend BLACK
which is the black band of the colour ribbon. Using this selection, black is selected as
the standard colour but all other colours are also available to you through Software
commands.

4 -- 14
Use the ESC r n command to print in colour. Your selection for n represents a particular
colour as depicted in the following table:

Value of n Colour
0 Black
1 Magenta
2 Cyan
3 Violet
4 Yellow
5 Orange
6 Green

Foreign Character Set ASCII Hexadecimal Decimal


Selects Foreign Character Set ESC R n 1B 52 n 27 82 n

Selects from 22 character sets a specific international character set each of which has
a set of 16 characters and symbols used in a particular language. The decimal value
of n ranges from 0 to 20 and 64. You can also print international characters in italics.
The following table shows the values that access the character sets.
Language Decimal Language Decimal
value of n value of n
ASCII 0 LATIN AMER. 12
FRENCH 1 FR. CAN. 13
GERMAN 2 DUTCH 14
BRITISH 3 SWEDISH II 15
DANISH I 4 SWEDISH III 16
SWEDISH 5 SWEDISH IV 17
ITALIAN 6 TURKISH 18
SPANISH I 7 SWISS I 19
JAPANESE 8 SWISS II 20
NORWEGIAN 9 LEGAL/PUB. 64
DANISH II 10
SPANISH II 11

4 -- 15
The EPSON Emulation offers a set of national character sets and code pages. The
following tables give the value of n to select the different character sets. When a code
page is selected and national character set command is sent, the code page will be
reset to USA.

4 -- 16
National Characters ASCII Hexadecimal Decimal
Select National Character ESC R n 1B 52 n 27 82 n
Set and Code Pages

Slashed zero can be selected by the menu even though code page is selected.

ESC R 7 sets Spanish I when standard Italic Character Set is selected.

ESC R 7 sets Cyrillic code page when Graphic Character Set is selected. When the
code page selection command is sent, the national character set will be reset to default.

4 -- 17
Carriage Movement
Backspace ASCII Hexadecimal Decimal
Backspace BS 08 8

This prints data that is in the print buffer and moves the printhead one character to
the left. The actual width of the backspace depends on the pitch in effect.

Horizontal Tab ASCII Hexadecimal Decimal


Execute horizontal tab HT 09 9

Causes the printhead to skip to the next horizontal tab setting which is specified
either through default or the ESC D command. Tab positions are pitch dependent;
settings remain in effect with pitch change.
Vertical Tab ASCII Hexadecimal Decimal
Execute vertical tab VT 0B 11

Prints data in the print buffer and advances paper to the next tab stop programmed by
ESC B or ESC/.

Form Feed ASCII Hexadecimal Decimal


Advances to TOF FF 0C 12

Advances paper to the next Top of Form according to the current page length.

Carriage Return ASCII Hexadecimal Decimal


Carriage Return CR 0D 13

Initiates the printing of data from the print buffer and resets one-line double width
mode. If the Auto Line Feed is set, a line feed is also automatically sent with the CR
command.

4 -- 18
Horizontal Tab ASCII Hexadecimal Decimal
Set horizontal tab ESC D n1 1B 44 n1 27 68 n1
n2 n3...NUL n2 n3...00 n2 n3...0

Sets up to 32 horizontal tabs, which depend on the character pitch in effect. Specifies
tab settings from the home position in ascending order, and end the sequence with 0.
The range of n is a decimal value from 1 to 255. Tab settings are absolute and change
in accordance with the left margin if it is reset.

The HT command causes the printer to skip to the next horizontal tab. Maximum n
values are specified as follows according to pitch:

Pitch Max. Value


10 135
12 163
15 203
17.1 233
18 243
20 255

Vertical Tabs ASCII Hexadecimal Decimal


Sets vertical tab stops ESC B n1 1B 42 n1 27 66 n1
n2...NUL n2...00 n2...0
Sets from 1 to 16 absolute vertical tabs where n represents the line number, ranging
from 0 to 255. Values must be entered in ascending order. Tabs are set in the current
line spacing. End the tab sequence with 0. ESC B NUL clears the vertical tabs.

The VT command causes the printer to skip to the next tab stop.

Vertical Tab Channel ASCII Hexadecimal Decimal


Selects vertical tab channel ESC / n 1B 2F n 27 47 n

Causes the printer to select one of the vertical tab channels, previously set through
the ESC b command. The variable n represents the number of the desired channel,
and can have a value from 0 to 7.

4 -- 19
Absolute Horizontal Tab ASCII Hexadecimal Decimal
Absolute horizontal tabs ESC $ 1B 24 27 36 n1
n1 n2 n1 n2 n1 n2

Moves the printhead to an absolute position (independent of character pitch) and


initiates printing. To calculate the values of n1 and n2, begin with the distance of the
tab from the left margin in inches. Multiply that distance by 60, then divide the result
by 256; the whole number result is n2 and the remainder is n1.

Suppose, for example, you want to set a tab 9 inches from the margin: 9 multiplied
by 60 equals 540; 540 divided by 256 equals 2, with a remainder of 28, so n1 =28 and
n2 =2.

Relative Dot Position ASCII Hexadecimal Decimal


Relative dot position ESC \ 1B 5C 27 92
n1 n2 n1 n2 n1 n2

Moves the print position a specified number of dots to the left or right of the current
print position. To calculate the values of nl and n2, divide the number of dots you
want to move by 256; the result is n2 and the remainder is n1. Actual dot position is
print mode dependent use the dots/inch figures in the following table to calculate
position in inches. Values beyond the right margins are ignored. Allowable dot position
values can range to the following maximums:

Mode Dots/Line Dots/inch


HSD, NLQ, Utility 1631 120
LQ, Proportional 2447 180

☞ Remark: Depending on the language set selected by menu, “\”could be


another character.

4 -- 20
Set Vertical Format Unit ASCII Hexadecimal Decimal
Sets vertical tabs for specified ESC b n 1B 62 n 27 98 n
channels x1 x2.. x1 x2..00 x1 x2..0
NUL

Allows you to set up to eight sets of vertical tab stops (channels), each of which can
contain up to 16 stops, represented by x l, x2 .... The variable n represents the channel
(0 to 7). Values given to the x variables can range from 1 to 254 and represent the line
number of the stop. The stops must be given in ascending order; the sequence is
terminated by sending a 0 to the printer. To clear the vertical tabs in a given channel,
send the ESC b n 0 command.

Relative Tab Stops ASCII Hexadecimal Decimal


Sets variable horizontal or ESC e n x 1B 65 n x 27 101 n x
vertical tabs

Sets horizontal or vertical tabs where x can range from 0 to 127 and represents either
character or line spaces from the current print position.

The value of n specifies horizontal (n = 0) or vertical (n = 1) tabs.

Relative Print Position ASCII Hexadecimal Decimal


Sets horizontal position ESC f 0 n 1B 66 30 n 27 102 48 n
Sets vertical position ESC f 1 n 1B 66 31 n 27 102 49 n

This command moves the printhead either horizontally or vertically. If the horizontal
setting is used, n represents 0 to 127 space characters. With the vertical setting, n
represents 0 to 127 line feed characters.

4 -- 21
Utility Commands
Reset ASCII Hexadecimal Decimal
Resets printer ESC @ or 1B 40 or 27 64 or
FS @ 1C 40 28 64
This command resets the printer, returning it to its default state (i.e. the settings on
the current menu). This is also called initializing the printer. Resetting also clears
any data in the printer’s buffer waiting to be printed. If RESET INHIBIT in the menu
is set to YES, these commands will be ignored.

Resetting is sometimes used to initialize the printer at the beginning or end of aprogram
run. Many applications are written to automatically reset the printer, which could
interfere with settings you have made on the control panel or through control codes.

If your software allows you to add or modify setup strings or initialization strings,
you can eliminate reset commands that you do not need, or add them where you want
to automatically return the printer to its defaults. Refer to your software manual for
details on modifying printer drivers.

Print Suppress Mode ASCII Hexadecimal Decimal


Sets print suppress DC3 13 19
Cancels print suppress DC1 11 17

When it receives the D3 command, the printer ignores all data until it receives the
DC1 command. If this causes loss of data, you can use the Menu Select mode to
make the printer ignore DC3. The SELECT light will blink when the printer is in
Print Suppress mode. The menu option PRINT SUPPRESS EFFECTIVE must be
set to VALID for these commands to be active.
Cancel ASCII Hexadecimal Decimal
Clears data CAN 18 24

Clears the print buffer. This command does not affect control codes stored in the
printer’s memory.

4 -- 22
Unidirectional Printing ASCII Hexadecimal Decimal
Unidirectional printing on ESC U 1 1B 55 31 27 85 49
Unidirectional printing off ESC U 0 1B 55 30 27 85 48

Your printer is designed to maximise speed by printing alternately from the left and
the right, rather than moving the printhead back to the left margin for each line. This
bidirectional printing is fast, but may result in vertical misalignment of graphics or
double and triple height characters.

Turn on unidirectional printing when precise vertical alignment from line to line is
critical.

Half Speed Printing ASCII Hexadecimal Decimal


Half Speed Printing on ESC s 1 1B 73 31 27 115 49
Half Speed Printing off ESC s 0 1B 73 30 27 115 48

Sets or cancels half speed printing in text modes only. This is another way to reduce
noise when you are printing.

Paper Out Detector ASCII Hexadecimal Decimal


Enables paper out detector ESC 9 1B 39 27 57
Disables paper out detector ESC 8 1B 38 27 56

The detector senses when less than one inch of paper remains. When this happens,
the alarm light goes on and the printer is deselected. This command overrides the
detector so that you can print closer to the bottom of the page. (This feature is also
menu selectable.) You can also override the detector manually by pressing the SELECT
button, which causes the printing of a line of data to be followed by a line feed.
Unprinted data is saved and printed after the paper is replaced.
One Line Unidirectional ASCII Hexadecimal Decimal
One Line Unidirectional ESC < 1B 3C 27 60
printing on

Initiates unidirectional printing for one line only.

4 -- 23
7- or 8-Bit Commands ASCII Hexadecimal Decimal
Sets MSB to 1 ESC > 1B 3E 27 62
Sets MSB to 0 ESC = 1B 3D 27 61
Cancels 7-bit or 8-bit selection ESC # 1B 23 27 35
The ESC > command sets the Most Significant Bit (MSB) of an 8- bit data input to 1.
The ESC = commands sets the MSB to 0. ESC # cancels MSB control established by
either ESC > or ESC = and all data is interpreted exactly as sent from the computer.

Bell/Buzzer ASCII Hexadecimal Decimal


Sounds buzzer BEL 07 7

This command sounds a beeper in the printer.

Delete Character ASCII Hexadecimal Decimal


Deletes last character sent DEL 7F 127
to print buffer
Deletes the last character sent to the printer. This command deletes one space of a
horizontal tab skip and will not delete graphics data.

Cut-Sheet Feeder Control


These commands are only valid when a cut sheet feeder is installed.

CSF Single Paper Feed ASCII Hexadecimal Decimal


Feeds paper ESC EM 1 1B 19 49 27 25 73

This command feeds a sheet of paper to the top of form position. If paper is already
loaded, the printer ejects the loaded paper, and loads another sheet. The FF code is
used to feed paper from the output tray.

4 -- 24
CSF Single Paper Eject ASCII Hexadecimal Decimal
Ejects single sheet ESC EM R 1B 19 52 27 25 82

Ejects a single sheet. Data in the print buffer is printed before paper is ejected. A line
feed code at the end of the page causes the next sheet to load automatically.

Multi Bin Select ASCII Hexadecimal Decimal


Determines paper bin ESC EM n 1B 19 n 27 25 n

Determines which paper bin is active when the dual-bin CSF 3002 is installed. Bin 1
is the default. Replace n with 2 to select bin 2, or 1 to select bin 1.

☞ Note: Use Bin 1 for envelopes and be sure to adjust the printhead gap. See
the Setup Guide for details.

4 -- 25
5
Graphics
Your printer’s bit image graphics feature lets you create rules, borders, charts, and
even entire illustrations. Just as a newspaper photograph is actually made up of tiny
dots, the graphic images your printer makes are actually tiny dot patterns that together
make up a picture. The challenge is managing the hundreds or even thousands of
dots as you would like to. Because it is the easiest and most effective way for you to
create images, we suggest that you use a graphics software package. These packages
are sophisticated programs designed to handle all those graphic dots for you, so that
you can create images easily without writing a single line of programming. But, if
you really want to, you can write your own programs to produce graphics printouts.
First you must learn a little about your printer’s technology.

Your ML395 printhead has two columns of 12 pins, for a total of 24 pins. Images are
created as the pins “fire,” pressing the inked ribbon against the paper to produce dots.
In places where no pins have been fired, no ink is deposited on the paper, and white
space appears on the page.

In some of the ASCII modes the printer uses a “Quasi-8-bit Mode”. Basically this
means that although you program the byte for 8 pins your printer will automatically
convert this data for its 24 pin printhead. So that for every dot you program in a
columm, two dots will be printed.

The following table should help you to understand the effect this has:
Pin/Bit Set Pins Fired
Top 7 1 and 2
6 4 and 5
5 6 and 7
4 9 and 10
3 11 and 12
2 14 and 15
1 16 and 17
Bottom 0 19 and 20

☞ Note: Pin 3 would also be fired if 7 and 6 are set to fire together. This also
applies for Pins 8,13 and 18 when the pins above and below are set to fire
together. Pins 21 to 24 are not used in this mode.

5 -- 1
The ML395 ’s 24-pin graphics modes use all the pins to create a column of 24 dots.
Obviously, images produced with all 24-pins can be sharper and more detailed than
8-pin images.

☞ Note: If you have software that supports 24-pin graphics, you will be able
toprint in all the24-pin modes. Owners of older software that supports only
8-pin graphics can use the ML395’s 8-pin modes.

Graphics programs, whether sophisticated commercial packages or simple programs


similar to our graphics demo send a series of commands to the printer, which then
uses them to control the firing of the pins.

The software control for graphics comes from both the control codes listed later on
and the graphics data sent from the computer. Before we discuss the control codes,
let us take a look at the structure of graphics data.

Graphics data, like all other data sent to the printer, consists of a series of bytes. Each
of the eight bits in a byte of graphics data corresponds to one pin on the printhead. A
bit’s value can be either 1 or 0. When the printer receives the data, it interprets a bit
with a value of 1 as a command to fire the corresponding pin. Bits that are set to 0 do
not cause pins to fire.

Instead of sending the data to the printer bit by bit, you will probably want to convert
this binary information into decimal or hexadecimal format for use with your
programming language. In the following figure we show how to determine the decimal
value for a given pattern of bits/pins.

A Byte of Graphics Data

5 -- 2
In the 8-bit graphics modes, where only 8 pins may be used, a single byte of data (8
bits) represents one column of printed graphics.

In the 24-pin modes, the printer co-ordinates the printhead’s movement with the
firing of pins in such a way that the printed dots appear in a single column, 24 dots
high. For this reason, 3 bytes of data (for a total of 24 bits) are needed for each
column of 24-pin graphics.

A Byte of 24 Pin Graphics Data

5 -- 3
Control Codes for Graphics in Normal IBM Mode
The following graphics commands apply to the normal IBM mode.
Graphics Command ASCII Hexadecimal Decimal
Single Density ESC K n1n2 1B 413 n1 n2 27 75 n1 n2
Double Density half speed ESC L n1 n2 1B 4C n1 n2 27 76 n1 n2
Double Density full speed ESC Y n1 n2 1B 59 n1 n2 27 89 n1 n2
Quadruple density ESC Z n1 n2 1B 5A n1 n2 27 90 n1 n2
High Density ESC [ g 1B 5B 67 27 91 103
n1 n2 m n1 n2 m n1 n2 m

Probably the easiest command to use from the above table will be the High Density
Command ESC [ g n1 n2 m data, where n1 n2 are the number of bytes of data that are
going to be printed in graphics, m is the mode which is followed by the actual
dotcolumn information.

☞ Note: The calculation of n1 and n2 is described in the AGM section under


the heading Writing the Program.

The reason for this command being the easiest is that it covers all the other commands
as you can see from the following table:
m= Dots per Dots Per Pins Comment
Inch (h) Line
0 60 816 8* same as ESC K command
1 120 1632 8* same as ESC L command
2 120 1632 8* same as ESC Y command
3 240 3264 8* same as ESC Z command
8 60 816 24
9 120 1632 24
11 180 2448 24
12 360 4896 24

*8 denotes Quasi 8-bit graphics.

5 -- 4
In addition to the commands for graphic density, there are also several control codes
for setting different line spacings. These are only summarised in the following table
because for the ASCII mode, the commands have already been explained in some
detail under Line Spacing in Chapter 1.

☞ Note: If you have set the AGM some of these commands will have a different
function to those described in the following table.

Graphics Line Spacing ASCII Hexadecimal Decimal


Selects line spacing value in ESC A n lB 41 n 27 65 n
n/72 inch

Activates the line spacing ESC 2 lB 32 27 50


selected by ESC A n
Sets the line spacingto ESC 3 n lB 33 n 27 51 n
n/216 inch

Executes n/216 inch line feed ESC J n lB 4A n 27 74 n


Sets the base constant for ESC 1I\EOT lB 5B 5C 04 27 91 92 4
ESC J and ESC 3 NUL NUL 00 00 00 000
NUL n1 n2 n1 n2 nl n2

☞ Note: 1. Depending on the language set selected by the menu,“[” could be


another character.
2. n1 =0, n2 = either 180 or 216 (216 is default).

Select Aspect Ratio ASCII Hexadecimal Decimal


Select aspect ratio ESC n d lB 6E d 27 110 d
This command specifies the horizontal to vertical aspect ratio for the graphics bit
image commands, ESC K, ESC L, ESC Y and ESC 2.

d = 0 or 1: select aspect ratio of 5:6


d = 2: select aspect ratio of 1:1
d >= 3: ignored.

The aspect ratio determines the vertical dot density depending on the bit image
command being used.

5 -- 5
The IBM Alternate Graphics Mode
In this mode (AGM) all commands which are involved in graphic line spacing have
a different meaning. This mode is partly compatible to the EPSON LQ series printers:

LQ 1500
LQ 800/1000
LQ 2500

as far as the graphic commands are concerned.

The following commands are affected by the AGM:

ESC A n
ESC Jn
ESC 2
ESC 3 n

One command is unique to AGM:

ESC * m n1 n2

The commands are described in the following tables:

Variable n/60 inch Line Spacing ASCII Hexadecimal Decimal


Sets variable line ESC A n lB 41 n 27 65 n
spacing to n/60 inch
Activates the line ESC 2 lB 32 27 65
spacing selected by ESC A n

Sets line spacing to n⁄60 inch where n can range from 1 to 255. For example, to set line
spacing for double height characters, n would be 20. Then to set line spacing for
triple height, n would be 30.

The line spacing selected by ESC A n must be followed by ESC 2 before it can come
into effect. Using ESC 2 without a previous ESC A n command sets the line spacing
to 6 lines per inch.

5 -- 6
Fine line spacing n/180 inch ASCII Hexadecimal Decimal
Sets variable line ESC 3 n lB 33 n 27 51 n
spacing to n⁄180 inch

Sets line spacing to n⁄180 where n can range from 1 to 255.

Fine Line Feed (n⁄180) inch ASCII Hexadecimal Decimal


Executes n⁄180 inch line feed ESC J n lB 4A n 27 74 n

ESC J sends an immediate n⁄180 of an inch line feed without changing current line
spacing. The variable n can have a range of 1 to 255. No line feed occurs when n =0.
This command will not clear one-line enlarged character codes (SO). A CR will
either be sent or not depending on the menu setting.
Sets Base Unit to
n⁄180 inch or n⁄216 inch
ASCII Hexadecimal Decimal
Sets base unit for ESC 3 and ESC [ \ EOT lB 5B 5C 04 27 91 92 4
ESCJ to n⁄180 inch or n⁄216 inch NULNUL 00 00 00 n1 n2 0 0 0 n1 n2
NUL n1 n2
This command sets the base unit used in the commands ESC 3 and ESC J to either
1
⁄180 inch or 1⁄216 inch. ni = 0, n2 = either 180 or 216.

Graphic Mode ASCII ]_Hexadecimal Decimal


Selects graphic ESC * m lB 2A m 27 42 m
n1 n2 n1 n2 n1 n2
This command is only effective in the AGM and is used to choose the graphic mode
required.

5 -- 7
Epson Graphics Mode
Graphic Mode ASCII Hexadecimal Decimal
Enter/exit bit image graphics ESC * m lB 2A m 27 42 m
n1 n2 n1 n2 n1 n2
Begin hex density graphics FS Z n1 n2 1C 5A n1 n2 28 90 n1 n2
(graphics (graphics (graphics
data) data) data)
Set quasi 8-bit mode ESC y 1 lB 79 31 27 121 49
Reset quasi 8-bit mode ESC y 0 lB 79 30 27 121 48
Reassign alternate graphics ESC ? n m lB 3F n m 27 63 n m
modes

Programming in AGM and Epson Modes


There are 11 graphics modes available to you: 6 in 8-pin graphics and 5 in 24-pin.
The following table describes the features of each:
Horizontal Density
m= Mode Pins Dots per inch Dots per line
0 Single Density 8 60 816
1 Double Density 8 120 1632
2 High-Speed Double 8 120 1632
Density
3 Quadruple-Density 8 240 3264
4 CRT I 8 80 1088
6 CRT 11 8 90 1224
32 Single Density 24 60 816
33 Double-Density 24 120 1632
38 CRT III 24 90 1224
39 Triple-Density 24 180 2448
40 Hex-Density 24 360 4896

☞ Note: Adjacent horizontal dots are not printed in the High-Speed Double
Density or Quadruple-Density modes.

5 -- 8
Programming 24-pin Graphics
The 24-pin graphics mode uses the full potential of the ML395 printhead. There are
five print densities available to you in the 24-pin mode. Higher densities are achieved
by increasing the number of dots that appear horizontally on one line. We will show
you examples of what each of the five densities look like when printed. To create a
graphic, begin by mapping out the image you want to print out on a piece of graph
paper. We are using a triangle.

Since our example illustrates 24-pin graphics, each column is made up of 3 groups of
8 dots, arranged vertically. To print each column, you will need to send 3 bytes of
data. The first byte you send controls the top eight pins in the column, the second
byte controls the middle, and the third controls the bottom eight pins.

Writing the Program


Before your printer can interpret the graphics data, you must send the command that
puts it mto the graphics mode:

ESC * m

5 -- 9
For m, substitute the density code for the graphics mode you want to use:
8-pin modes 24-pin modes
Single Density: 0 Single Density: 32
Double Density: 1 Double Density: 33
High Speed:
DoubleDensity: 2 CRT III: 38
Quad Density: 3 Triple Density: 39
CRT I 4 Hex Density: 40
CRT 11 6
Next you must specify the number of columns of graphics you will be printing. In
our triangle example, each triangle requires 48 columns. We will be printing a row of
6 triangles, however, so the total number of graphics columns is 288 (6 x 48).

This information is given in the two variables n1 and n2. If your pattern consists of
less than 256 columns, replace n1 with the number of columns, and assign n2 the
value 0. For patterns with 256 columns or more, n2 represents the number of 256-
column groups in the pattern, while n1 is the number of single columns left over
when all the 256-column groups have been accounted for. In our example of a 288-
column pattern, n2 is 1, and the remainder, n1, is 32.

n2 = int288 = 1
256

n1 = 288 - (n2 x 256) = 32

When the graphic bytes you specify have all been read, then your computer switches
out of the graphics mode automatically.

Listing 1 is the BASIC program that generates a row of 6 triangles indifferent densities.

5 -- 10
Listing 1: Six Triangles in Various Densities

10 REM 24-pin graphic demo


25 OPEN “LPT1:” AS #l:WIDTH “LPT1:”,255: REM prepare output
30 PRINT# 1,CHR$(27); “@”;:REM init printer
31 FORMODE= l to 5
32 IF MODE =1 THEN PRINT# 1,“24-pin Single-Density”; CHR$(10);CHR$(10):
D=32:GOTO 50
33 IF MODE =2 THEN PRINT# 1,“24-pin Double Density”; CHR$(lO)CHR$(lO):
D=33:GOTO 50
34 IF MODE =3 THEN PRINT#1,“24-pin CRT III”;CHR$(10);
CHR$(10)D=38: GOTO 50
35 IF MODE =4 THEN PRINT#1,“24-pin Triple Density”;CHR$(lO);CHR$(lO):
D=39:GOTO 50
40 IF MODE =5 THEN PRINT#1,“24-pin hexdensity”;CHR$(lO);CHR$(lO);:
D=40
50 PRINT# 1 ,CHR$(27);“*”;CHR$(D);CHR$(32);CHR$(1);
60: REM CHR$(D) is the density in this case D=40 for hex-density
70: REM CHR$(32) and CHR$(1) indicate the number of columns: 288=32+(l *256)
80 FOR I=1 TO 6: REM repeat triangle pattern 6 times
90 FOR J=l TO 48: REM triangle is made of 48 columns
100 READ A,B,C: REM 3 bytes for each column
110 PRINT#l,CHR$(A);CHR$(B);CHR$(C);: REM send it to printer
120 NEXT J
130 RESTORE
140 NEXT I:PRINT#1,CHR$(10);CHR$(10): REM next triangle
141 NEXT MODE
145:
150 DATA 0, 0, 1, 0, 0, 3, 0, 0, 7, 0, 0, 15
160 DATA 0,0,31,0,0,63,0,0,127,0,0,255
170 DATA 0, 1, 255, 0, 3, 255, 0, 7, 255, 0, 15, 255
180 DATA 0, 31, 255, 0, 63, 255, 0,127, 255, 0, 255, 255
190 DATA 1, 255, 255, 3, 255, 255, 7, 255, 255, 15, 255, 255
200 DATA 31, 255, 255, 63, 255, 255,127, 255, 255, 255, 255, 255
210 DATA 255, 255, 255,127, 255, 255, 63, 255, 255, 31, 255, 255
220 DATA 15, 255, 255 7,2 55, 255, 3, 255, 255 1, 255, 255
230 DATA 0,255,255,0,127,255,0,63,255,0,31,255
240 DATA 0, 15, 255,0,7,255,0,3,255,0,1,255
250 DATA 0,0,255,0,0,127,0,0,63,0,0,31
260 DATA 0,0, 15,0,0,7,0,3,0,0,1
265
270 END
5 -- 11
Your printout will look like this:

Should the graphics appear displaced, set the Menu Option AUTO CR to YES.

5 -- 12
8-Pin Graphics
Aside from differences in data format, 8-pin and 24-pin graphics are programmed
identically.

Usually, you will use the standard ESC * m n1 n2 command to enter either 8- or 24-
pin graphics modes. However, there are alternative commands for four of the 8-pin
modes:

Single-Density: ESC K n1 n2
Double-Density: ESC L n1 n2
High-Speed Double-Density: ESC Y n1 n2
Quadruple-Density: ESC Z n1 n2

Reassigning Graphics Commands


You can reassign any of the eleven 8- and 24-pin graphics modes to one of the shorter
alternative commands (ESC K, ESC L, ESC Y, or ESC Z) with the command: ESC ?
n m. For n, substitute one of the four letters (K, L, Y, or Z) used in the alternative
commands. This indicates which of the alternative commands you are redefining.
The variable m stands for the density code (from the density table shown earlier) of
the mode that you are reassigning to an alternative command. For example, to reassign
24-pin Hex-Density (density code 40) to the command ESC L n1 n2, send the
following command to the printer:

ESC ? L 40

Quasi 8-bit Graphics


This is a form of graphics printing that lets you print what looks like double density
8-pin graphics at the speed of the single density 8-pin mode. This is accomplished by
repeating each dot. Quasi 8-bit graphic printing is available in the Single-Density, 8-
bit mode only. Enter quasi 8-bit graphics by sending the command ESC y 1. ESC y 0
returns the printer to single density 8-bit printing.

5 -- 13
Print Registration
The PRINT REGISTRATION Menu Select item is a bit image graphics option that
is only used with bidirectional printing. It lets you affect the printout position of a
graphic image or table where precise column alignment is important. Choose 1 of 11
settings:

0.25 mm to the right at +5


0.20 mm to the right at +4
0.15 mm to the right at +3
0.10 mm to the right at +2
0.05 mm to the right at + 1
0 05 mm to the left at -1
0.10 mm to the left at -2
0.15 mm to the left at -3
0.20 mm to the left at -4
0.25 mm to the left at -5

Because the setting required may vary, you will need to experiment with these settings
to find which you like best. You can determine the best value by printing several
columns of vertical bar characters at each registration value. Use the value that
produces the straightest vertical column.

5 -- 14
6
Downloadable Characters
The ML395’s downloadable character feature enables you to design your own
characters and symbols, even entire character sets if you choose, and store them to be
used later. You can design and store up to 128 characters. Downloadable characters
are assigned to keys of your choice on your keyboard. Then, whenever you need that
character, all you need to do is invoke the character set in which you have stored it
and press the key assigned to your character. The actual designing of these characters
requires some work on your part and can become tedious. Like graphics design, you
assign dot placement bit by bit. There are commercial software packages available
that will greatly simplify all of this, and we recommend that you use one to design
and use downloadable characters with the ML395. But you can design and download
characters through programming if you want to. We will provide the necessary
information for those who want to give it a try.

Designing Characters
The technique of designing your own downloadable characters is much like creating
your own graphic. The character you create is itself a graphic that occupies a
onecharacter matrix. Characters can be designed in either the utility or LQ mode,
depending upon the print mode currently active. As you would expect, the higher
resolution print modes provide higher print quality. You can begin by designing your
character on a grid. The height of the grid is 24 dots, each corresponding to a pin of
the ML395 printhead. The width of the grid and the character within it varies according
to print mode as follows:
Maximum Width Maximum Character
Mode in Dots Width in Dots
10 CPI Utility 12 9
12 CPI Utility 10 9
1OCPILQ 36 23
12CPILQ 30 23
Proportional 42 (maximum) 23 (maximum)

Keep the intended use of your character in mind. If it is to be generally included with
text, leave the top row and bottom two rows of the matrix blank, in keeping with
general font design standards. Character baselines occur at the sixth dot from the
bottom.

6 -- 1
The columns of the matrix to the left and right of your character affect where it will
appear in relation to the characters on either side of it. If you do not leave blank
columns, adjacent characters may appear to run right into your character.

☞ Note: To design proportionally spaced characters, vary the number of blank


columns in proportion to the width of your characters.

Dot Assignments and Programming


Your arrangement of dots within columns is translated into code that tells your ML395
the exact location of each dot within each column.

The following example illustrates how this works.

6 -- 2
Our character is 27 dots wide and has 4 blank columns to the left and 5 blank columns
to the right. We will print it in 10 CPI Letter Quality. This is a 24-pin mode, which
means 3 bytes of data are required to specify a single column. Just like 24-pin graphics,
the first 3 bytes specify dot positions for the first column, the second group of 3 bytes
specifies dot positions for the second column, and so on up to the last column for
which dot positions are specified. The value of each byte is determined by adding up
the values of its bits.

Now we need to load this data into a set of instructions so that we can use the character.

6 -- 3
Defining A Character
We need to specify which key will be used to represent our character. Up to 128
characters can be created and stored in decimal locations 0 to 127. Also, we need to
specify in code how we have positioned the character within the matrix. We also
need to copy a set of characters into the part of the printer’s memory reserved for
downloaded characters. The new character will become part of this character set. In
the case of our character, the LQ 10 CPI mode must also be specified. All of this is
accomplished through a series of commands demonstrated in Listing 2, a BASIC
program that replaces the character @ with an arrow character.

Epson Downloadable Characters


The downloadable character commands for the Epson mode are summarized in the
following table:

Downloadable
Character Commands ASCII Hexadecimal Decimal
Copies the resident character ESC: NUL 1B 3A 00 27 58 0
set to the area of memory f NUL f 00 f0
reserved for downloaded
characters.
f = 0 to 127
decimal value of font

Defines area of memory in ESC & NUL lB 26 00 a1 27 38 0 a1


which character is stored; a1 a2 d0 a2 d0 d1 a2 d0 d1
specifies key used to access d1 d2 d2 d2
character, and defines dot
placement.

6 -- 4
Downloadable
Character Commands ASCII Hexadecimal Decimal
Selects the downloaded ESC % n lB 25 n 27 37 n
character set or the resident
character set.

Selects one of two ESC v n lB 76 n 27 118 n


downloaded character sets

Using these commands in conjunction with the data we have already calculated, we
can write a short program to turn on Letter Quality 10 CPI, copy our standard character
set into downloaded character memory, define our character, select the downloaded
character set, and finally print our character.

If you want to download two separate character sets, you will have to change the
menu selection to 1 line. You can then switch between the downloaded sets using the
ESC v n command.

6 -- 5
Listing 2: Demo of downloaded custom character

1 REM DLL demo 24 pin


10 OPEN “LPT1:”AS #1: WIDTH “LPTl: ,255”: REM prepare output
20 PRINT#1, CHR$(27);“@”: REM init printer
30 PRINT#1, CHR$(27),“xl”;:REM select LQ
40 PRINT#1, CHR$(27),“:”;CHR$(0);CHR$(0);CHR$(0);:REM ROM-CG to RAM-CG
50 PRINT#1, CHR$(27); “& “; CHR$ (0);: REM start of definition
60 PRINT#1,”@@”;: REM from @ to @
70 PRINT#1, CHR$(4);CHR$(29);CHR$(4);
80 : REM width before character 4 dots
81 : REM width of character 29 dots
82 : REM width behind character 4 dots
120 FOR I = 1 TO 29: REM 29 columns
130 READ A,B,C: REM each column has 3 bytes
140 PRINT# 1, CHR$(A);CHR$(B);CHR$(C);: REM send it to printer
150 NEXT I
160 : REM begin of character
pattern data
170 DATA 0, 124, 0, 0, 130,0, 0, 0, 0, 0, 130, 0
180 DATA 0, 0, 0, 0, 130, 0, 0, 0, 0, 0, 130,0
190 DATA 0, 0, 0, 0, 130, 0, 0, 0, 0, 0, 130, 0
200 DATA 0, 0, 0, 0, 130, 0, 0, 0, 0, 0, 130, 0
210 DATA 0,0,0,63, 131, 248, 64,0, 4, 32, 0, 8
220 DATA 16, 0, 16, 8, 0, 32, 4, 0, 64, 2, 0, 128
230 DATA 1, 1, 0, 0, 130, 0, 0, 68, 0, 0, 40, 0
240 DATA 0, 16, 0
250 : REM end of character
pattern data
260 PRINT#1, “downline loadable character set not selected: @@@@@@”
265 PRINT#1, CHR$(10);CHR$(10);
270 PRINT#1, CHR$(27);“%”;CHR$(l);: REM select DLL
280 PRINT#1, “downline loadable character set selected !”;
290 PRINT#1, CHR$(27);“E”;: REM emphasized, see note
300 PRINT#1, “@@@@@@”
305 PRINT#1, CHR$(10);CHR$(10);
310 PRINT#1, CHR$(27);“%”;CHR$(0);: REM Deselect DLL
320 PRINT#1, CHR$(27);“F”;: REM turn off emphasized
330 END

6 -- 6
Your printout will look like this:

☞ Note: We turned on emphasized printing before using the downloaded


character to compensate for the constraint against having 2 dots next to
each other horizontally in a custom character. Emphasized printing is
accomplished by offsetting dots horizontally, so itfillsin the gaps somewhat.

Switch between the resident character set and a downloaded set with the ESC % n
command. If n is 1, the downloaded characters will be used; if n is 0, the resident
character set is selected.

If you have downloaded two character sets, you can switch between them with the
ESC v n command, replacing n with either 1 or 2 (for the first or second downloaded
character set).

The ESC : NUL f NUL command copies a complete set of the printer’s resident
characters to the area of memory that is used for downloaded characters. If you are
only designing a few characters, but still need all the usual letters and numbers, send
this command before you download your custom characters. As the resident characters
are being written to the download area of memory, they overwrite any custom
characters that have been downloaded.

Downloaded characters remain in the printer’s memory until:

the printer is turned off

the printer receives the Reset command: ESC @ (or FS @ in Epson Mode)

they are overwritten by new downloaded characters

the ESC : NUL f NUL command overwrites them with the resident character
set.

6 -- 7
IBM Downloadable Characters
The new method used by the IBM emulations to encode custom characters is extremely
complex, and it is beyond the scope of this Guide to describe its data structure in any
detail. The information in this section is for reference only.

DLL Loading ASCII Hexadecimal Decimal


Loads DLLSet ESC = n1 n2 lB 3D n1 n2 27 61 n1 n2
# al a2 a3 23 al a2 a3 35 al a2 a3
m ad1 ad2 m ad1 ad2 m ad1 ad2
id1 id2 id1 id2 id1 id2
dl...d5 dl...d5 dl...d5
C1...Cx C1...Cx C1...Cx

The command can be broken down into two groups. The first section ESC = n1 n2 #
al a2 a3 m which is sent only once. This is followed by ad1 ad2 id1 id2 dl d2 d3 d4 d5
and finally the actual character definition Cl C2 C3 ... Cx. The latter section being
sent for each character (i.e. 256 times).

6 -- 8
7
OKI Advanced Feature
The ML395 has the following unique commands which work in both IBM and EPSON
emulations.

Bar Code Selection


This command defines the bar code type size, both for the IBM and EPSON
emulations.

Bar Code Selection Decimal Hex ASCII


Bar code selection 27 16 65 1B 10 41 n1 ESC DLE A
n1 m1 m2 m3 ml m2 m3 n1 m1 m2 m3
m4 m5 m6 m4 m5 m6 m4 m5 m6
m7 m8 m7 m8 m7 m8

n1 specifies the following parameters byte length.


If n1 is 0, 1 or 3 then this command should be ignored.
If n1 is 2, 4, 5, 6, 7 or 8 then this command is valid.
m1 and m2 specifies the bar code type.

ml m2 Bar Code
0 1 EAN8
0 2 EAN13
1 0 UPC-A
1 4 UPC-E
2 0 Code 39
3 0 Interleaved 2 of 5
4 0 Code 128

m3 and m4 specify the bar height in units of 15⁄180 inch.


The average height is (m3 x 10 + m4) X 6⁄72 inch.
The value should not exceed the limit of 24.

7 -- 1
The following codes print the bar code data in uni-directional mode.

Bar Code Printing Decimal Hex ASCII


Bar code printing 27 16 66 1B 10 42 ESC DLE
(uni-direct.) n 1 (Data) n1 (Data) B n1 (Data)
Postnet ZIP Code 27 16 67 1B 10 43 ESC DLE
n 1 (Data) n1 (Data) C n1 (Data)

n1 specifies the byte length of the following data.

Horizontal Dot Position


Horizontal Dot Position Decimal Hex ASCII
Absolute/relative horiz. pos. 27 16 64 1B 10 40 ESC DLE @
n1 m1 m2 p1 n1 m1 m2 p1 n1 m1 m2 p1
p2 p3 p4 p2 p3 p4 p2 p3 p4
n1,n2 = 0 to 255

This command moves the print position a specified number of n/120 inches to the
left of the current position.

To calculate the values of n1 and n2, divide the number of dots (n) you want to move
by 256, the result is n2 and the remainder is n1.

n = n1 + n2 * 256.

Values beyond the left margin will result in a jump to the left margin.

These commands let you place text or graphics very precisely on the page. (For
precise vertical positioning, see the description of the fine line feed and line spacing
commands.)

In all of the commands, determine the values of the two variables by dividing the
desired dot position by 256; assign the whole number result to n2 and the remainder
to n1.

7 -- 2
Emulation Mode
This command will change the emulation of the printer to the specified mode.
Emulation mode Decimal Hex ASCII
Emulation mode 27 123 n 1B 7B n ESC { n

n = 00H IBM PPR emulation n = 40H Epson LQ emulation


01H Trapped 41H Trapped
02H IBM PPRemulation 42H Epson LQ emulation
03H IBM AGM emulation

7 -- 3
A
Control Code Table
IBM Control Code Table

This table is arranged by control code function. Use it to find the commands that you
need for writing your own printer control programs or modify printer drivers. Normally
the control codes work in both modes ASCII and AGM. If a control code is applied to
just one of them or the effect depends on the mode selected, it is mentioned under
FUNCTION.
Function ASCII Decimal Hexadec.
Character Format

Immediate double SO 14 0E
width characters

Cancels immediate
double width characters DC4 20 14

Double width printing


n = 0: cancel
n = 1: set ESC W n 27 87 n lB 57 n

Triple width characters ESC m 27109 lB 6D

Double/triple height ESC US n 27 31 n lB IF n


printing
n = 0: cancel
n = 1: double
n = 2: triple

Double width/double ESC [ @ 27 91 64 1B 5B 40


height characters
Set italics printing ESC % G 27 37 71 1B 25 47

Cancel italics printing ESC % H 27 37 72 1B 25 48


10 CPI DC2 18 12
12 CPI ESC: 27 58 1B 3A
15 CPI ESC g 27 103 1B 67
17.1 CPI SI 15 0F
20 CPI ESC SI 27 15 l13 0F
A -- 1
Function ASCII Decimal Hexadec.
Proportional spacing ESC P n 27 80 n lB 50 n
n = 0: cancel
n = 1: set

Select font ESC k n 27 107 n lB 6B n


where n = 0 Roman
1 Swiss
2 Courier (default font)
3 Prestige
5 OCR-B (with OCR-B font cartridge installed)
6 OCR-A (with OCR-A font cartridge installed)
122 Swiss Bold
124 Letter Gothic
126 Resident (Courier)
127 Cartridge (with any font cartridge installed)

Set emphasized printing ESC E 27 69 lB 45

Reset emphasized ESC F 27 70 lB 46


printing

Set double strike ESC G 27 71 lB 47


printing

Reset double strike ESC H 27 72 lB 48


printing

Superscript/subscript ESC S n 27 83 n lB 53 n
printing
n = 0: superscript
n = 1: subscript

Cancel super-/subscript ESC T 27 84 lB 54

Select Font ESC [ I n1 lB 5B 49 n1 27 91 73 n1


n2 m1 m2 n2 m1 m2 n2 m1 m2
p1 p2 r1 p1 p2 r1 p1 p2 r1

A -- 2
Function ASCII Decimal Hexadec.
Page Format

Set top of form ESC 4 27 52 1B 34

Set form length in inches ESC C 27 67 0 n 1B 43 00 n


NULn

Set form length in lines ESC C n 27 67 n 1B 43 n

Skip over perforation ESC N n 27 78 n 1B 4E n

Cancel skip over ESC O 27 79 1B 4F


perforation

Left/right margin set ESC X 27 88 n1 n2 1B 58 n1 n2


n1 n2

Vertical Margin Setting ESC [ S n1 27 91 83 n1 1B 5B 53 n1


n2 m1 m2 n2 m1 m2 n2 m1 m2
p1 p2 p1 p2 p1 p2

Line Spacing

Line Feed LF 10 0A
Reverse line feed ESC ] 27 93 1B 5D
Automatic line feed ESC 5 n 27 53 n 1B 35 n
n = 0: cancel
n = 1: set

8 lines/inch ESC 0 27 48 1B 30

7/72 inch line spacing ESC 1 27 49 1B 31

ASCII: variable line ESC A n 27 65 n 1B 41 n


spacing (n/72 inch)
ESC 2 must follow

A -- 3
Function ASCII Decimal Hexadec.
AGM: Variable line ESC A n 27 65 n 1B 41 n
spacing (n/60 inch)
ESC 2 must follow

Trigger ESC A n ESC 2 27 50 1B 32


spacing

Set line spacing base ESC [ \ 27 91 92 1B 5B 5C

Fine line spacing ESC % 8 n 27 37 56 n 1B 25 38 n


(n/360 inch)

Fine line feed ESC % 4 n 27 37 52 n 1B 25 34 n


(n/360 inch)

ASCII: Fine line spacing ESC 3 n 27 51 n 1B 33 n


(n/216 inch)
AGM: Fine line spacing
(n/180 inch)

ASCII: Fine line feed ESC J n 27 74 n 1B 4A n


(n/216 inch)
AGM: Fine line feed
(n/180 inch)

Printing Features

Underline printing ESC - n 27 45 n 1B 2D n


n = 0: cancel
n = 1: set

Overscore printing ESC _ n 27 95 n 1B 5F n


n = 0: cancel
n = 1: set
Select mode ESC # n 27 35 n 1B 23 n
or ESC ( n 27 40 n 1B 2B n
n =0: HSD mode
n =2: NLQ mode
A -- 4
Function ASCII Decimal Hexadec.
Colour selection ESC r n 27 114 n 1B 72 n
n 0: black
n = 1: magenta
n = 2: cyan
n = 3: violet
n = 4: yellow
n = 5: orange
n = 6: green

Printing Speed Reset ESC } NUL 27 12 50 1B 7D 00


Printing Speed Reset ESC { K 27 91 95 1B 5B 4B
nl n2 m1 m2 nl n2 m1 m2 nl n2 m1 m2
m3 m4 m3 m4 m3 m4

Carriage Movement

Backspace BS 8 08

Relative dot position ESC d n1 n2 27 100 n1 n2 1B 64 n1 n2

Space backwards ESC e n1 n2 27 101 n1 n2 1B 65 n1 n2

Horizontal tab HT 9 09

Set horizontal tabs, ESC D n1... 27 68 n1... 1B 44 n1...


k = 1 to 28 nk NUL nk 0 nk 00

Vertical tab VT 11 0B

Set vertical tab stops, ESC B n1... 27 66 n1... 1B 42 n1...


k =1 to 64 nk NUL nk 0 nk 00

Reset tabulators ESC R 27 82 1B 52

Form feed FF 12 0C

Carriage Return CR 13 0D
A -- 5
Function ASCII Decimal Hexadec.
Graphics

AGM only: ESC *... 27 42... 1B 2A...

Composite graphics
command

Graphics single density ESC K n1 n2 27 75 n1 n2 1B 4B n1 n2

Graphics low speed/ ESC L n1 n2 27 76 n1 n2 1B 4C n1 n2


double density

Graphics double density ESC Y n1 n2 27 89 n1 n2 1B 59 n1 n2

Graphics quadruple ESC Z n1 n2 27 90 n1 n2 1B 5A n1 n2


density

High resolution graphics ESC [ g 27 91 103 1B 5B 67


n1 n2 n1 n2 n1 n2

Select Aspect Ratio ESC n d 27 110 d lB 6E d

Set quasi 8-bit mode ESC y 1 lB 79 31 27 121 49


Reset Quasi 8-bit mode ESC y 0 lB 79 30 27 121 48

Font and Custom


Character Control

Select character font ESC I n 27 73 n 1B 49 n

IBM set 1 ESC 7 27 55 1B 37


IBM set 2 ESC 6 27 54 1B 36

Print one char. from ESC ^ 27 94 1B SE


All Char. set
Print m characters from ESC\ n1 n2 27 92 n1 n2 1B SC n1 n2
All Char, set

National character set ESC ! n 27 33 n 1B 21 n


selection
A -- 6
Function ASCII Decimal Hexadec.
Downloadable character ESC = ... 27 61... 1B 3D...
generator

Code Page ESC [ T 27 91 84 1B 5B 54


ENQ NUL 05 00 00 00 5000
NUL NUL n1 n2 00 n1 n2 0
n1 n2 NUL

Utility Commands

Print suppress mode ESC Q # 27 81 35 1B 5123

Cancel print suppress DC1 17 11


mode

Deselect printer ESC j 27 106 lB 6A

Cancel function CAN 24 18

Unidirectional printing ESC U n 27 85 n 1B 55 n


n = 0: cancel
n = 1: set

Quiet mode ESC q n 27 113 n 1B 71 n


n = 0: cancel
n = 1: set

Paper end sensor off ESC 8 27 56 1B 38


Paper end sensor on ESC 9 27 57 1B 39
Bell/Buzzer BEL 7 07

Cut-Sheet Feeder Control

Cut-sheet feeder insert ESC EM I 27 25 73 1B 19 49


Cut-sheet feeder eject ESC EM R 27 25 82 1B 19 52
Cut-sheet feeder ESC EM n 27 25 n 1B 19 n
n = 1: bin 1
n = 2: bin 2
A -- 7
Function ASCII Decimal Hexadec.
Cut Sheet Feeding ESC I F n1 27 91 70 n1 1B 5B 46 n1
n2 ml m2 n2 m1 m2 n2 m1 m2
m3 m3 m3

EPSON Control Code Table


Function ASCII Decimal Hexadec.
Character Format

1-line double width SO 14 0E


characters ESC SO 27 14 1B 0E

Cancel 1-line double DC4 20 14


width characters

Set/cancel continuous ESC W n or 27 87 n or 1B 57 n or


double width characters FS E n 28 69 n 1C 45 n
n = 0: cancel dble/triple
n = 1: set double

Set triple width ESC m 27 109 lB 6D


characters (ESC W 0 to
cancel)

Double/triple height ESC US n or 27 31 n or 1B IF n or


characters FS V n or 28 86 n or 1C 56 n or
n = 0: normal ESC w n 27 119 n 1B 77 n
n = 1: double
n = 2: triple
(only ESC US n)

Set italic characters ESC 4 27 52 1B 34

Cancel italic characters ESC 5 27 53 1B 35

A -- 8
Function ASCII Decimal Hexadec.
Begin outline ESC q SOH 27 113 1 1B 71 01

Begin shadow ESC q STX 27 113 2 1B 71 02

Begin shadow and ESC q ETX 27 113 3 1B 71 03


outline

End shadow and/or ESC q NUL 27 113 0 1B 71 00


outline

Compressed character SI 15 0F
pitch (17.1 or 20 CPI) ESC SI 27 15 1B 0F

Cancel compressed DC2 18 12


character pitch

Set emphasized print ESC E 27 69 1B 45


mode

Cancel emphasized ESC F 27 70 1B 46


print mode

Set enhanced/double ESC G 27 71 1B 47


strike print mode

Cancel enhanced/ ESC H 27 72 1B 48


double strike print mode

Elite character pitch ESC M 27 77 1B 4D


(12 CPI)

Pica character pitch ESC P 27 80 1B 50


(10 CPI)

15 CPI character pitch ESC g 27 103 1B 67

Set/cancel proportional spacing ESC p n 27 112 n 1B 70 n


n = 0: cancel
n = 1: set
A -- 9
Function ASCII Decimal Hexadec.
Set super-/subscripts ESC S n 27 83 n 1B 53 n
n = 0: superscript
n = 1: subscript

Cancel super-/subscripts ESC T 27 84 1B 54

Select typestyles ESC k n 27 107 n 1B 6B n


where n = 0 Roman
1 Swiss
2 Courier (default font)
3 Prestige
5 OCR-B (with OCR-B font cartridge installed)
6 OCR-A (with OCR-A font cartridge installed)
122 Swiss Bold
124 Letter Gothic
126 Resident (Courier)
127 Cartridge (with any font cartridge installed)

Select extended character ESC t n or 27 116 n or 1B 73 n or


set FS In 28 73 n 1C 49 n
n = 0: italics
n = 1: graphics
n = 2: DLL Set
(only ESC t n)

Select IBM character set 1 ESC 7 27 55 1B 37

Select IBM character set 2 ESC 6 27 54 1B 36

Set character spacing ESC SP n 27 32 n 1B 20 n


n = 0 to 127

Select Italics Graphics/DLL ESC t n 27 116 n 1B 74 n


characters n = 0: Italics n = 1
graphics n = 2: DLL

Select italics/graphics characters FS 1 n 28 73 n 1C 49 n


n = 0: Italics n = 1: Graphics
A -- 10
Function ASCII Decimal Hexadec.
Page Format

Set left margin ESC 1 n 27 108 n 1B 6C n


n = 0 to 255

Set right margin ESC Q n 27 81 n 1B 51 n


n = 0 to 254

Auto skip over ESC N n 27 78 n 1B 4E n


perforation
n = 1 to 127: skip n lines

Cancel skip over ESC 0 2779 1B 4F


perforation

Set form length in inches ESC C 27 67 0 n 1B 43 00 n


n = 1 to 22 NUL n

Set form length in lines ESC C n 27 67 n 1B 43 n


n = 0 to 127

Auto justification ESC a n 27 97 n 1B 61 n


n = 0: left
n = 1: centre
n = 2: right
n = 3: full

Line Spacing

8 lines per inch ESC 0 27 48 1B 30

6 lines per inch ESC 2 27 50 1B 32

Variable line spacing ESC A n 27 65 n 1B 41 n


n/60 lines per inch
n = 0 to 120
Fine line spacing n/180 ESC 3 n 27 51 n 1B 33 n
lines per inch
n = 0 to 255
A -- 11
Function ASCII Decimal Hexadec.
Fine line spacing ESC [ n or 27 91 n or 1B 5B n or
n = (0 to 255)1360 ESC + n or 27 43 n or 1B 2B n or
FS 3n 28 51 n 1C 33n

Line feed LF 10 0A

Reverse line feed ESC j n 27 106 n 1B 6A n


(n/180")
n = 0 to 255

Fine line feed (n/180") ESC J n 27 74 n 1B 4A n


n = 0 to 255

Fine line feed (n/360") ESC ] n 27 93 n 1B 5D n


n = 0 to 255

Line feed direction FS R 28 82 1C 52


backwards

Line feed direction FS F 28 70 1C 46


forwards

Printing Features

Start/stop underlining ESC - n 27 45 n 1B 2D n


n = 0: stop
n = 1: start

Print mode select ESC ! n 27 33 n 1B 21 n


n = 0 to 255

Set Scoring Style ESC C - lB 28 2D 27 40 45


n1 n2 m n1 n2 m n1 n2 m
dl d2 dl d2 d1 d2

Printing Speed Reset ESC { K 27 91 95 1B SB 4B


n1 n2 m1 nl n2 m1 n1 n2 m1
m2 m3 m2 m3 m2 m3
A -- 12
Function ASCII Decimal Hexadec.
Printing S peed Reset ESC } NUL 27 125 0 1B 70 00

Select NLQ mode/ ESC ( n 27 40 n 1B 28 n


high speed draft
n = 0:HS draft
n = 2: NLQSelect LQ mode/utility ESC x n 27 120 0 1B 78 n
n = 0: Utility
n = 1: LQ mode

Select colour ESC r n 27 114 n 1B 72 n


n = 0: black
n = 1: magenta
n = 2: cyan
n = 3: violet
n = 4: yellow
n = 5: orange
n = 6: green

Carriage Movement
Backspace BS 8 08
Horizontal tab HT 9 09

Vertical tab VT 11 0B

Form feed FF 12 0C

Carriage return CR 13 0D

Set horizontal tabs ESC D n1 n2 27 68 n1 n2 1B 44 n1 n2


k = 1 to 32 n3...nk NUL n3...nk 0 n3...nk 00
ni, n2,. . =TABS, 1 to 255

Set vertical tab stops ESC B n1 27 66 n1 lB 42 n1


k = 1 to 16 n2...nk NUL n2...nk 0 n2...nk 00
nl,n2 = 0 to 255

Set vertical tab stops ESC / n 27 47 n 1B 2F n


n = 0 to 7
A -- 13
Function ASCII Decimal Hexadec.
Execute absolute ESC $ n1 n2 27 36 n1 n2 1B 24 n1 n2
horizontal tabs
(Position in inches =
nl+((n2*256)/60)
n1 = 0 to 255
n2 = 0 to 3

Select relative dot ESC\nl n2 27 92 n1 n2 1B 5C n1 n2


position
nl+(n2*256) = number
of dots

Set vertical format unit ESC b n ml 27 98 n ml 1B 62 n m1


n = 0 to7 m2...mk m2...mk0 m2...mk00
m = 0 to 255 NUL

Set relative tab stops ESC e n x 27 101 n x 1B 65 n x


(horiz. /vert.)
n = 0: horizontal
n = 1: vertical
x=0 to 127

Set relative print position ESC f n m 27 102 n m 1B 66 n m


(horiz./vert.)
n = 0: horizontal
n = 1: vertical
m = 0 to 127

Graphics

Enter/exit bit image ESC * m nl 27 42 m n1 1B 2A m n1


graphics mode n2 <GRAPH n2 <GRAPH n2 <GRAPH
DATA> DATA> DATA>

Begin Hex density FS Z n1 n2 28 90 n1 n2 1C 5A n1 n2


graphics < GRAPH. < GRAPH. < GRAPH.
DATA> DATA> DATA>

A -- 14
Function ASCII Decimal Hexadec.
Set low speed/single ESC K n1 n2 27 75 n1 n2 1B 4B n1 n2
density graphics mode <GRAPH. <GRAPH. <GRAPH.
n1, n2=0 to 255 DATA> DATA> DATA>

Set low speed/double ESC L n1 n2 27 76 n1 n2 1B 4C n1 n2


density graphics mode <GRAPH. <GRAPH. <GRAPH.
n1, n2 =0 to 255 DATA> DATA> DATA>

Set high speed/double ESC Y n1 n2 27 89 n1 n2 1B 59 n1 n2


density graphics mode <GRAPH. <GRAPH. <GRAPH.
n2, n2 =0 to 255 DATA> DATA> DATA>

Set quadruple density ESC Z n1 n2 27 90 n1 n2 1B 5A n1 n2


graphics mode <GRAPH. <GRAPH. <GRAPH.
n1, n2 = 0 to 255 DATA> DATA> DATA>

Set/cancel quasi-8-bit ESC y n 27 121 n 1B 79 n


graphics mode
n = 0: cancel
n = 1: set
Reassign alternate ESC ? n m 27 63 n m 1B 3F n m
graphics codes
n = K: single density
n = L: double
n = Y: high speed double
n = Z: quad density

Font and Custom


Character Control

DLL font select ESC % n 27 37 n 1B 25 n


n = 1: select
DLL character set
n = 0: deselect DLL
character set

A -- 15
Function ASCII Decimal Hexadec.
Character definition ESC & NUL 27 38 0 lB 26 00
al a2 d0 dl al a2 d0 dl al a2 d0 dl
d2 <DLL d2 <DLL d2 <DLL
DATA> DATA> DATA>

Copy ROM CG to ESC NUL 27 58 0 f 0 lB 3A 00


RAM CG f NUL f 00

Select foreign character ESC R n 27 82 n lB 52 n


set and code page
n = 0 to 20

Activate RAM area ESC v n 27 118 n lB 76 n


n = 1: DLL #1
n = 2: DLL #2

Utility

Reset ESC @ or 27 64 or lB 40 or
FS @ 28 64 1C 40

Cancel print suppress DC1 17 11


mode

Print suppress mode DC3 19 13

Cancel function CAN 24 18

Set/cancel unidirectional ESC U n 27 85 n lB 55 n


mode
n = 0: cancel
n = 1: set

Set/cancel half speed ESC s n 27 115 n lB 73 n


print mode
n = 0: cancel
n = 1: set

A -- 16
Function ASCII Decimal Hexadec.
Disable paperout ESC 8 27 56 1B 38
detector

Enable paper out ESC 9 27 57 1B 39


detector
One line unidirectional ESC < 27 60 1B 3C
print

Set bit 7 to 0 ESC = 27 61 1B 3D

Select 7- or 8-bit ESC > 27 62 1B 3E


commands

Cancel 8-bit mode ESC # 27 35 1B 23

Bell/Buzzer BEL 7 07

One character data delete DEL 127 7F

Cut-Sheet Feeder
Control

Insert cut-sheet feeder's ESC EM I 27 25 73 1B 19 49


single paper feed

Eject cut-sheet feeder's ESC EM R 27 25 82 1B 19 52


single paper feed

Multi-bin select ESC EM n 27 25 n 1B 19 n


n = 1: bin 1
n = 2: bin2

A -- 17
OKI Advanced Control Code Table
Function ASCII Decimal Hexadec.
Barcode control. code ESC DLE A 27 16 65 1B 10 41
selection n1 m1 m2 n1 m1 m2 n1 ml m2
m3 m4 m5 m3 m4 m5 m3 m4 m5
m6 m7 m8 m6 m7 m8 m6 m7 m8

Printing ESC DLE B 27 16 56 1B 10 42


n1 <DATA> n1 <DATA> n1 <DATA>

Postnet ZIP printing ESC DLE C 27 16 67 1B 10 68


n1 <DATA> n1 <DATA> n1 <DATA>

Horizontal dot position ESC DLE @ 27 16 64 1B 10 40


absolute/relative position nl m1 m2 nl m1 m2 n1 m1 m2
p1 p2 p3 p4 p1 p2 p3 p4 p1 p2 p3 p4

Emulation mode ESC { n 27 123 n 1B 7B n

A -- 18
B
ASCII Character Codes
IBM Character Tables

IBM Character Set 1 (selected by ESC 7)

B -- 1
IBM Character Set 2 (selected by ESC 6)

B -- 2
IBM All Character Set
(selected by ESCA or ESC\ n1 2)
(Code Page 437 - USA)

B -- 3
IBM National Character Sets
(selected by ESC ! n)
This table shows the ASCII character and the corresponding characters that it is
replaced with, when an alternative language character set is selected by menu or
command.

B -- 4
Code Page 850 (Multilingual)

B -- 5
Code Page 865 (Norway)

B -- 6
Code Page 860 (Portugal)

B -- 7
Code Page (Turkey)

B -- 8
Code Page 928 (Greek)

B -- 9
Code Page 851 (Greek)

B -- 10
Code Page 437 (Greek)

B -- 11
Epson Character Tables
Epson Normal Character Set
(selected by ESC t NUL ESC 7)

B -- 12
Epson Line Graphics Character Set
(selected by ESC t SOH ESC 7)

B -- 13
Epson Line Graphics Expansion Character Set
(selected by ESC t SOH ESC 6)

B -- 14
Epson National Character Sets
(selected by ESC R n)
This table shows the ASCII character and the corresponding characters that it is
replaced with, when an alternative language character set is selected by menu or
command.

B -- 15
National Character Sets/Code Pages

B -- 16
Code Page 437 (USA)

B -- 17
Code Page 850 (Multilingual)

B -- 18
Code Page 865 (Norway)

B -- 19
Code Page 860 (Portugal)

B -- 20
Code Page (Turkey)

B -- 21
C
Interfacing
This appendix will help you design a SHIELDED interface cable that connects your
printer to your computer. This requires some knowledge of electronics signals, wiring,
soldering, and crimping to be designed properly.

If you are not technically minded, we recommend that you purchase a SHIELDED
interface cable from your dealer.

Parallel Interfacing
The printer requires a Centronics-equivalent parallel cable with the following:

● Amphenol 57-30360 or AMP 552274-1 plug (or equivalent) with 36 pins


● AMP 552073-1 (or equivalent) cover
● Beldon (or equivalent) SHIELDED cable with twisted pair conductors. It cannot
exceed 1.8 metres in length and must be UL and CSA approved.

The cable MUST be shielded.

C -- 1
Signals for Pin Assignments (Parallel):
Pin # Signal Return Pin # Direction
1 Strobe 19 To Printer
2 Data 1 20 To Printer
3 Data 2 21 To Printer
4 Data 3 22 To Printer
5 Data 4 23 To Printer
6 Data 5 24 To Printer
7 Data 6 25 To Printer
8 Data 7 26 To Printer
9 Data 8 27 To Printer
10 Acknowledge 28 From Printer
11 Busy 29 From Printer
12 Paper end 30 From Printer
13 Select No Return From Printer
14+ Autofeed — To Printer
15 Not used — —
16 0V No Return Signal Ground
17 Chassis Gnd No Return Ground
18+ +5V* — From Printer
19-30 0V — Ground
31 I-prime — To Printer
32 Fault — From Printer
33 0V — Signal Ground
34-35 Not Used — —
36 Select-in — To Printer

*50 mA maximum
+ Pins 14 and 18 are controlled by a jumper plug in the printer.

There is no signal on Pin 18 at the factory default setting of the jumper plug.

C -- 2
RS-232C Serial Interfacing
To construct a cable for an RS-232C serial configuration, you will need:

● DB25P equivalent 25-pin plug, shell equivalent to DB-C2-J9.


● Beldon (or equivalent) SHIELDED cable with twisted pair conductors. Must be
UL and CSA approved. The cable MUST be shielded.
● The printer has 25-pin DB-25S receptacle.

Signals for Pin Assignments (RS-232C serial):

Pin # Signal Symbol Direction


1 Protective ground PG —
2 Transmitted data TD From printer
3 Received data RD To Printer
4 Request to send RTS From Printer
5 Not used — —
6 Data set ready DSR To Printer
7 Signal ground SG
8-10 Not used — —
11 Supervisory send SSD From Printer
data
12 Not used — —
13 Signal ground SG
14-19 Not used — —
20 Data terminal ready DTR To Printer
21-25 Not used — —

C -- 3
Local Tests: Serial Interface
After you have configured an interface cable for your computer and printer, you may
want to spend a few extra minutes making a test connector. This test connector can
be used to monitor the operation of the interface.

Jumper the following pins:

Place the printer in the circuit test mode by specifying Yes in response to the menu
item DIAGNOSTIC TEST. Now you can run the local test:

1. Plug the test connector into the serial interface receptacle.

2. Turn the printer ON. The serial interface will check the memory function of the
printer’s message buffer, the interface driver and the receiver circuit, and then
print all the characters in a test pattern.

3. This test can be stopped either by turning the printer OFF or by pressing the
SELECT button.

4. This is what happens during the test:

● The printer prints this message: RS-232C TEST


● The message buffer size is printed.
● The printer checks the memory function of the message buffer, then prints OK if
the memory check is good, or BAD if the memory check is faulty.

C -- 4
● The signal logic is checked, and if this is faulty, BAD is also printed.

☞ Note: If BAD is printed, call your dealer for assistance.

● Hexadecimal characters from 20 to 7F are transmitted through the RD (Receive


Data) line, then written to the message buffer. The above stored data is then
printed.
● This process repeats until the printer is turned OFF or until you press the SELECT
button.

C -- 5
Menu Selections For Serial Interfacing
The Setup Guide explains how to use your printer’s Menu Select mode. If you are
using the serial interface, set the following Menu Select options according to your
computer’s interface requirements.

Printout Action
PARITY Does your system use ODD or EVEN parity?
ODD parity - select ODD
EVEN parity - select EVEN
NONE - select NONE
SERIAL DATA Does your system use 7- or 8-bit format?
7/8 BITS 7-bit format - select 7
8-bit format - select 8
PROTOCOL What protocol does your system use?
Ready-Busy protocol - select READY/BUSY
XON/XOFF protocol - select XON/XOFF
DIAGNOSTIC TEST Do you want to perform a diagnostic test?
Yes - select YES
Normal operation - select NO
BUSY LINE Which line will your system use to recognize
a busy signal?
SSD -9V select SSD-
SSD +9V select SSD+
DTR -9V select DTR
RTS -9V select RTS
BAUD RATE What baud rate does your system use?
19,200 baud - select 19,200 BPS
9,600 baud - select 9,600 BPS
4,800 baud - select 4,800 BPS
2,400 baud - select 2,400 BPS
1,200 baud - select 1,200 BPS
600 baud - select 600 BPS
300 baud - select 300 BPS
DSR SIGNAL How does your system handle the Data Signal Ready signal?
Valid - Select VALID
DTR SIGNAL When is the DTR signal required?
When printer is selected - choose READY
ON SELECT When printer is turned ON - choose READY ON POWER UP
BUSY TIME What is the length of a busy signal?
200ms - select 0.2
1 second - select 1

Once you have set the menu, make a printout of it for future reference.

C -- 6
D
Specifications
Print method Impact dot matrix
Printhead 24 pin

Print Speed
(characters per second)
ML395 ML395C
Head Gap Lever Position 1-2 3-9 1-2 3-9
Utility Mode 405 352 375 352
Letter Quality 135 117 125 117
NLQ 202 175 187 175
Graphics 30 30 30 30

Characters Per Line


at l0 CPI 136
at l2 CPI 163
at l5 CPI 204
at 17.1 CPI 233
at l8 CPI 244
at 20 CPI 272

Emulation IBM XL24


EPSON LQ 2550

Character Sets Standard ASCII


Epson
IBM Set 1 and 2
IBM All Character Set
(Code Page 437)
Line Graphics
International Character Sets
Code Pages
437 (USA)
850 (Multilingual)
865 (Norway)
860 (Portugal)
Turkey

D -- 1
Resident Fonts Courier
Times Roman
Prestige Elite
Letter Gothic
Swiss
Swiss Bold

Optional Font Cartridges OCR-A


OCR-B
Greek 928
Greek 851
Greek 437

Graphics 360 x 360 maximum resolution

Paper Feed Top, rear, bottom


Built in push tractor
Friction feed
Optional pull tractor
Optional cut sheet feeder

Operator Features Direct access operator pane


Menu select mode
Auto loading
Forms tear-off
Hex-dump mode

Memory 512 bytes


8K bytes
23K bytes
40K bytes (optional 32K RAM cartridge)

Electrical Characteristics
Voltage 230V AC (±6%, -14%), 240V AC (±10%)
Frequency 50/60 Hz +2%

D -- 2
Reliability
Mean Time Between Failure 4000 hours at 25% duty cycle,
(MTBF) 35% page density

Mean Time To Repair


(MTTR) 15 minutes
Printhead life 200 million characters

Physical Dimensions
Size 507.00mm (22.44") long
442.5mm (16.42") wide
180.1mm (7.09") high
Weight 16.8kilo (37 lb.)

Ribbon Life
Black Fabric: 5.0 million characters
Colour Black band: 2.3 million characters
Cyan band: 1.8 million characters
Magenta band: 1.8 million characters
Yellow band: 1.3 million characters

D -- 3
Paper Specifications

Continuous Forms
Single sheets (no
multipart forms)
Weight 45-90g/m2 (12 to 24 lb.)
Thickness 0.051 mm to 0.124mm (0.0020" to 0.0049")
Width 76.2mm x 406.4mm (3" to 16")

Multipart (carbon lined or


pressure sensitive)
Weight 34-42g/m2 (9 to 11 lb.)
Number of copies Original plus 3 copies
Thickness 0.36mm (0.014") max.
Width 76.2mm x 406.4mm (3" to 16")

Multipart (interleaf)
Weight Paper: 38-45g/m2 (10 to 12 lb.)
Carbon: 34g/m2 (9 lb.)
Number of copies Original plus 3 copies
Thickness 0.36mm (0.014") max.
Width 76.2mm x 406.4mm (3" to 16")

Cut-Sheets
Single sheets
Weight 59-90g/m2 (16 to 24 lb.)
Thickness 0.051mm to 0.124mm (0.0027" to 0.0049")
Dimensions Minimum size: 182.9mm x 256.54mm
(7.2" W x 10.1" L)
Maximum size: 363.2mm x 355.6mm
(14.3" W x 14" L)

Multipart
Weight Paper: 38-45g/m2 (10 to 12 lb.)
Carbon: 34g/m2 (9 lb.)
Number of copies Original plus 4 Copies
Thickness 0.36mm (0.014") max.

D -- 4
Dimensions Minimum size: 182.9mm x 256.54mm
(7.2" W x 10.1" L)
Maximum size: 363.2mm x 355.6mm
(14.3" W x 14" L)
Note: All parts must be glued at top.

Envelopes (individual)
Weight 90g/m2 (24 lb.) max.
Thickness 0.406mm (0.016") max.
Dimensions 165mm x 92mm (61⁄2" x 35⁄8")
225.4mm x 98.4mm (87⁄8" x 37⁄8")
241.3mm x 104.8mm (91⁄2" x 41⁄8")
Card Stock
Weight 150g/m2 (40 lb.) max.
Thickness 0.20mm. (0.008") max.
Dimensions 127mm x 203mm (5" x 8") max.

Note: Use with bottom feed only.

Labels
Carrier 208.5mm (8.5") W max.
Thickness 0.28mm (0.011") max.

Notes:
1. Do not use fabric labels.
2. Label must not separate from the carrier when rolled 180 degrees
3. Do not print on the edge or perforation of the label.
4. Use bottom feed only.

Transparencies (OHP’s)
Thickness 0.28mm (0.010") max.
Dimensions 208.5mm x 297mm (8.5" W x 11" L)

Note: Roller marks may appear on transparencies when used in high


humidity/temperature.

D -- 5
Oki Data Corporation
4-11-22 Shibaura, Minato-ku,
Tokyo 108-8551, Japan
Tel : (81) 3 5445 6158
Fax: (81) 3 5445 6189
www.okidata.co.jp

Oki Data (Singapore) Pte Ltd.


78 Shenton Way, #09-01,
Singapore 079120
Tel : (65) 6221 3722
Fax: (65) 6421 1688
www.okidata.com.sg

Oki Systems (Thailand) Ltd.


956 Udomvidhya Building,
6th Floor, Rama IV Rd.,
Bangkok 10500, Thailand
Tel : (662) 636 2535
Fax: (662) 636 2536
www.okisysthai.com

Oki Hong Kong Limited


Suite 1909, Tower3,
China Hong Kong City,
33 Canton Rd., Tsimshatsui,
Kowloon, Hong Kong
Tel : (852) 2736 0130
Fax: (852) 2376 3725

The IPL Group


63-85 Victoria Street,
Beaconsfield NSW 2015, Australia
Tel : (61) 2 9690 8200
Fax: (61) 2 9690 8300
www.oki.com.au

Comworth Systems Ltd.


10 Constellation Drive Mairangi Bay,
Auckland, New Zealand
Tel : (64) 9 477 0500
Fax: (64) 9 477 0549
www.comworth.co.nz

add.p65 1 02.3.19, 10:19 AM


DIC372 DIC635

MICROLINE ML395/C
MICROLINE
ML395/C

Printer Handbook

Oki Data Corporation


4-11-22, Shibaura, Minato-ku,
Tokyo 108-8551, Japan
Tel : +81-3-5445-6158
Fax : +81-3-5445-6189
Printer Handbook
M-521167-2

Potrebbero piacerti anche