Oki IBM Codes
Oki IBM Codes
Printer Handbook
Every effort has been made to ensure that the information in this document is com-
plete, accurate and up-to-date. OKI assumes no responsibility for the results of errors
beyond its control. OKI also cannot guarantee that changes in software and equip-
ment made by other manufacturers, and referred to in this handbook, will not affect
the applicability of the information in this manual. Mention of software products manu-
factured by other companies does not necessarily constitute endorsement by OKI.
OKI and MICROLINE are registered trademarks of OKI Electric Industry Co., Ltd..
IBM and PC are registered trademarks of International Business Machines Corpora-
tion.
Epson is a registered trademark of Seiko Epson Corp. Lotus and 1-2-3 are registered
trademarks of Lotus Development Corporation. Microsoft and MS-DOS are regis-
tered trademarks and Windows is a trademark of Microsoft Corporation.
WordPerfect is a registered trademark of WordPerfect Corporation.
Important Safety Instructions
Your OKI printer has been carefully designed to give you years of safe, reliable per-
formance. As with all electrical equipment, however, there are a few basic precautions
you should take to avoid hurting yourself or damaging the unit:
• Read the setup and operation instructions in this manual carefully. Be sure to
save it for future reference.
• Read and follow all warning and instruction labels on the printer itself.
• Unplug the printer before you clean it. Use only a damp cloth; do not use liquid
or aerosol cleaners.
• Place your printer on a firm, solid surface. If you put it on something unsteady,
it might fall and be damaged; if you place it on a soft surface, such as a rug, sofa,
or bed, the vents may be blocked, causing it to overheat.
• To protect your printer from overheating, make sure no openings on the printer
are blocked. Don’t put the printer on or near a heat source, such as a radiator or
heat register. If you put the printer in any kind of enclosure, make sure it is well
ventilated.
• Do not put anything into the ventilation slots on the sides of printer, you could
get a shock or cause a fire.
• The printhead can get quite hot when it has been printing for a length of time.
Do not touch the printhead untill it has had a chance to cool off.
• Do not use your printer near water, or spill liquid of any kind into it.
• Be certain that your power source matches the rating listed on the back of the
printer. If you’re not sure, check with your dealer or with your local power com-
pany.
• Your printer has a grounded plug as a safety feature, and it will only fit into a
grounded outlet. If you can’t plug it in, chances are you have a non-grounded
ontlet; contact an electrician to have it replaced with a grounded outlet. Do not
use an adapter to defeat the grounding.
• To avoid damaging the power cord, don’t put anything on it or place it where it
will be walked on. If the cord becomes damaged or frayed, replace it immedi-
ately.
• If you’re using an extension cord or power strip with the printer, make sure that
the total of the amperes required by all the equipment on the extension is less
than the extension’s rating. Generally, the total ratings of all equipment plugged
into any one power line should not exceed 15 amperes. Don’t exceed this unless
you know that the power line your equipment is plugged into has a rating above
15 amperes.
• Aside from the routine maintenance described in this handbook, don’t try to
service the printer yourself; opening the cover may expose you to shocks or
other hazards. Don’t make any adjustments other than those outlined in the
manual – you might cause damage requiring extensive repair work.
• If anything happens that indicates that your printer is not working properly or
has been damaged, unplug it immediately and follow the procedures in Chap-
ter 5. These are some of the things to look for:
The power cord or plug is frayed or damaged.
Liquid has been spilled into the housing, or the printer has been exposed to
water.
The printer has been dropped or its cabinet has been damaged.
The printer doesn’t function normally when you’re following the operating
instructions.
• Do not connect this product to an uninterruptible power supply (UPS).
Contents
Introduction ............................................................................................................. 1
• Chapter 1 (Installation) shows you how to get your printer ready to run and
how to connect it to your computer.
• Chapter 2 (Loading Paper) explains how to load paper for any of the two meth-
ods of paper feed.
• Chapter 3 (Operation) describes how to control your printer from the front panel.
It also explains how to change the defaults, how to test your printer and how to
use bar codes.
• Chapter 4 (Working with Software) gives you information on selecting a driver
and installing your printer on popular software packages.
• Chapter 5 (Problem Solving/Maintenance/Service) gives helpful hints on how
to solve common printer problems and how to maintain your printer in tip-top
shape.
• Appendices A through E contain a variety of reference material, including speci-
fications, menu listings, lists of printer programming commands and ASCII
characters.
Unpacking
Unpack your printer and make sure you have the following items. If you are missing
any of these items, contact your dealer immediately for a replacement.
• Printer
• Ribbon cartridge
• AC cord
4 Installation
knob
”∆”mark
Paper 4. Remove the protective material.
Protictive separator
material
Protictive
material
6. Remove the protective material from
the pull-up roller assembly.
Pull-up roller
assembly
Knob
Making Connections
There instructions are for the standard parallel interface and USB Interface. Instruc-
tions for installation/connection of a serial interface are included with the serial inter-
face accessory. For more information on the serial interface accessory, see Chapter 5.
6 Installation
Pin assignments for both the parallel, USB and the serial interfaces are listed
in appendix E.
Interface
port
Wire loops
USB port
8 Installation
Connection with Power
Power cord
Socket
Top Feed
• Single sheets (basis weight 14 to 24 lbs)
• Single envelopes
– 24-lb maximum
– 6.5” to 9.5” wide
• Transparencies (8.5 x 11”)
12 Loading Paper
Loading Single-Sheet Paper
The single-sheet paper path is best for letterhead stationery, memos, and envelopes.
We also recommend it for printing graphs and charts because it provides the most
accurate control of the paper.
If you have any continuous-form paper in the paper path, you must press the
PARK button on the front panel to remove it from the path before lading single
sheets.
EXIT
POWER ALARM
Move
to "TOP"
Press
14 Loading Paper
Baseline 5. Baseline for Top of Form (TOF) on pa-
per is indicated by red line on clear plas-
tic paper shield.
1
2
3
4
5
EXIT
POWER
16 Loading Paper
4. Locate tractors.
Tractors
ITEM
18 Loading Paper
Baseline 11.Baseline for top of Form(TOF) on pa-
per is indicated by red line on clear plas-
tic paper shield.
1
2
3
4
5
EXIT
POWER
20 Loading Paper
Paper Handling
Your printer has several handy paper handling features:
• Tear
• Form Tear-off
• Paper Park
Tear Feature
When you’re using continuous forms with either the built-in rear-feed tractor or the
optional bottom-feed push tractor, you can use this feature to advance the forms up to
the tear position so you can easily tear off a printed sheet without wasting paper or
readjusting the printer. To do this, simply press the TEAR button on the front panel.
Press
SEL
The tear feature can not be used when the optional pull tractor is installed.
The Forms Tear-off feature can be engaged to automatically move the paper up to the
tear position after the selected interval (500 milliseconds, one second, or two seconds).
The page will stay in the tear-off position until the printer receives data. It will then
move down to the initial printing position.
This feature is normally turned off. To activate it, enter the printer menu (see Menu
Mode in Chapter3) and choose one of the intervals.
If you have continuous-form paper loaded and you wish to switch to another paper
path, first tear off the printed pages, then simply press the PARK button. The continu-
ous-form paper will immediately retract from the paper path.
Press
SEL
22 Loading Paper
Switching Paper Paths
To switch from continuous-form feed from the rear or bottom (optional push or pull
tractor installed) of the printer to single-sheet feed from the top:
To switch from top feed to continuous-form tear or bottom (optional push or pull
tractor installed) feed:
1. Make sure no sheet is in paper path (press FF/LOAD to remove single sheet from
path).
2. Lower paper separator to continuous forms position and swing wire guide over
onto pull-up roller assembly.
3. Move paper lever to position marked “REAR” or “BOT”, as appropriate.
4. Press FF/LOAD button. Continuous-form paper will advance into print position.
Control Panel
PRINT QUALITY
LQ COURIER GOTHIC
SEL –ROMAN–
UTILITY PRESTIGE ORATOR
SEL LF FF/LOAD TEAR PARK QUIET –SWISS–
Your printer’s front panel lets you control paper feeding, customize your printer’s
defaults to your particular needs, and select print quality and character pitch.
The seven buttons to the left on your control panel are multi-function buttons. In
routine printer operation, they are used to manipulate the paper, but you can also use
them to enter and make changes in the printer’s program menu.
PRINT QUALITY
LQ COURIER GOTHIC
–ROMAN–
UTILITY PRESTIGE ORATOR
–SWISS–
CHARACTER PITCH
10 12 15
17 20 PROP
RESET
The PRINT QUALITY and CHARACTER PITCH sections at the right on the front
panel are used to select the quality and size of the printing. See “Performing Basic
Tasks” later in this chapter for information on how to use these buttons.
Important! The print quality and character pitch set by means of the front panel can
be overridden by commands sent by the commercial software package from which
you’re printing a document. If you run into this problem, see Chapter 5 for informa-
tion on how to correct it.
26 Operation
Print Mode
In its normal operating state, your printer’s front panel is in the Print Mode.
Indicator Lights
In the Print Mode, your printer has the following lights to indicate its status:
2 4
PRINT QUALITY
LQ COURIER GOTHIC
SEL –ROMAN–
UTILITY PRESTIGE ORATOR
SEL LF FF/LOAD TEAR PARK QUIET –SWISS–
1 3
2. SEL light: Glows when printer is selected, ready to receive data. Flashes when
printer is in print suppress mode. Goes out when printer is deselected (can’t re-
ceive data).
3. ALARM light: Glows when error condition exists, such as out of paper or paper
jam. Also glows when paper lever is set to wrong position.
4. QUIET light: Glows when printer is in QUIET state (printer selected or deselected).
SEL
When the printer is selected (SEL light on), only the functions marked at the top of the
bank of buttons (LF, FF/LOAD, TEAR, PARK, QUIET) are in effect. When the printer
is deselected (SEL light off), the functions marked at the bottom of the buttons (Micro
Feed Down, Micro Feed Up, TOF) can be accessed by means of the SHIFT button.
Each button can have several functions, depending on the mode in use (Print Mode
or Menu Mode), on whether or not the printer is selected and on whether or not the
optional Cut Sheet Feeder (CSF) is installed. Most buttons also have a different func-
tion if they are pressed while the printer is being turned on. In addition, different
combinations of two buttons can be used to access functions.
The various function available for each button are summarized in the table below.
The PRINT QUALITY and CHARACTER PITCH buttons are discussed under
“Performing Basic Tasks,” later in this chapter.
28 Operation
Summary of Front Panel Button Functions
Button Print Mode Help on Power Up With CSF Installed Menu Mode
SEL Selects/deselects printer. Activates Menu Same as Print Resets Paper
Resets Paper Out of Paper Mode. Mode Out Alarm.
Jam Alarm. Also ends Font
Test or Rolling ASCII test .
SEL + Activates Menu Mode. Activates Menu Same as Print Exits Menu
SHIFT Mode. Mode Mode.
LF+ With printer deselected, Activates Font Same as Print Goes back to
SHIFT moves Top of Form set- Test. Mode previous
ting up (paper moves Group in
down) on page in micro Menu.
increments.
FF/LOAD With printer deselected, N/A With printer de- Goes back to
+SHIFT moves Top of Form set- selected, moves previous Item
ting down (paper moves Top of Form set- in Menu.
up) on page in micro in- ting down on
crements. page in micro in-
crements.
PARK Parks continuous-form pa- N/A Ejects paper. Prints list of all
per. Menu settings
for current emu-
lation.
PARK+ Move the print head to N/A Move the print Prints current
SHIFT Forward. head to Forward. Group Menu
Setting.
QUIET+ Sets Top of Form. Activates Roll- Sets Top of Form. N/A
SHIFT ing ASCII Test.
PRINT Selects next Print Quality N/A Selects next Print N/A
QUALITY mode. Quality mode.
CHARAC- Selects next pitch setting. N/A Selects next pitch N/A
TER setting.
PITCH
30 Operation
Button Print Mode Help on Power Up With CSF Installed Menu Mode
To place your printer in the Menu Mode, hold the SHIFT button while pressing the
SEL button (printer either selected or deselected). The MENU light will come on and,
if the printer was selected, the SEL light will go out.
To exit the Menu Mode, hold the SHIFT button and press the SEL button. The MENU
light will go out and the SEL light will come on.
32 Operation
Sample Menu
The menu is made up of groups of parameters. Within each group is a list of items
and each of those items has several possible settings. Here’s a sample Menu printout.
The first column lists the groups; the second, items; the third, settings:
The table below details the entries in the printer Menu as it comes from the factory.
The defaults are in bold face italic type.
Other entries will appear in the Menu depending on what options you have installed
and what emulation is engaged.
For a complete listing of all the available Menu selections, along with explanations for each
setting, see appendix B.
34 Operation
Group Item Setting
In the Menu Mode, the following lights indicate your printer’s status:
PRINT QUALITY
LQ COURIER GOTHIC
SEL –ROMAN–
UTILITY PRESTIGE ORATOR
SEL LF FF/LOAD TEAR PARK QUIET –SWISS–
1 2
SEL
1 2 3 4
36 Operation
Here is a summary of the buttons active in the Menu Mode:
1. GROUP button: Press to scan through groups of listings. Each time you press the
GROUP button, a line will print, showing the next group in the Menu. To go back
one group, hold the SHIFT button while pressing the GROUP button.
2. ITEM button: Press to scan through items for a particular group. Each time you
press the ITEM button a line will print, showing the next item within the group. To
go back one item, hold the SHIFT button while pressing the ITEM button.
3. SET button: Press to change setting for the items. Each time you press the SET
button, a line will print across the page showing the next setting for that item.
Keep pressing the button until the setting you wish to engage appears. To go back
one setting, hold the SHIFT button while pressing the SET button.
4. PRINT button: Press to print out listing of current settings for each items, group
by group.
To reset your printer Menu to the factory settings, turn the printer off, then hold the
SEL and LF buttons while turning it back on again.
PRINT QUALITY
LQ COURIER GOTHIC
–ROMAN–
UTILITY PRESTIGE ORATOR
–SWISS–
Your printer allows you to select from two print qualities: utility and letter quality
(LQ), Utility printing is in the Gothic typeface. The LQ printing is of noticeably higher
quality and offers you a choice of six typefaces: Courier, Gothic, Prestige, Orator, Ro-
man and Swiss. To select the print quality/ typeface you want, keep pressing the
PRINT QUALITY button until the lights are lit beside the combination you want. The
LQ Roman and LQ Swiss typefaces are selected when the lights on either side are
both lit.
For example, to select the LQ Roman typeface, press the PRINT QUALITY button
until the following lights appear:
Your printer also prints any of eight different bar codes accessible through
printer commands. For more information on bar codes, see the end of this chap-
ter.
38 Operation
Selecting Character Pitch
CHARACTER PITCH
10 12 15
17 20 PROP
RESET
The character pitch determines the width of the individual characters and is mea-
sured in characters per inch (cpi). To select the character pitch, press the CHARAC-
TER PITCH button successively until the light underneath the pitch you wish to en-
gage is lit (10 cpi, 12cpi, 15cpi, 17cpi, 20cpi, or Proportional).
1. Be sure printer is deselected (SEL light out). If not, press SEL button.
2. Hold SHIFT button while pressing CHARACTER PITCH button.
If the SI command is received from your software, the character pitch selected
on the control panel will be overridden by the SI command.
40 Operation
Testing Your printer
Your printer has three your can run: the Font Test, the Rolling ASCII Test, and the
Hexadecimal Dump Test.
Font Test
The Font Test provides a printout containing samples of available typefaces. Here’s a
portion of a Font Test printout:
The Rolling ASCII Test produces a continuous printout of all ASCII characters. The
printing will continue until you stop it manually by pressing the SEL button. Here’s a
sample portion of a Rolling ASCII Test:
42 Operation
To activate the Rolling ASCII Test:
Caution! For wide carriage Model 391 Turbo Plus, be sure you have wide paper loaded!
If you want to test the data your computer is sending to the printer, you can place the
printer in the Hexadecimal Dump Mode. When the printer is in the Hex Dump Mode,
all data received, including text and printer commands, will be printed in both hexa-
decimal and ASCII format.
The printer will print the line “Hex Data Dump” and be ready to receive data in the
Hexadecimal Dump Mode. To run the test, simply send data to the printer while it is
in the Hexadecimal Dump Mode.
When you’re done, you can exit the Hexadecimal Dump Mode by either pressing the
SEL button or by turning the printer off, then on again.
Your MICROLINE 390/391 Turbo Plus printer incorporates eight different bar codes:
• UPC A
• UPC E
• EAN 8
• EAN 13
• Code 39
• Code 128
• Interleaved 2 of 5
• Postnet
44 Operation
You will find a list of the bar code printer commands for each emulation in appendix
C.
Here is a brief explanation of each of the available bar codes, along with a sample
printout for each one.
UPC (Universal Product Code) bar coding is used in the supermarket industry. UPC
A coding contains ten digits: the first five digits represent the manufacturer, the sec-
ond five digits identify the product.
UPC E
UPC E bar coding is a six-digit variation of UPC A, used for labeling small items.
EAN (European Article Numbering) bar coding is a variation of UPC coding. EAN 8
encodes eight digits.
EAN 13
EAN 13 encodes 13 digits and contains the same number of bars as UPC A. The thir-
teenth digit combined with the twelfth digit provides a code representing a country.
Code 39
46 Operation
Code 128
Code 128 has 106 different characters, each of which can have any one of three differ-
ent meanings depending on which code set (A, B, or C) is engaged. A special code at
the beginning indicates which set is engaged: three shift codes are also available for
use within the bar code to indicate a change in the code set engaged, as required.
Interleaved2 of 5
Inerleaved2 of 5 bar coding is used mainly in the distribution industry. Two digits are
encoded: one in the bars and one in the spaces.
Postnet
Postnet bar coding is used by the U.S. Post Office for sorting mail by automated equip-
ment. It incorporates a coding system using five bars and four spaces for each digit.
Basic Terminology
Before we start, let’s examine a few terms with which you may not be familiar.
Printer Commands
Printer commands are signals sent by your PC to the printer which guide and control
its operation. Printer commands tell the printer what character pitch to use, what font
to use, what margins to use, whether to use single or double spacing, when to en-
gage/disengage double width or double height printing, etc.
Printer commands can be sent in decimal, ASCII, or hexadecimal form. The values
(decimal/ASCII/hexadecimal) for each type of command depend on which emula-
tion is active (see Appendix C for a listing of printer commands for each emulation).
With only a few exceptions, printer commands begin with the ESC character, decimal
27 (hexadecimal 1B), which serves as signal to the printer that what follows is to be
interpreted as a command rather than just a string of characters. Some printer com-
mands expect you supply a numerical value, representing tab stops, line spacing, etc.
• IBM Proprinter
• IBM AGM
• Epson LQ (factory default)
The driver for your printer is provided on the CD included with the printer.
Insert the Drivers CD into your computer and follow the on-screen instructions to
install the printer driver for use with your printer.
If the CD does not AutoPlay, click Start > Run > Browse, then browse to your
CD-ROM drive, double-click Setup.exe and click OK.
1. Use Start > Printers and Faxes to show the Printers and Faxes window.
2. Highlight the driver for your printer.
3. Use File > Properties to show the Properties window.
4. On the General tab, click the Print Test Page button.
5. Ensure that a test page has printed, verifying your printer–computer setup.
OKI DIPUS
The OKI DIPUS utility allows you remote access to the printer settings using the avail-
able applications. You can access DIPUS from Start > All Programs > Okidata > OKI
DIPUS.
Status monitor
The Status Monitor utility allows you to view your printers’ current status for ex-
ample, On-line, On-line (power saving) and so on. In the event of a printer error oc-
curring, a warning message is also displayed.
This chapter provides solutions to some common printer problems and explains the
routine maintenance procedures that will help keep your printer in tip-top operating
condition. It also tells you how to order parts, consumables and accessories, and pro-
vides information on obtaining service for your printer. You will find your printer’s
warranty at the back of this Printer Handbook.
Problem Solving
What if …
The printer may not be plugged in. Check the power cord connection to the outlet
and to your printer. If you’re using a power strip, make sure it’s turned on. Check to
be sure that the fuse hasn’t blown or that the circuit breaker hasn’t tripped.
The printer may be deselected. If the SEL light is out, press the SEL button to select the
printer.
The printer cable may not be securely connected. Check the cable to be sure that it is
properly connected to both the PC and the printer.
If you have installed the serial I/F board, check to be sure that the board is firmly
seated in the printer.
The printer driver you have engaged does not agree with the emulation selected for
your printer.
To check the emulation selected, first make sure paper is loaded, then press the SEL
and SHIFT buttons simultaneously to enter the MENU on your printer. Next, press
the GROUP button: this will print the emulation selected.
If the emulation is not the one you want to use, press the SET button to change it to
the one you want before exiting the MENU (to exit, press SEL and SHIFT buttons).
If you have embedded any printer commands in your software, check to be sure that
you entered them correctly.
…I’ve installed a brand new ribbon and the printing is smeared and streaked?
The plastic shield on the ribbon is either loose or missing. The shield must be left on
the ribbon when you are installing the cartridge. To remedy this situation, move the
printhead to the center of the platen (careful – printhead may be HOT!) and lift off the
ribbon cartridge. Check the ribbon shield. If it’s loose, secure it in place properly. If it’s
missing, locate it and reinstall it.
The head gap may not be set correctly. Try moving the head gap lever to a lower
setting. If that doesn’t help, the printhead may be damaged; call for service.
This indicates a paper loading error. To stop the flashing light, press the SEL button.
Before trying to load paper in again, check to be sure that you have the paper lever in
the correct position (BOT, TOP, REAR) for the path you’re using.
Caution! Always turn the printer off before you turn the platen knob!
If the paper lever is in the correct position and you’re using rear feed, lift up the paper
separator and check to be sure that paper is properly on the tractors and has not
jammed up somehow.
If the paper lever is in the correct position and you’re using the optional bottom-feed
push tractor, check the bottom tractor unit to be sure that paper is properly on the
tractors and has not jammed up before entering the printer.
Once the paper is correctly loaded, press and release the SEL button, then hold the
SHIFT button and press the RESET (Character Pitch) button.
If the Alarm light is off, the printer thinks it has paper loaded. To correct this problem,
press and release the SEL button, then hold the SHIFT button and press the RESET
(Character Pitch) button. The Alarm light will come on and you’ll be able to load
paper.
…my word processor files don’t print the way I have the MENU and front panel set?
Before sending a file to the printer, many word processors send either an “initializa-
tion string” or an I-Prime signal to the printer.
The initialization storing contains codes that reset the printer to a default set of fea-
tures: otherwise the printer might accidentally print using features set for a previous
job. These codes will override panel or MENU settings. To set your printer to ignore
the reset code, enter the printer MENU (hold SHIFT button while pressing SEL/MENU
button) and change the Reset Inhibit item (in the Set-Up group) to Yes. Please note
that while this will stop the reset code from resetting your printer, other codes in the
initialization string may still override the printer MENU and/ or front panel settings.
…the Print Quality and Character Pitch buttons on the front panel won’t work?
The Operator Panel Function item on the printer MENU can be used to disable these
buttons. If the printer is part of a customized system or if it is used by a number of
people, the system manager may have used this option to make sure the printer is
always set properly.
In cold, dry weather, static charges can build up on continuous-form paper. This can
make the paper cling to the paper separator. If you have this problem during high-
volume printing jobs, try moving the single sheet paper guides on the separator to-
gether so that the paper rests on the guides rather than on the separator itself.
Maintenance
This section explains how to change ribbons, clear paper jams and clean your printer.
When replacing the ribbon, be sure to use only ribbons specifically for use with
MICROLINE 390 /391 Turbo Plus printers. For best results,use genuine OKI ribbons.
Plastic shield
facing platen
Knob
Caution! Always turn the printer off before you turn the platen knob!
If your paper keeps jamming, the chances are excellent that you have bits of paper
stuck in the paper path. To eliminate this problem:
Lift off pull-up roller 3. If necessary, open access cover and lift
assembly off pull-up roller assembly to provide
access to remove any ripped pieces
from around carriage.
You should clean the printer every six months (or after about 300 hours of operation).
To do this:
Serial Interface
Replacement Part
Access Cover, ML 390 Turbo Plus
Access Cover, ML 391 Turbo Plus
AC Cord
Poll-up Roller Assembly, ML 390 Turbo Plus
Poll-up Roller Assembly, ML 391 Turbo Plus
Platen Knob
Printhead
Ribbon, Black
Print Speed
Mode Characters Characters
Per Inch (CPI) Per Second (CPS)
Utility 10 260
12 312
15 390
17.1 223
20 260
Letter Quality (LQ)
10 87
12 104
15 130
17.1 148
20 174
Resident Font
Letter Quality Courier, Gothic, Prestige, Orator, Roman, Swiss,
Swiss Bold
Utility Gothic
Bar Code: Code 39, UPC A, UPC E, EAN 8, EAN 13, Inter-
leaved 2 of 5, Code 128, Postnet
Reliability
Mean Time Between 10000 hours at 25% duty cycle and 35%
Failures (MTBR) Page density
68 Appendix A: Specifications
Paper Specifications
Width
Minimum 3”
Maximum ML 390 Turbo Plus: 10”
ML 391 Turbo Plus: 16”
Weight 12 to 24 lb.
Thickness
Rear feed 0.014”(0.36 mm)
Bottom feed 0.017”(0.44 mm)
Weight
ML 390 Turbo Plus: 12.8 lb (5.8Kg)
ML 391 Turbo Plus: 17.0 lb (7.7Kg)
Environmental Requirements
Operating Temperature: 41 to 95˚F (5 to 35˚C)
Storage Temperature: 14 to 122˚F (-10 to +50˚C)
Operating Humidity: 20 to 80% RH
Storage Humidity: 5 to 95% RH
70 Appendix A: Specifications
Appendix B: Menu Selections
The menu selections for your printer are summarized below. Factory defaults are in-
dicated in bold face italic. Explanations for each item follow the table.
The table below summarizes all possible menu settings available with your
printer. Which of these you will actually see when you are working in the
Menu depends on the active emulation and on the options installed.
Printer Control Emulation Mode Epson LQ, IBM PPR, IBM AGM
Auto CR. IBM mode only. No (factory default) or Yes. Choose Yes to make your printer
automatically perform a carriage return when a LF is received at the end of the line.
Auto LF. No (factory default) or Yes. Change to Yes if your printer overprints. Keep
this set to No if your software adds a line feed when a carriage is received at the end
of a line. If your printout is consistently double spaced, set this item to No.
Auto Select. No (factory default) or Yes. Determines whether or not your printer will
automatically be selected after you load in paper. With the factory default (No) en-
gaged, the printer will be deselected so that you can set the Top of Form. If you al-
ways use the same Top of Form setting, change this setting to Yes so that you don’t
have to press the SEL button to select the printer after loading paper.
Auto Feed XT. Epson mode only. Invalid (factory default) or Valid. In the Epson emu-
lation, the XT signal on pin 14 of the parallel interface can control automatic line feed.
Some interface cables are wired in such a way that automatic line feed is always in
effect: the Auto Feed XT item eliminates this potential problem. The factory setting
causes the printer to ignore this signal; if your system uses pin 14 to control automatic
line feed, change the setting to Valid.
Baud rate. Appears only if optional Serial Interface is installed. Range from 19,200 to
300 bps: factory setting, 9600 bps. This item sets the transmission rate for the system.
Bottom Margin. Valid (factory default) or Invalid. Sets whether or not the printer will
ignore the bottom margin setting. Change the setting to Invalid if you want printer to
ignore the bottom margin setting. Be careful if you use this feature: it lets the printer
continue printing when there’s no more paper, which can cause loss of data and may
damage the printhead.
Busy Time. Appears only if optional Serial Interface is installed. 200 ms (factory de-
fault) or 1 sec.
Sets the length of the busy signal when the Ready / Busy protocol (factory default) is engaged.
Character Set. Choose IBM Set I (factory default), IBM Set II(Thai version factory
default), T1P, ITP.
Code Page. Choose USA (factory default), Canada French, Multilingual, Portugal,
Norway BRASCII, Abicomp, Multilingual 858, ISO 8859-15, THAI-C, THAI-KU(Thai
version factory default), TIS988-2533, THAI-ISO1, THAI-ISO2, THAI-SIC, THAI-TN.
CSF Bin Select. Appears only if optional Dual-Bin Cut Sheet Feeder is installed. Choose
Bin 1 (factory default) or Bin 2.
Diagnostic Test. Appears only if optional Serial Interface is installed. No (factory de-
fault) or Yes. Select Yes if you want to perform a diagnostic test of the serial interface.
DSR Signal. Applies only when optional Interface is installed. Valid (factory default) or In-
valid. Used with Ready / Busy protocol to select the way your system handles the DSR Signal.
DTR Signal. Applies only when optional Serial Interface is installed. Ready on Power
Up (factory default) or Ready on Select. Change to Ready on Select if the DTR signal
is required when the printer is selected; leave as Ready on Power Up if DTR signal is
required when printer is turned on.
Form Tear-Off. Off (factory default), 500 ms, 1 sec, or 2 sec. Form Tear-Off advances
the paper to the perforation so that you can tear off a sheet of continuous-forms pa-
per. You can turn this feature off, or you can select a time interval for the printer to
wait before advancing the paper.
Graphics Speed. Low (factory default) or High. Choose High speed for faster print-
ing when optimum print quality is not an issue.
I-Prime. Buffer Print (factory default), Buffer Clear, or Invalid. Determines how the printer
will react to the I-Prime signal from your software. With the factory default engaged,
when the printer receives the I-Prime signal, it will print out the contents of the buffer
before resetting. Change the setting to Buffer Clear if you wish the printer to dump the
contents of its buffer immediately upon receiving the I-Prime signal. Change to Invalid if
you want the printer to ignore your software’s I-Prime signal. This will permit you to
enter settings through the printer’s control panel which will not be automatically over-
ridden by the software’s settings when the I-Prime signal is sent.
ITP Mode Select. Normal (factory default) or Special. Choose Thai character print-
ing method.
Language Set. American (factory default), French, German, British, Danish I, Swed-
ish, Italian, Spanish I, Japanese, Norwegian, Danish II, Spanish II, Latin American,
French Canadian, Dutch, or Publisher. Replaces certain symbols with special charac-
ters used in the respective foreign languages.
Line Spacing. 6 lpi (factory default) or 8 lpi. Choose 8 lines per inch for tighter line
spacing, to get more lines per page.
Important! This feature also prevents access to the Menu. To access the Menu, turn
the printer off, then hold down the SEL key while turning on the printer.
Page Length. 11” (factory default of Rear and Bottom), 11 2/3”(Factory default of Top
and CSF), 12”, 14”, 17”, 3”, 3.25”, 3.5”, 4”, 5”, 5.5”, 6”, 7”, 8”, 8.5”. Selects the length of
the paper you’ll be using in your printer. This enables the printer to keep track of the
initial printing position on each page (Top of Form).
Page Length Control. Choose page length control system for SASF mode.
by Actual Page Length ..... Control page length by actual physical page length.
by Menu Setting ................ Control page length by logical page length.
Page Width. Appears in Menu for wide-carriage model only. Choose a page width of
13.6” (factory default) or 8”.
Paper out Override. No (factory default) or Yes. The paper out detector senses when
less than an inch of paper remains in the printer and stops printing at that point.
Changing this setting to Yes overrides the detector so you can print closer to the bot-
tom of the page if you’re using single sheets. Be careful if you use this feature: it lets
the printer continue printing when there’s no more paper, which can cause loss of
data and may damage the printhead.
Parity. Appears only if optional Serial Interface is installed. None (factory default),
Odd, or Even. Selects the type of parity your system uses.
Pitch. 10 cpi (factory default), 12 cpi, 15 cpi, 17.1 cpi, or 20 cpi. Selects the character
width measured in characters per inch (cpi).
Power Save Time. Sets the interval the printer waits for more data before it goes into
the power save mode.
Print Registration. 0(factory default), +1~+10, -10~-1. Change the setting as required to
obtain the best registration for bi-directional printing.
Print Suppress Effective. Yes (factory default) or No. Enables/disables print sup-
press command. The factory default enables the print suppress command: the printer
will ignore all data it receives after it accepts the print suppress command. Change to
No to cause your printer to ignore the print suppress command.
Protocol. Appears only if optional Serial Interface is installed. Selects the type of pro-
tocol your system uses: Ready/Busy (factory default) or X-On/X-Off.
Receive Buffer Size. 64K (factory default), 1 Line, 32K, or 128K. Selects the amount of
memory devoted to holding received data. Choosing 1 Line will tie up your computer
during printing, but if you about the print job the printer will stop printing much sooner.
Reset Inhibit. No (factory default) or Yes. Change to Yes if you want your printer to
ignore the reset command sent by software. This will prevent your software reset
command from changing the settings you have made through the front panel con-
trols or through printer commands. If you engage this feature, don’t forget that it will
also prevent your software from clearing out existing settings when you finish print-
ing one document and switch to another.
Select Thai Code Page ID. New (factory default) or Old (Thai version factory de-
fault). Select the Code Page ID number of function. (Note1)
Serial Data 7/8 Bits. Appears only if optional Serial Interface is installed. 8 Bits (fac-
tory default) or 7 Bits. Change to 7 bits if your system uses a 7-bit data format.
Space Adjustment. None (factory default) or 1 Blank, 2 Blanks, 3 Blanks. Select the
control of Space Adjustment.
SI Select Pitch (12 CPI). IBM mode only. 20 CPI or 12 CPI(factory default). Sets what
pitch (20 or 12 characters per inch) will be engaged when the printer control panel is
set for 12 cpi and the SI command is received.
Size. Choose Single (factory default) or Double width and height printing.
Skip Over Perforation. No (factory default) or Yes. Change to Yes if you want the
printer to advance 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, keep
this item set to No to avoid interface.
Time Out Print. Valid (factory default) or Invalid. When printing, if the printer doesn’t
receive any data, a line feed, or a form feed signal for awhile, it will automatically
dump out what’s in the print buffer. If your software spends a long time prossing
between feeding portions of data to the printer, you should change the setting to In-
valid to keep your printer from inadvertently dumping the received data while it’s
waiting for more.
Time Out FF. Sets Time Out FF Mode On/Off and Delay Time. If Delay Time is se-
lected, FF is executed after the selected time passes after printing ends.
Wait Tine. 500 ms, 1 sec (factory default), or 2 sec. Sets the amount of the printer will
wait for more data before jumping from the print position up to the form tear off
position.
Zero Character. Slashed (factory default) or Unslashed. The factory default will cause
a slash to appear in zeros to distinguish them from the capital letter O. To disengage
the slashed zero, change this to Unslashed.
Normally the commands in this table override Menu settings. Except as noted,
these commands are cancelled and the printer returns to factory and Menu
settings when the printer receives an Initialization, Software I-Prime, or
Change Emulation command, or when it is turned off.
Epson Commands
Function (ASCII, Decimal, Hexadecimal) Notes
Horizontal Control
Set Horizontal Tabs ASCII: ESC D n1 n2 ··· nk NUL Sets horizontal tab stop positions.
Dec: 27 68 n1 n2 ··· nk 0 n=position of tab stop–maximum one
Hex: 1B 44 n1 n2 ··· nk 00 less than # of characters per line
k=1 to 32; n1=0: clear tabs
Default: every 8 columns
Once tabs are set, they remain the same
even if character pitch is changed.
Set Print Position ASCII: ESC DLE @ Pn A1 A2 P1 P2 OKI unique command. Sets next hori-
P3 P4 zontal position of printhead.
Dec: 27 16 64 [data] Pn= number of parameter bytes to fol-
Hex: 1B 10 40 [data] low, range 0 to 255
Left Margin Set ASCII: ESC l n Sets left margin n character spaces from
Dec: 27 108 n printhead home position; must be at least
Hex: 1B 6C n 5 spaces (5 cpi) to left of right margin.
n=0 to 255
n=0: home position
Right Margin Set ASCII: ESC Q n Sets right margin n character spaces
Dec: 27 81 n from printhead home position; must be
Hex: 1B 51 n greater than the left margin.
n=1 to 255
n=0: command ignored
Unidirectional Print On/ ASCII: ESC U n Turns unidirectional (left to right only)
Off Dec: 27 85 n printing on and off.
Hex: 1B 55 n n=1: Unidirectional printing On
n=0: Unidirectional printing Off (normal
bidirectional printing)
Delete One Character ASCII: DEL Deletes last character in print buffer.
Dec: 127
Hex: 7F
Vertical Control
Set 1/6-inch ASCII: ESC 2 Sets line spacing of 1/6-inch (6 lines per
Line Spacing Dec: 27 50 inch). This is standard typewriter spac-
Hex: 1B 32 ing.
Set 1/8-inch ASCII: ESC 0 Sets line spacing of 1/8-inch (8 lines per
Line Spacing Dec: 27 48 inch).
Hex: 1B 30
Set n/360-inch ASCII: ESC + n or ESC [ n Sets line spacing of n/360-inch. ESC [ n is
Line Spacing Dec: 27 43 n or 27 93 n OKI unique command
Hex: 1B 2B n or 1B 5B n n=0 to 255
n=0: no line feed
Line Feed ASCII: LF Prints buffer data and moves the print-
Dec: 10 head by the current line spacing value.
Hex: 0A Cancels SO and ESC SO commands.
n/ -inch Line Feed ASCII: ESC J n Executes one n/180-inch line feed with-
180
Dec: 27 74 n out changing line spacing.
Hex: 1B 4A n n=0 to 255
n=0: no line feed, but initiates printing
n/ -inch Reverse Line ASCII: ESC j n Executes one n/180-inch reverse line
180
Feed Dec: 27 106 n feed without changing line spacing.
Hex: 1B 6A n n=0 to 255
n=0: no line feed, but initiates printing
n/360-inch Line Feed ASCII: ESC ] n OKI unique command. Executes n/360-
Dec: 27 93 n inch line feed without changing line
Hex: 1B 5D n spacing.
n=0 to 255
n=0: no line feed, but initiates printing
Set relative vertical print ASCII: ESC (v n1 n2 m1 m2 Performs carriage return in the forward
position Dec: 27 40 118 n1 n2 m1 m2 or reverse direction from the current
Hex: 1B 28 76 n1 n2 m1 m2 position.
n1=2, n2=0: specifies the number of
parameters (inbytes) to follow Amount
of carriage returns executed=±(m1 +[m2
x256]) x (basic unit in inches) The basic
unit is set by set unit command ESC (U.
The default of basic unit is 1/360 inch.
Forward feeding exceeding approx. 46.2
inches and reverse feeding exceeding
approx. 0.5 inch are invalid. Reverse
feeding is invalid in raster graphics
mode.
Set absolute vertical print ASCII: ESC (V n1 n2 m1 m2 Indicates the absolute position within
position Dec: 27 40 86 n1 n2 m1 m2 the paper size, and executes carriage re-
Hex: 1B 28 56 n1 n2 m1 m2 turn.
n1=2, n2=0: specifies the number of
parameters (in bytes) to follow Amount
of carriage returns executed=±(m1 + [m2
x 256]) x (basic unit in inches) The basic
unit is set by set unit command ESC (U.
The default of basic unit is 1/360 inch.
Forward feeding exceeding approx. 46.2
inches and reverse feeding exceeding
approx. 0.5 inch are invalid.
It is a print carriage return execution
command, which does not involve re-
turning to pervious settings following
the execution of this command.
Vertical Tab ASCII: VT Print buffer data and move to next verti-
Dec: 11 cal tab stop.
Hex: 0B
Set Vertical Tab Stops ASCII: ESC B n1 n2 ··· nk NUL Sets vertical tab stops at specified lines
Dec: 27 66 n1 n2 ··· nk 0 relative to Top of Form position.
Hex: 1B 42 n1 n2 ··· nk 00 k=1 to 16: number of tabs
n=1 to 255: line number where tab is to
be set.
n=0: clears tab setting for Vertical
Format Unit channel 0
Select Vertical Tab Chan- ASCII: ESC / n Activates preprogrammed vertical tab
nel Dec: 27 47 n channel n. VT moves to stops in this
Hex: 1B 2F n channel.
n=0 to 7: channel number (0 is default)
Set Page Length in Lines ASCII: ESC C n Sets page length in lines. Current posi-
Dec: 27 67 n tion becomes top of form. Printer calcu-
Hex: 1B 43 n lates page length vy multiplying current
line feed pitch by value entered for "n".
n=1 to 255.
Cancels Skip over Perforation setting.
Page length set by this command will
not change even if line spacing is
changed.
Set page format ASCII: ESC (c n1 n2 t1 t2 b1 b2 Set the top and bottom margins for the
Dec: 27 40 99 n1 n2 t1 t2 b1 b2 currently selected paper mode.
Hex: 1B 28 63 n1 n2 t1 t2 b1 b2 n1=4, n2=0: specifies the number of
parameters (in bytes) to follow.
Top margin=(t1 + [t2 x256]) x (basic unit
in inches)
Bottom margin=(b1 +[b2 x256]) x (basic
unit in inches)
The default of basic units 1/360 inch.
Skip Over Perforation feature is deacti-
vated by this command.
Set Skip Over Perforation ASCII: ESC N n Activates Skip Over Perforation feature
area Dec: 27 78 n and sets it for n lines at the current line
(bottom margin) Hex: 1B 4E n spacing. When Perforation Skip area is
entered, printer will automatically feed
paper down to top of form on next page.
Once this command is entered, the Skip
Over Perforation setting will remain the
same even if line spacing is changed.
n=1 to 255
Cancel Skip Over Perfora- ASCII: ESC O Deactivates Skip Over Perforation. Com-
tion Dec: 27 79 mand overrides menu.
Hex: 1B 4F
Cut Sheet Feeder Control ASCII: ESC EM n Controls Cut Sheet Feeder accessory.
Dec: 27 25 n n=1: Select bin 1
Hex: 1B 19 n n=2: Select bin 2 (if present)
n=73 (ASCII "I"): Insert sheet
Character Sets n=82 (ASCII "R"): Eject sheet
Copy ROM Character Set ASCII: ESC : 0 n 0 Copies the designated character set to
to RAM Character Set Dec: 27 58 0 n 0 the user defined set in RAM:
Hex: 1B 3A 00 n 00 n=0: Roman
n=1: Swiss
n=2: Courier
n=3: Prestige
n=7: Orator
n=122: Swiss Bold
n=124: Gothic
n=126: MENU setting
Define Custom ASCII: ESC & 0 [data] Defines and stores in RAM up to 256
Character(s) Dec: 27 38 0 [data] utility quality character patterns.
Hex: 1B 26 00 [data] Custom character will be cleared by Ini-
tialize command, Software I-PRIME
command, Emulation Switch command,
I/F I-PRIME signal, or by turning the
printer off.
If Receive Buffer Size in MENU is Set to
23K, this command is Ignoved.
Assign character table ASCII: ESC (t n1 n2 d1 d2 d3 The character tables indicated by d2, d3 are
Dec: 27 40 116 n1 n2 d1 d2 d3 stored in the four types of areas indicated by
Hex: 1B 28 74 n1 n2 d1 d2 d3 d1 (Character Table 0-3). From among the four
tables, one is selected by ESC t command.
n1=3, n2=0: specifies the number of parame-
ters (in bytes) to follow
d1=0 to 3: stored character table number.
d2, d3=0, 0: Italic
d2, d3=1, 0: PC 437 (USA)
d2, d3=3, 0: PC 850 (Multilingual)
d2, d3=7, 0: PC 860 (Portugal)
d2, d3=8, 0: PC 863 (Canada-French)
d2, d3=9, 0: PC 865 (Norway)
d2, d3=25, 0: BRASII
d2, d3=26, 0: Abicomp
Select Epson Character ASCII: ESC t n Table selection is made from among
Set Dec: 27 116 n four character tables.
Hex: 1B 74 n n=0: Character Table 0
n=1: Character Table 1
n=2: Character Table 2
n=3: Character Table 3
Print data as character ta- ASCII: ESC (^ n1 n2 [data] All [data] become printing data. All
ble Dec: 27 40 94 n1 n2 [data] codes of 01H-FF are treated as printing
Hex: 1B 28 5E n1 n2 [data] data. 00H code is ignored as Null code.
The number of printing data (in bytes) to
follow are indicated by n1 and n2.
Number of printing data (in bytes)=n1 +
[n2 x 256]
Select Bar Code Type and ASCII: ESC DLE A m n1 ··· n8 m is number of parameters specified: 2,
Size Dec: 27 16 65 m n1 ··· n8 4, 5, 6, 7, or 8
Hex: 1B 10 41 m n1 ··· n8 n1, n2 set bar code style as follows:
n1, n2=0, 1: EAN8
n1, n2=0, 2: EAN13
n1, n2=1, 0: UPC-A
n1, n2=1, 4: UPC-E
n1, n2=2, 0: CODE 39
n1, n2=3, 0: Interleaved 2 of 5
n1, n2=4, 0: Code 128
Print Industrial Bar Code ASCII: ESC DLE B m n [data] Prints bar code data.
Data Dec: 27 16 66 m n [data] m=amount of data (in bytes) to follow n
Hex: 1B 10 42 m n [data] specifies Code 128 mode (when Code
128 is selected) as follows: n=65: Set A
n=66: Set B
n=67: Set C
Print Postnet Bar Code ASCII: ESC DLE C n [data] n=amount of data (in bytes) to follow:
Data Dec: 27 16 67 n [data] n=1 to 20
Hex: 1B 10 43 n [data] Data consists of single-digit numbers
(0 to 9).
Print Features
Select font by pitch and ASCII: ESC X m n1 n2 Selects Multipoint (scalable font) mode.
point Dec: 27 88 m n1 n2 Printable font is selected by character
Hex: 1B 58 m n1 n2 pitch and point
Character pitch
m=0: unchanged
m=1: Proportional
Select 10 cpi Pitch (Pica) ASCII: ESC P Normally, selects 10 cpi (Pica). In com-
Dec: 27 80 pressed mode, selects 17.1 cpi.
Hex: 1B 50
Select 12 cpi Pitch (Elite) ASCII: ESC M Normally, selects 12 cpi (Elite). In com-
Dec: 27 77 pressed mode, selects 20 cpi.
Hex: 1B 4D
Select Compressed Print ASCII: SI or ESC SI Pitch depends on current pitch selected:
Dec: 15 or 27 15 10 cpi becomes 17.1 cpi
Hex: 0F or 1B 0F 12 cpi becomes 20 cpi
Set Character Spacing ASCII: ESC SP n Adds n dots of space (depending on the
Dec: 27 32 n current pitch) between characters.
Hex: 1B 20 n n=0 to 127
Select horizontal motion ASCII: ESC c n1 n2 Sets the amount of space between char-
index (HMI) Dec: 27 99 n1 n2 acters (HMI).
Hex: 1B 63 n1 n2 HMI= (n1+ [n2 x 256])/ 360 inch.
The specification is invalid if HMI ex-
ceeds 3 inches.
The command is invalid when n1=n2=0.
Turn Underlining on/ off ASCII: ESC - n Underlines all text except tabs.
Dec: 27 45 n n= 1: Start underlining
Hex: 1B 2D n n= 0: Stop underlining
Start Enhanced (Double ASCII: ESC G Prints vertically shifted double dots in
Strike) Printing Dec: 27 71 two passes. See also ESC ! command.
Hex: 1B 47
Stop Enhanced Printing ASCII: ESC H Clears double strike printing set by ESC
Dec: 27 72 G command.
Hex: 1B 48
Immediate Double Width ASCII: SO or ESC SO Prints double width only to end of line:
Dec: 14 or 27 14 can also be canceled by DC4, ESC W 0
Hex: 0E or 1B oE and ESC ! commands.
Stop Immediate Double ASCII: DC4 Only cancels double width set by SO or
Width Printing Dec: 20 ESC SO.
Hex: 14
Graphics Select/ Print ASCII: ESC * m n1 n2[graphic data] Selects 8-pin and 24-pin graphic modes
Dec: 27 42 m n1 n2[graphic data] and prints graphic data.
Hex: 1B 2A m n1 n2[graphic data] m= 0: Single density, 8-pin 60 dpi
m= 1: Double density, 8-pin, 120 dpi
m= 2: Double speed, double density, 8-
pin, quasi-120 dpi (dots can not be prin-
ted directly adjacent to one another)
m= 3: Quadruple density, 8-pin, quasi-
240 dpi (dots can not be printed directly
adjacent to one another)
m= 4: CRT I, 8-pin, 80 dpi
m= 6: CRT II, 8-pin, 90 dpi
m= 32: Single density, 24-pin, 60 dpi
m= 33: Double density, 24-pin, 120 dpi
m= 38: CRT III, 24-pin, 90 dpi
m= 39: Triple density, 24-pin, 180 dpi
m= 40: Hex-density, 24-pin, quasi-360
dpi (dots can not be printed directly ad-
jacent to one another)
Single Density Graphics ASCII: ESC K n1 n2 [graphic data] Dot density 60 dpi horizontal, 72 dpi
Dec: 27 75 n1 n2 [graphic data] vertical.
Hex: 1B 4B n1 n2 [graphic data] Maximum data per line: ML390
Turbo Plus=480: ML391 Turbo Plus=816
n1, n2= 0 to 255: specifies amount of sub-
sequent Bit Image bytes received, calcu-
lated as n1 + (n2 x 256)
Double Density Graphics ASCII: ESC L n1 n2 [graphic data] Dot density 120 dpi horizontal, 72 dpi
Dec: 27 76 n1 n2 [graphic data] vertical.
Hex: 1B 4C n1 n2 [graphic data] Maximum data per line: ML390 Turbo
Plus= 960: ML391 Turbo Plus= 1632
n1, n2= 0 to 255: specifies amount of sub-
sequent Bit Image bytes received, calcu-
lated as n1 + (n2 x 256)
Quasi Double Density ASCII: ESC Y n1 n2 [graphic data] Same as double density graphics (120
Graphics Dec: 27 89 n1 n2 [graphic data] dpi), but printer can't put two adfacent
Hex: 1B 59 n1 n2 [graphic data] dots in the same row.
Quadruple Density ASCII: ESC Z n1 n2 [graphic data] Dot density 240 dpi horizontal, 72 dpi
Graphics Dec: 27 90 n1 n2 [graphic data] vertical. Printer can't put two adjacent
Hex: 1B 5A n1 n2 [graphic data] dots in the same row.
Maximum data per line: ML390 Turbo
Plus=1920: ML391 Turbo Plus=3264
n1, n2= 0 to 255: specifies amount of sub-
sequent Bit Image bytes received, calcu-
lated as n1 + (n2 x 256)
Miscellaneous
Select emulation mode ASCII: ESC { n OKI unique command. Switches printer
Dec: 27 123 n emulation mode, copying the custom
Hex: 1B 7B n character data in buffer and saving the
print and receive buffers.
MENU settings unaffected.
n=0: IBM mode (general)
n=2: IBM X24e PPR, XL24e PPR
n=3: IBM X24e AGM, XL24e AGM
n=64: Epson mode (general)
n=66: Epson LQ 850, LQ 1050
Initialize printer ASCII: ESC @ Clears print buffer (receive buffer unaf-
Dec: 27 64 fected), resets printer to menu defaults,
Hex: 1B 40 current position becomes top of page.
Custom character data is not touched.
This command is acknowledged only if
Reset Inhibit in MENU is set to " No"
(factory default).
Set Most Significant Bit ASCII: ESC > Set the MSB (8th bit) to 1.
(MSB) to 1 Dec: 27 62
Hex: 1B 3E
Set Most Significant Bit ASCII: ESC = Sets the MSB (8th bit) to 0.
(MSB) to 0 Dec: 27 61
Hex: 1B 3D
Reset Most Significant Bit ASCII: ESK # Cancels ESC > or ESC =. MSB accepted
(MSB) Dec: 27 35 "as is" from computer.
Hex: 1B 23
Print Suppress Mode On ASCII: DC3 Places printer in Print Suppress Mode
Dec: 19 after printing data in print buffer.
Hex: 13 Ignores all further commands except
DC1 command.
Print Suppress Effective item in MENU
must be set to "Yes" for this command to
be acknowledged.
Print Suppress Mode Off ASCII: DC1 Clears Print Suppress Mode, re-activat-
Dec: 17 ing printer to once again process all data
Hex: 11 received.
Software I-Prime ASCII: ESC } NUL OKI unique command. Clears data in
Dec: 27 125 0 print buffer (receive buffer unaffected);
Hex: 1B 7D 00 resets printer to menu default if applica-
ble, non-menu features returned to fac-
tory default. Executes paper eject in Cut
Sheet Feeder mode.
Set unit ASCII: ESC ( U n1 n2 m Sets the basic unit of horizontal and vert-
Dec: 27 40 85 n1 n2 m ical lengths.
Hex: 1B 28 55 n1 n2 m n1=1, n2=0: specifies the number of
parameters (in bytes) to follow
The commands affected by this com-
mand are:
ESC (V, ESC (v, ESC \, ESC $, ESC (C,
ESC (c.
Set/ Reset Incremental ASCII: ESC i n Sets the Incremental print mode
Print Mode Dec: 27 105 n n=0: Reset Incremental print mode
Hex: 1B 69 n n=1: Set Incremental print mode
Turn raster graphics ASCII: ESC DLE G Pn0 Pn OKI unique command. Activates and
mode ON/ OFF Dec: 27 16 71 Pn0 Pn deactivates raster graphics mode.
Hex: 1B 10 47 Pn0 Pn Pn0=1: specifies the number of parame-
ters (in bytes) to follow
Pn=odd number: raster graphics mode
activated
Pn=even number: raster graphics mode
deactivated
Print raster graphics ASCII: ESC . Pc Pv Ph Pm n1 n2 [data] Input data is printed with bit pattern in
Dec: 27 46 Pc Pv Ph Pm n1 n2 [data] horizontal direction.
Hex: 1B 2E Pc Pv Ph Pm n1 n2 [data] Pc: mode setting
Pc=0: full graphics mode
Pc=1: compressed mode
Pv: vertical direction dot density setting
Pv=10: 3600/Pv → 360 DPI
Pv=20: 3600/Pv → 180 DPI
Ph: horizontal direction dot density set-
ting
Ph=10: 3600/ Ph → 360 DPI
Ph=20: 3600/ Ph → 180 DPI
Pm: horizontal direction dot number
Horizontal direction dot number=n1 +
[n2 x 256]
The command is ignored when
Pv=10 and Ph=20.
Normally the commands in this table override Menu settings. Except as noted,
these commands are cancelled and the printer returns to factory and Menu
settings when the printer receives an Initialization, Software I-Prime, or
Change Emulation command, or when it is turned off and then on again.
IBM Commands
Function (ASCII, Decimal, Hexadecimal) Notes
Horizontal Control
Set Horizontal Tabs ASCII: ESC D n1 n2 ··· nk NUL Sets horizontal tab stop positions.
Dec: 27 68 n1 n2 ··· nk 0 n=1 to 255: specifies position of tab stop-
Hex: 1B 44 n1 n2 ··· nk 00 maximum is number of characters per
line
k=1 to 28; n1=0: clear tabs
Default: every 8 columns
Reset Tabs to Default ASCII: ESC R Reset horizontal tabs for default: every
Dec: 27 82 8th character. Also resets vertical tabs to
Hex: 1B 52 default of 1 line.
Move to the Left ASCII: ESC e n1 n2 Move to the left, relative to present posi-
(Backwards) Dec: 27 101 n1 n2 tion, calculated as
Hex: 1B 65 n1 n2 (n1 =[n2 x 256])/ 120 inches
n1=0 to 255
n2=0 to 255
n1=n2=0: no movement
Self Left & Right Margins ASCII: ESC X n m Sets left (n) and right (m) margins in
Dec: 27 88 n m character columns at current pitch. Once
Hex: 1B 58 n m set, margins remain fixed even if charac-
ter pitch is changed. m must be at least
10 character space (at 10 cpi) to the right
of n.
n=0 to 255; n=0: left margin unchanged
m=0 to 255; m=0: right margin unchan-
ged
Set Print Position ASCII: ESC DLE @ Pn A1 A2 P1 P2 OKI unique command. Sets horizontal
P3 P4 position of printhead.
Dec: 27 16 64 [data] Pn: specifies number of bytes to follow,
Hex: 1B 10 40 [data] range 0 to 127 (MSB ignored)
A1: specifies if motion is absolute (even
number) or relative (odd number)
A2: specifies direction of relative move-
ment right (even number) or left (odd
number)
P1, P2, P3, P4=0 to9: specify print posi-
tion, in four digits:
(P1 x 1000) + (P2 x 100) + (P3x 10) + P4
Unit of print position is 1/360 inch in LQ
mode; 1/240 inch in Utility mode.
Maximum default value for left and
right margins: 2880 for ML390 Turbo
Plus: 4896 for ML 391 Turbo Plus
Vertical Control
Set 1/8-inch ASCII: ESC 0 1/8 -inch Line Spacing=8 lines per inch.
Line Spacing Dec: 27 48
Hex: 1B 30
Set 7/72-inch ASCII: ESC 1 This is the line spacing used for graph-
Line Spacing Dec: 27 49 ics.
Hex: 1B 31
Activate Line Spacing ASCII: ESC 2 This command is required to activate the
Dec: 27 50 line spacing set by the ESC A n com-
Hex: 1B 32 n mand (see below).
Set n/72-inch or ASCII: ESC A n In PPR emulation, sets and stores n/72-
n/60-inch Dec: 27 65 n inch line spacing; in AGM emulation,
Line Spacing Hex: 1B 41 n sets and stores n/60-inch line spacing.
The ESC 2 command must be sent to ini-
tiate the line spacing change.
n=1 to 255
n=0: no change in line sapcing.
Set n/360-inch ASCII: ESC % 8 n OKI unique command. Sets line spacing
Line Spacing Dec: 27 37 56 n to n/360-inch.
Hex: 1B 25 38 n n=1 to 255
n=0: no line feed
Set n/216-inch or n/180- ASCII: ESC 3 n For PPR emulation, sets n/216-inch line
inch Dec: 27 51 n spacing; for AGM emulation, sets
Line Spacing Hex: 1B 33 n n/180=inch line spacing.
n=1 to 255
n=0: command is ignored
Reverse Line Feed ASCII: ESC ] Prints buffer data and performs one re-
Dec: 27 93 verse line feed at the current line spac-
Hex: 1B 5D ing. Movement will not go above top of
form. Not recommended for use with
optional pull tractor.
Automatic Line Feed ASCII: ESC 5 n=Odd: Line feed automatically added
Control Dec: 27 53 n to each CR (carriage return)
Hex: 1B 35 n n=Even: auto line feed turned Off
n/360-inch Line Feed ASCII: ESC % 4 n OKI unique command. Prints data in
Dec: 27 37 52 n buffer and executes a single n/360-inch
Hex: 1B 25 34 n line feed without changing line spacing.
n=1 to 255
n=0: no line feed
Set Form Length in Lines ASCII: ESC C n Sets page length in lines, relative to cur-
Dec: 27 67 n rently selected line spacing, calculated
Hex: 1B 43 n by multiplying value of n by line spac-
ing ratio.
n=1 to 255
This command cancels Skip Over Per-
foration setting.
Set Skip Over Perforation ASCII: ESC N n Activates Skip Over Perforation feature
Dec: 27 78 n and sets it for n lines at the current line
Hex: 1B 4E n spacing. When the printer reaches the
bottom of the page, it will skip n lines to
next top of form. Command overrides
menu.
n=1 to 255 lines
n=0: command ignored
Set Top of Form ASCII: ESC 4 Sets top of form at current printhead
Dec: 27 52 position. Command ignored in CSF or
Hex: 1B 34 Auto-Feed mode.
Cut Sheet Feeder Control ASCII: ESC EM n OKI unique command. Controls Cut
Dec: 27 25 n Sheet Feeder accessory.
Hex: 1B 19 n n=1: Select bin 1
n=2: Select bin 2 (if present)
n=73 (ASCII "I" ): Insert sheet
n=82 (ASCII "R" ): Eject sheet
Character Sets Select ASCII: ESC [ T1h NUL NUL Hcp Selects Code Page
Code Page Lcp NUL 1, h=0 to 255: specify amount of data to
Dec: 27 91 84 1 h 0 0 Hcp Lcp 0 follow, calculated as 1 = (h x 256)
Hex: 1B 5B 54 1 h 00 00 Hcp Lcp 00 Hcp, Lcp=0 to 255: specifies Code Page
ID No., calculated as 1 + (Hcp x256)+Lcp
ID No.=437: USA
ID No.=850: Multilingual
ID No.=860: Portugal
ID No.=863: Canadian French
ID No.=865: Norway
ID No.=1040: BRASCII
ID No.=1041: Abicomp
ID No.=858: Multilingual 858
ID No.=1081: ISO 8859-15
Print One Character ASCII: ESC ^ n Prints character n from IBM Character
from IBM Character Dec: 27 94 n Set III n=0 to 255.
Set III Hex: 1B 5E n
Select Bar Code Type and ASCII: ESC DLE A m n1 ··· n8 OKI unique command
Size Dec: 27 16 65 m n1 ··· n8 m=number of parameters specified
Hex: 1B 10 41 m n1 ··· n8 (m=0, 1 or 3: command ignored)
n1, n2: selects bar code style
n1, n2=0, 1: EAN8
n1, n2=0, 2: EAN13
n1, n2=1, 0: UPC-A
n1, n2=1, 4: UPC-E
n1, n2=2, 0: CODE39
n1, n2=3, 0: Interleaved 2 of 5
n1, n2=4, 0: Code 128
Print Industrial Bar Code ASCII: ESC DLE B n m [data] OKI unique command
Data Dec: 27 16 66 n m [data] n: specifies amount of data to follow
Hex: 1B 10 42 n m [data] m: selects CODE128 mode (CODE128
must be selected for this command to be
recognized)
m=65: Set A
m=66: Set B
m=67: Set C
Print Postnet Bar Code ASCII: ESC DLE C n [data] OKI unique command.
Data Dec: 27 16 67 n [data] n: designates amount of data to follow
Hex: 1B 10 43 n [data] n=1 to 20
Data consists of single-digit numbers.
Print Features
Select Font ASCII: ESC [I j h Hfid Lfid Hfwd Lfwd fa Sets the font typeface, character width
Dec: 27 91 73 j h Hfid Lfid Hfwd Lfwd fa and spacing attributes.
Hex: 1B 5B 49 j h Hfid Lfid Hfwd Lfwd j, h: set number of parameters to follow,
fa calculated as j + (h x 256) bytes
j, h=0 or1: command invalid
j, h=2, 3: fid setting valid, other modes
unchanged
j, h=4: fid, fwd settings valid; fa unchan-
ged
j, h=5: all settings valid
j, h=6 or more: all settings and parameter
data beyond 6 bytes will be ignored
Hfid, Lfid: sets font typeface, calculated
as (Hfid.Lfid=(Hfid x 256) + Lfid
Hfwd, Lfwd: Sets character width (cpi),
calculated as
Hfwd, Lfwd=(Hfwd x 256) + Lfwd
fa: sets spacing attribute;
n=2: prints Proportional;
n=any other value, cpi set by Hfwd,
Lfwd
Select font by pitch and ASCII: ESC DLE F Pn0 m n1 n2 Sets the Multipoint (scalable font) mode.
point Dec: 27 16 70 Pn0 m n1 n2 Printable font is selected by character
Hex: 1B 10 46 Pn0 m n1 n2 pitch and point.
Set 10 Cpi Pitch ASCII: DC2 This is standard pica typewriter size.
Dec: 18
Hex: 12
Set 12 Cpi Pitch ASCII: ESC : Changes to 12 cpi except if Menu item
Dec: 27 58 "SI Select (12 CPI)" is set to "20", then
Hex: 1B 3A ESC: will change 17.1 cpi to 20 cpi and
will not change 20 cpi.
Set 15 Cpi Pitch ASCII: ESC g OKI unique command. Sets 15 cpi.
Dec: 27 103
Hex: 1B 67
Select pitch printer mode, ASCII: ESC I n Selects character font according to the
and ROM versus RAM Dec: 27 73 n value of n:
character generator. Hex: 1B 49 n n=0: 10 cpi, utility (UTL), ROM
n=2: 10 cpi, letter quality (LQ), ROM
n=3: Proportional, LQ, ROM
n=8: 12 cpi, UTL, ROM
n=10: 12 cpi, LQ, ROM
n=12: 12 cpi, LQ, ROM
n=16: 17 cpi, UTL, ROM
n=18: 17 cpi, LQ, ROM
n=24: 15 cpi, UTL, ROM
n=26: 15 cpi, LQ, ROM
n=32: 20 cpi, UTL, ROM
n=34: 20 cpi, LQ, ROM
Start Italic Printing ASCII: ESC % G OKI unique command. Italic characters
Dec: 27 37 71 may overlap slightly.
Hex: 1B 25 47
Stop Italic Printing ASCII: ESC % H OKI unique command. Cancels italic
Dec: 27 37 72 printing engaged by ESC % G com-
Hex: 1B 25 48 mand.
Start Enhanxed (Double ASCII: ESC G Prints vertically shifted double dots in
strike) Printing Dec: 27 71 two unidirectional passes.
Hex: 1B 47
Immediate Double Width ASCII: SO Prints double width only to end of line;
Dec: 14 can be canceled by DC4 or ESC W 0
Hex: 0E command.
Stop Immediate Double ASCII: DC4 Cancels double width set by SO com-
Width Printing Dec: 20 mand.
Hex: 14
Control Double Height/ ASCII: ESC [ @ l m n1 n2 n3 n4 Sets double height, double width, or
Width Dec: 27 91 64 l m n1 n2 n3 n4 both double height and double width
Hex: 1B 5B 40 l m n1 n2 n3 n4 l=0 to 255
m=0 to 255
n1, n2 ignored
n3: specifies character height and line
feed
n3=17: single line feed, standard height
n3=34: double line feed, double height
n4: specfied character width
n4=1: standard width
n4=2: double width
Command will be ignored when print-
ing bit image graphics.
Single Density Graphics ASCII: ESC K l h [graphics data] Dot density 60 dpi horizontal, 72 dpi
Dec: 27 75 l h [graphics data] vertical.
Hex: 1B 4B l h [graphics data] Maximum data per line: ML390 Turbo
Plus=480: ML391 Turbo Plus=816
l,h=0 to 255: specifies amount of subse-
quent Bit Image bytes received, calcula-
ted as l + (h x 256).
Double Density Graphics ASCII: ESC L l h [graphics data] Dot density 120 dpi horizontal, 72 dpi
Dec: 27 76 l h [graphics data] vertical.
Hex: 1B 4C l h [graphics data] Maximum data per line: ML390 Turbo
Plus=960: ML391 Turbo Plus=1632
l, h=0 to 255: specifies amount of subse-
quent Bit Image bytes received,
calculated as l + (h x256).
Quasi-Double Density ASCII: ESC Y l h [graphics data] Same as low speed double density (120
Graphics Dec: 27 89 l h [graphics data] dpi), but printer can't put two adjacent
Hex: 1B 59 l h [graphics data] dots in the same row.
Quadruple Density ASCII: ESC Z l h [graphics data] Dot density 240 dpi horizontal, 72 dpi
Graphics Dec: 27 90 l h [graphics data] vertical. Printer can't put two adjacent
Hex: 1B 5A l h [graphics data] dots in the same row.
Maximum data per line: ML390 Turbo
Plus=1920: ML391 Turbo Plus=3264
l,h=0 to 255: specifies amount of subse-
quent Bit Image bytes received,
calculated as l + (h x 256).
Set Aspect Ratio for Bit ASCII: ESC n n In PPR emulation, sets ratio of vertical to
Image Graphics Dec: 27 110 n horizontal dot density in bit image
Hex: 1B 6E n graphics. Valid only for ESC K, ESC L,
Graphics Select/ Print ASCII: ESC * m l h [graphics data] Selects 8-pin and 24-pin graphic modes
Dec: 27 42 m l h [graphics data] and prints graphic data. Valid only for
Hex: 1B 2A m l h [graphics data] IBM AGM.
m=0: Single density, 8-pin, 60 dpi
m=1: Double density, 8-pin, 120 dpi
m=2: Double speed, double density, 8-
pin, quasi-120 dpi (dots can not be prin-
ted directly adjacent to one another)
m=3: Quadruple density, 8-pin, quasi-
240 dpi (dots can not be printed directly
adjacent to one another)
m=4: CRT I, 8-pin, 80 dpi
m=6: CRT II, 8-pin, 90 dpi
m=32: Single density, 24-pin, 60 dpi
m=33: Double density, 24-pin, 120 dpi
m=38: CRT III, 24-pin, 90 dpi
m=39: Triple density, 24-pin, 180 dpi
m=40: Hex-density, 24-pin, quasi-360
dpi (dots can not be printed directly ad-
jacent to one another).
l, h=0 to 255: specifies amount of subse-
quent Bit Image bytes received,
calculated as l + (h x 256)
Graphics Select ASCII: ESC [ g l h m [graphics data] Selects graphics and prints
Dec: 27 91 103 l h m [graphics data] m=0: Single density, 8-pin, 60 dpi
Hex: 1B 5B 67 l h m [graphics data] [same as ESC * () ]
m=1: Double density, 8-pin, 120 dpi
[same as ESC * 1]
m=2: Double speed, double density, 8-
pin, quasi-120 dpi [same as ESC * 2]
m=3: Quadruple density, 8-pin, quasi-
240 dpi [same as ESC * 3]
m=8: Single density, 24-pin, 60 dpi
[same as ESC * 32]
Miscellaneous
Commands
Select Emulation Mode ASCII: ESC { n OKI unique command. Switches printer
Dec: 27 123 n emulation mode, copying the custom
Hex: 1B 7B n character data in buffer and saving the
print and receive buffers. MENU set-
tings unaffected.
n=0: IBM emulation (general)
n=2: IBM X24e PPR, XL24e PPR
n=3: IBM X24e AGM, XL24e AGM
n=64: Epson emulation (general)
n=66: Epson LQ 850, LQ 1050
Print Suppress Mode On ASCII: ESC Q n Prints out data in print buffer and puts
Dec: 27 81 n printer in Print Suppress Mode until
Hex: 1B 16 n DC1 command is received, I-PRIME sig-
nal is received, or SEL button is pushed.
Command will be ignored unless Print
Suppress Effective item in MENU is set
to "YES."
n=36: Model ML390 Turbo Plus (narrow carriage)
n=35: Model ML391 Turbo Plus (wide carriage)
* 50 mA maximum
1. Connector
• Printer Side: “B” Receptacle (Upstream Input to the USB Device)
• Cable Side: Series “B” Plug
2. Cable
• Cable Length: Max 5 m (A cable must be met USB Spec Rev 1.1 for normal opera-
tion
Note: Cable is not provided.
2 1
3 4
Lock piece
42089405EE Rev.2