OKI ML320TURBO, ML321TURBO User Manual

®
MICROLINE
Models
ML320 Epson/IBM
ML320 MICROLINE Standard
ML321 Epson/IBM
ML321 MICROLINE Standard
ML320 Turbo & ML321 Turbo ML390 Turbo & ML391 Turbo
ML520 & ML521 ML590 & ML591
®
Reference Manual
Every effort has been made to ensure that the information in thi s document i s compl et e, accurate and up-to-date. Okidata assumes no responsibility for the results of errors beyond its control. Okidata also cannot guarantee that changes in software and equipment made by other manufacturers, and referred to in this handbook, will not affect the applicability of the information in this manual. Mention of soft w are product s manuf act ured by other companies does not necessarily constitute endorsement by Okidata.
© 1994, 1995, 1996, 1997 by OKID A TA. Revised edition June 1997. Written and produced by the OKIDATA Publications Department. Please address any
comments on this publication
by mail to:
Publications Services Department OKIDATA 532 Fellowship Road Mount Laurel, NJ 08054-3405
or by eMail to:
pubs@okidata.com
We welcome you to visit our web site:
http://www.okidata.com
OKIDATA and MICROLINE are registered trademarks of Oki Electric Industry Company, Ltd.; marques déposées de Oki Electric Industry Company, Ltd. OKIDATAMarca Registrada, Oki Electric Industry Company, Ltd.
Epson is a registered trademark of Epson America, Inc. IBM and PC are registered trademarks of International Business Machines Corporation.
Microsoft, MS-DOS and Windows are registered trademarks or trademarks of Microsoft Corporation in the United States and other countries.
Contents
How To Use This Manual .........................................................................................................vii
How the Manual is Or ganized.....................................................................................vii
Conventions Used in this Manual...............................................................................viii
Abbreviations & Acronyms ...........................................................................................ix
Command Summary .................................................................................................................xi
IBM Proprinter Commands........................................................................................... xi
Epson FX Commands .................................................................................................xix
Epson LQ Commands................................................................................................ xxv
Okidata MICROLINE Standard Commands..............................................................xxxii
Chapter 1: Printer Drivers .........................................................................................................1
Usable Drivers..............................................................................................................1
Okidata Software Drivers ..............................................................................................2
Software Driver S e lection..............................................................................................4
Embedded Commands ..................................................................................................4
Chapter 2: Character Set Commands ........................................................................................5
IBM Character Set Commands.......................................................................................5
Select IBM Set I Command (IBM) ...............................................................................5
Select IBM Set II Command (IBM) ..............................................................................5
Select All Character Set [IBM Set III] Command (Epson LQ)........................................6
Print Data from IBM All Characters Set [IBM Set III] Co mmand (IBM)..........................6
Print One Character from IBM All Characters Set [IBM Set III] Command (IBM)...........7
Epson Character Set Commands....................................................................................7
Select Epson Set 1 [Slanted Characters] Command (Epson) .........................................7
Select Epson Set 2 [Graphics Characters] Command (Epson).......................................7
MICROLINE Character Set Commands..........................................................................8
Select MICROLINE Standard Character Set Command (ML)........................................8
Select MICROLINE Block Graphics Symbol Set Command (ML)..................................8
Select MICROLINE Line Character Set Command (ML)...............................................8
International Character Set Commands..........................................................................9
Select International Character Set Command (IBM/ML)...............................................9
Select International Character Set Command (Epson)................................................10
Print from Code Page Command (IBM/ML) ..................................................................11
Assign Code Page Command (Epson)...........................................................................12
Upper Range Control Code Commands (Epson)...........................................................13
Select Code Page Set Command (Epson)......................................................................13
Chapter 3: Character Size & Spacing Commands.................................................................... 15
Pitch Setting Commands..............................................................................................15
Pitch Setting Commands for Non-compressed Printing (IBM/E/ML)............................15
Pitch Setting Commands for Compressed Printing (IBM)............................................16
Pitch Setting Commands for Compressed Printing (Epson).........................................16
Pitch Setting Commands for Compressed Printing (ML).............................................17
Select Character Pitch/Point Size Command (Epson) ....................................................17
Select Character Pitch/Point Size Command (IBM-Oki unique).....................................19
Superscript/Subscript Commands (IBM/E/ML)...............................................................20
Double Width Commands (IBM/E/ML)......................................................................... 21
Double Height Commands (E/ML)...............................................................................21
Double Width & Height Printing Commands...............................................................22
Double Width & Height Printing Command, 9-Pin Printers (IBM).............................. 22
Double Width & Height Printing Command, 24-Pin Printers (IBM)............................23
Combined Print Features Command (ML) ....................................................................24
Character Spacing Commands.....................................................................................25
Contents i
Proportional Spacing Commands (IBM/E/ML) ...........................................................25
Intercharacter Spacing Commands (IBM/E/ML) .........................................................26
Set Horizontal Motion Index [HMI] Command (Epson LQ)...........................................27
Chapter 4: Character Style Commands ................................................................................... 29
Print Mode & Fonts Commands...................................................................................29
Individual Print Mode & Font Commands for 9-Pin Printers (IBM/E/ML) ....................29
Individual Print Mode & Font Commands for 24-Pin Printers (IBM/E) ........................30
Combined Select Font Command (IBM)....................................................................31
Select Font Command (IBM) ....................................................................................32
Combined Print Mode Command (Epson).................................................................34
Italics Print Commands (IBM/E/ML)..............................................................................35
Emphasized & Enhanced Print Commands (IBM/E/ML).................................................36
Underline/Overscore/Strike-Through Commands.........................................................36
Underline Commands (IBM/E/ML)............................................................................36
Overscore Commands (IBM).................................................................................... 37
Score Style Command (Epson)..................................................................................37
Outline/Shadow Commands (IBM/E)........................................................................38
Chapter 5: Custom Character Commands.............................................................................. 39
Custom Character Commands: 9-Pin Printers...............................................................39
Designing a Custom Character for 9-Pin Printers.......................................................39
IBM Custom Character Commands for 9-Pin Printers................................................40
Copy ROM to RAM Command for 9-Pin Printers (IBM)..........................................40
Down Line Load Characters Command for 9-Pin Printers (IBM).............................41
Epson Custom Character Commands for 9-Pin Printers.............................................43
Copy ROM to RAM Command for 9-Pin Printers (Epson).......................................43
Down Line Load Characters Command for 9-Pin Printers (Epson) ..........................43
Custom Character Set On/Off Commands for 9-Pin Printers (Epson).......................44
Okidata MICROLINE Standard Custom Character Commands for 9-Pin Printers........45
Copy ROM to RAM Command for 9-Pin Printers (ML) ...........................................45
Down Line Load Characters Commands for 9-Pin Printers (ML).............................45
Select DLL Font Commands for 9-Pin Printers (ML) ...............................................45
Custom Character Commands: 24-Pin Printers.............................................................46
Designing a Custom Character for 24-Pin Printers.....................................................46
IBM Custom Character Commands for 24-Pin Printers..............................................47
Down Line Load Characters Command for 24-Pin Printers (IBM)...........................47
Epson Custom Character Commands for 24-Pin Printers...........................................49
Copy ROM to RAM Command for 24-Pin Printers (Epson).....................................49
Down Line Load Characters Command for 24-Pin Printers (Epson) ........................50
Custom Character Set On/Off Commands for 24-Pin Printers (Epson).....................51
Load Custom Character Set into Upper ASCII Command for 24-Pin Printers (Epson)..51
Chapter 6: Graphics Commands for 9-Pin Printers ................................................................. 53
Overview....................................................................................................................53
Programming Grap hics in BASIC.................................................................................54
Graphics Density Selection Commands (IBM/E)...........................................................54
Graphics Density Selection Commands (ML) ...............................................................55
Graphics Select/Print Command (Epson)......................................................................55
Reassign Graphics Codes Command (Epson)................................................................57
Select Graphics Command (Epson)..............................................................................57
Select Graphics Mo de Co mmand (ML) ........................................................................57
Graphics Print Mode Commands (ML).........................................................................59
Special Purpose Line Feed Commands (ML).................................................................60
Chapter 7: Graphics Commands for 24-Pin Printers ...............................................................61
Overview....................................................................................................................61
Programming Grap hics in BASIC.................................................................................62
Contentsii
Graphics Density Selection Commands (IBM/E)...........................................................62
Graphics Select/Print Command (IBM AGM/E).............................................................63
Reassign Graphics Codes Command (IBM AGM/E) ......................................................64
Graphics Resolution Command (IBM)..........................................................................64
Select Graphics Aspect Ratio Command (IBM).............................................................65
Select Graphics Mo de Co mmand (Epson)....................................................................65
Set/Reset Graphics Mode Command (Epson)................................................................66
Print Raster Graphics Command (Epson)......................................................................66
Chapter 8: Horizontal Control Commands ............................................................................. 69
Backspace & Carriage Return Commands (IBM/E/ML) ..................................................69
Margin Setting Commands ..........................................................................................69
Set Left & Right Margins Command (IBM).................................................................69
Left and Right Margin Commands (Epson) ................................................................70
Left and Right Margin Commands (ML) ....................................................................72
Horizontal Tab Commands .........................................................................................73
Execute Horizontal Tab Command (IBM/E/ML) .........................................................73
Set Horizontal Tab Command (IBM/E)......................................................................73
Set Tabs by Character Space Command (ML) ............................................................74
Set Tabs by Dot Columns Command (ML)................................................................74
Clear Horizontal Tab Settings Commands (IBM/E).....................................................76
Clear Horizontal Tab Settings Commands (ML)......................................................... 76
Horizontal Print Position Commands...........................................................................76
Indent from Left Margin Command (IBM/ML) ...........................................................76
Set Multiple Print Positions Command (IBM/E/ML)....................................................77
Set Relative Dot Position Command (IBM)................................................................79
Set Relative Dot Position Command (IBM)................................................................80
Set Relative Dot Position Command (Epson).............................................................80
Set Absolute Dot Position Command (Epson)............................................................80
Move to the Right & Left Commands (ML)................................................................81
Uni-Directional Printing Commands (IBM/E/ML)..........................................................82
Incremental Printing Commands (IBM/E/ML)................................................................82
Justification Commands (Epson)...................................................................................83
Contents iii
Chapter 9: Vertical Control Commands..................................................................................85
Set Page Length Commands ........................................................................................85
Set Page Length in Inches Command (IBM /E/ML)......................................................85
Set Page Length in Lines Command (IBM/E/ML)........................................................85
Set Page Length in Defined Unit Comand (Epson).....................................................86
Form Feed Command (IBM/E/ML)................................................................................87
Line Feed Commands..................................................................................................87
Line Feed with Carriage Return Command (IBM/E/ML)..............................................87
Line Feed without Carriage Return Command (ML)...................................................87
Line Feed & Carriage Return Selection Command (ML).............................................87
Fine Line Feed Commands (IBM/E/ML).....................................................................88
Perform Line Feed Command (IBM)..........................................................................89
Auto Line Feed On/Off Commands (IBM).................................................................89
Reverse Line Feed Commands (IBM/E/ML)................................................................89
Line Spacing Commands (IBM/E/ML)...........................................................................90
General Line Spacing Commands (IBM/E/ML)...........................................................90
Fine-Increment Line Spacing Commands for 9-Pin Printers (IBM/E/ML) .....................90
ESC A N Line Spacing Command for 24-Pin Printers (IBM/E).....................................91
ESC 3 n Line Spacing Command for 24-Pin Printers (IBM/E)...................................... 92
n/360-Inch Line Spacing Commands for 24-Pin Printers (IBM/E)................................92
Set Vertical Units (IBM)............................................................................................93
Vertical Tab Commands..............................................................................................93
Execute Vertical Tab Command (IBM/E/ML) .............................................................94
Set Vertical Tabs Command (IBM/E).........................................................................94
Clear Vertical Tabs Command (IBM/E)......................................................................94
Vertical Format Unit [VFU] Commands (Epson)........................................................95
Vertical Format Unit [VFU] Commands (ML)............................................................96
Vertical Position Commands .......................................................................................96
Skip Down Comman d (ML)......................................................................................96
Set Relative Vertical Position Command (Epson)....................................................... 97
Set Absolute Vertical Position Command (Epson)......................................................97
Top of Form Commands (IBM/ML) ...........................................................................98
Set Page Format Command (Epson)..........................................................................98
Skip Over Perforation Commands................................................................................99
Skip Over Perforation On/Off Commands (IBM/E).....................................................99
Skip Over Perforation ON/Off Commands (ML)......................................................100
Chapter 10: Bar Code Commands for 9-Pin Printers............................................................. 101
Bar Code Commands ................................................................................................101
Code 39 Bar Code Commands..................................................................................101
Select Code 39 Bar Code Command......................................................................102
Print Code 39 Bar Code Command........................................................................104
Code 128 Bar Code Commands ................................................................................104
Select Code 128 Bar Code Command ....................................................................104
Print Code 128 Bar Codes Command.....................................................................105
Interleaved 2 of 5 Bar Code Commands.....................................................................106
Select Interleaved 2 of 5 Bar Code Command.........................................................106
Print Interleaved 2 of 5 Bar Code Command...........................................................107
Contentsiv
UPC A Bar Code Commands.....................................................................................107
Select UPC A Bar Code Command .........................................................................107
Print UPC A Bar Code Command...........................................................................108
UPC E Bar Code Commands .....................................................................................109
Select UPC E Bar Code Command .........................................................................109
Print UPC E Bar Code Command...........................................................................110
EAN 8 Bar Code Commands .....................................................................................110
Select EAN 8 Bar Code Command .........................................................................110
Print EAN 8 Bar Code Command ...........................................................................111
EAN 13 Bar Code Commands....................................................................................111
Select EAN 13 Bar Code Command........................................................................111
Print EAN 13 Bar Code Command .........................................................................112
Bar Code Command..................................................................................................112
Select/Print Postnet Bar Code Data Command ...........................................................112
Chapter 11: Bar Code Commands for 24-Pin Printers........................................................... 113
Bar Code Commands ................................................................................................113
Code 39 Bar Code Commands..................................................................................113
Select Code 39 Bar Code Command......................................................................113
Print Code 39 Bar Code Command........................................................................115
Code 128 Bar Code Commands ................................................................................116
Select Code 128 Bar Code Command ....................................................................116
Print Code 128 Bar Code Command ......................................................................117
Interleaved 2 of 5 Bar Code Commands.....................................................................117
Select Interleaved 2 of 5 Bar Code Command.........................................................118
Print Interleaved 2 of 5 Bar Code Command...........................................................119
UPC A Bar Code Commands.....................................................................................119
Select UPC A Bar Code Command .........................................................................119
Print UPC A Bar Code Command...........................................................................120
UPC E Bar Code Commands .....................................................................................120
Select UPC E Bar Code Command .........................................................................120
Print UPC E Bar Code Command...........................................................................121
EAN 8 Bar Code Commands .....................................................................................121
Select EAN 8 Bar Code Command .........................................................................121
Print EAN 8 Bar Code Command ...........................................................................122
EAN 13 Bar Code Commands....................................................................................122
Select EAN 13 Bar Code Command........................................................................123
Print EAN 13 Bar Code Command .........................................................................123
Postnet Bar Code Command......................................................................................124
Select/Print Postnet Bar Code Data Command ...........................................................124
Chapter 12: Miscellaneous Commands ................................................................................. 125
Cancel Command (IBM/E/ML)...................................................................................125
Change Emulation Command (IBM/E/ML)..................................................................125
Cut Sheet Feeder (CSF) Co mmands............................................................................126
CSF Commands (IBM/E).........................................................................................126
Bin Select Command for Dual Bin CSF (IBM/E).......................................................126
CSF Commands (ML) .............................................................................................126
Delete Command (Epson) ..........................................................................................127
Contents v
Half-Speed Printing Commands (E/ML) ......................................................................127
Initialize Printer Commands (E/ML)............................................................................127
Most Significant Bit Commands (Epson).....................................................................128
Paper-Out Sensor Commands (IBM/E/ML)..................................................................128
Print Suppress Mode Commands...............................................................................129
Print Suppress Mo d e On/Off Commands (IBM).......................................................129
Print Suppress Mo d e On/Off Commands (E/ML) .....................................................129
Select Color Command (IBM/E).................................................................................130
Set Unit Command (Epson)........................................................................................130
Software I-Prime Command (IBM/E/ML).....................................................................131
Stop Printing Command (IBM)...................................................................................131
Appendix A: Interfacing......................................................................................................... 133
Parallel Interface.......................................................................................................133
Serial Interface..........................................................................................................134
Commonly Used Serial Cable Configurations............................................................. 135
Appendix B: Listing of Tables ................................................................................................ 137
Index...................................................................................................................................... 141
Contentsvi
How To Use this Manual
This Programmer’s Guide/Reference Manual is a supplement to the manuals for the various model printers. It contains additional information on selecting printer drivers and on the printer commands, as well as interfacing specifications.
How the Manual is Organized
Command Summary
Tabular listings of the commands for each emulat i on, w i t h ref erences t o t he page in t he manual on which the description for the command appears.
Chapter 1: Printer Drivers
Selecting printer drivers.
Chapters 2 through 12 — Commands
Chapter 2: Character Set Commands
Chapter 3: Character Size & Spacing Commands
Chapter 4: Character Style Commands
Chapter 5: Custom Char act er Commands
Chapter 6: Graphics Commands for 9-Pin Printers
Chapter 7: Graphics Commands for 24-Pin Printers
Chapter 8: Horizontal Control Comm ands
Chapter 9: Vertical Control Commands
Chapter 10: Bar Code Commands for 9-Pin Printers
Chapter 11: Bar Code Commands for 24-Pin Printers
Chapter 12: Miscellaneous Commands
Appendix A: Interfacing Pin-out diagrams for the parallel and serial interfaces. It also incl udes wi ri ng di agrams f or
commonly used serial cable configurations.
Appendix B: Listing of Tables Includes a complete listing of the tables in this manual.
How to Use this Manual vii
Conventions Used in this Manual The following conventions are used in the command chapters of this manual:
The emulation(s) to which each command appli es i s gi ven i n parent heses at t he end of the
heading for the command. The emulations (IBM = IBM Propri nter, E = Epson FX, and ML = OKIDATA MICROLINE Standard) are descri bed i n C hapt er 1.
For example:
Proportional Spacing Commands (IBM/E/ML)
The printer models to which each command appli es are gi ven i mmedi at el y bel ow t he
command heading, preceded by a check mark (
ML320 E/I, ML321 E/I = Models ML320 & ML321, Epson/IBM-Compatible ML320 Std., ML321 Std. = Models ML320 & ML 321, MI C ROLI N E Standard Emulation ML320T, ML321T = Models ML320 Turbo & ML321 Turbo ML390T, ML391T = Models ML320 Turbo & ML321 Turbo ML520, ML521 = Models ML520 & ML521 ML590, ML591 = Models ML590 and ML591
For example:
Proportional Spacing Commands (IBM/E/ML) ML320 E/I, ML321 E/I ML320T, ML321T ML520, ML521 ML320 Std., ML321 Std. ML390T, ML391T ML590, ML591
⻬).
Text denoting lines of BASIC programming is set in the Courier font.
For example:
LPRINT CHR$(27);"[@";CHR$(4);CHR$(0);CHR$(0);CHR$(0);
CHR$(34);CHR$(0)
Notes, which contain important informati on t hat you shoul d read, are set in italics.
For example:
Note: If you send a location value outside the set left or right margin, this command
will be ignored.
How to Use this Manualviii
Abbreviations & Acronyms
The following abbreviations and acronyms are used in this manual:
ASCII American Standard Codes for Information Interchange
Cpi Characters per inch Cpl Characters per line
CSF Cut Sheet Feeder Dec Decimal DLL Down Line Loading
Dpi Dots per inch
E Epson FX Emulation
E/I Epson/IBM Compatible Model
Hex Hexadecimal
HSD High Speed Draft
IBM IBM Proprinter Emulation
ML OKIDATA MICROLINE Standard Emulation
NLQ Near Letter Quality
ROM Read Only Memory
RAM Random Access Memory
Std. OKIDATA MICROLINE Standard Model
TOF Top of Form UTL Utility
How to Use this Manual ix
Command Summary
This summary is in four sections:
IBM Commands
Epson FX Commands
Epson LQ Commands
Okidata MICROLINE Standard Commands
Each is section arranged numerically by the deci mal val ue f or t he AS CI I command. The page
number given in the last column refers you to the explanation of the command in this manual.
The printer models which include that particular command are listed in the third column:
Models ML320 and ML321 incorporate either the Epson FX and IBM Proprinter
emulations (designated as “E/I” in the table) or the OKIDATA MICROLINE Standard emulation (designated as “Std.” in the table).
Note: If you’re not sure which version of the ML320 or ML321 printer you have, run the
Self Test (hold LF button while turning on the printer), then look at the first line that prints: if you see EI, you have the Epson/IBM version; i f you see OKI , you have the OKIDATA MICROLI N E St andard version.
Models ML 320 Turbo, ML321 Turbo, ML520 and ML521 i ncorporate the IBM Proprinter,
Epson FX and OKIDATA MICROLIN E St andard emulations.
Models ML 390 Turbo, ML391 Turbo, ML590 and ML 591 incorporate the IBM Proprinter, IBM Proprinter AGM, and Epson LQ emulations.
IBM Proprinter Commands
IBM Command: ASCII
Decimal Function Applies to Model(s) Page
BS8Backspace ML320/321 E/I,
ML320T/321T, ML390T/391T, ML520/521, ML590/591
Execute horizontal tab
HT
9
ML320/321 E/I, ML320T/321T, ML390T/391T, ML520/521, ML590/591
LF10Line feed (with carriage
return)
ML320/321 E/I, ML320T/321T, ML390T/391T, ML520/521, ML590/591
VT11Vertical tab ML320/321 E/I,
ML320T/321T, ML390T/391T, ML520/521, ML590/591
FF12Form feed ML320/321 E/I,
ML320T/321T, ML390T/391T, ML520/521, ML590/591
Carriage return
CR
13
ML320/321 E/I, ML320T/321T, ML390T/391T, ML520/521, ML590/591
SO14Begin double width
printing line by line
ML320/321 E/I, ML320T/321T, ML390T/391T, ML520/521, ML590/591
69
73
87
94
87
69
21
IBM Command Summary xi
IBM Command: ASCII
p
Decimal Function Applies to Model(s) Page
DC117Print suppress mode off ML320/321 E/I,
DC218Select 10 cpi ML320/321 E/I,
DC420End double width printing
CAN24Cancel ML320/321 E/I,
ESC SI
27 15
ESC DLE @ Pn A1 A2 P1 P2 P3 P
27 16 64 Pn A1 A2 P1 P2 P3 P
ESC DLE A m n1 ... n
27 16 65 m n1 ... n
ESC DLE A m n1 ... n
27 16 65 m n1 ... n
ESC DLE B m n [data]
27 16 66 m n [data]
ESC DLE B m n [data]
27 16 66 m n [data] ESC DLE C P1 [data]
27 16 67 P
[data]
1
ESC DLE C P1 [data]
27 16 67 P
[data]
1
ESC DLE F Pno Pn Lp H
27 16 70 Pno Pn Lp H
ESC EM 1
27 25 49
ESC EM 2
27 25 50 ESC EM I
27 25 73
ESC EM R
27 25 82
ESC SP n
27 32 n
SI15Select compressed pitch ML320/321 E/I,
ML320T/321T, ML390T/391T, ML520/521, ML590/591
ML320T/321T, ML390T/391T, ML520/521, ML590/591
ML320T/321T, ML390T/391T, ML520/521, ML590/591
ML320/321 E/I,
line by line
ML320T/321T, ML390T/391T, ML520/521, ML590/591
ML320T/321T, ML390T/391T, ML520/521, ML590/591
Select 20 cpi ML320/321 E/I,
ML320T/321T, ML390T/391T, ML520/521, ML590/591
Set multiple print positions ML320T/321T, ML390T/391T,
4 4
Select bar code type and
8
size
8
Select bar code type and
8
size
8
ML520/521, ML590/591 ML320T/321T,
ML520/521 ML390T/391T,
ML590/591
Print bar code data ML320T/321T,
ML520/521
Print bar code data ML390T/391T,
ML590/591
Print Postnet bar code data
Print Postnet bar code data
Select character
pitch/point size
p
Select Bin 1 of Dual-Bin
ML320T/321T, ML520/521
ML390T/391T, ML590/591
ML320T/321T, ML390T/391T, ML590/591
ML390T/391T, ML590/591 126
CSF Select Bin 2 of Dual-Bin
ML390T/391T, ML590/591 126
CSF Insert Sheet
(Cut Sheet Feeder)
ML320/321 E/I, ML320T/321T, ML390T/391T, ML520/521, ML590/591
Eject sheet (Cut Sheet Feeder)
ML320/321, ML390T/391T, ML520/521, ML590/591
Set intercharacter spacing ML390T/391T,
ML590/591
16
129
15
21
125
16
77
101­112
113­122
101­112
113­122
101, 112
113, 124
19
126
126
26
IBM Command Summaryxii
IBM Command: ASCII
Decimal Function Applies to Model(s) Page
ESC ! n
27 33 n
ESC # 0
27 35 48
ESC $ 27 36
ESC % 4 n
27 37 52 n
ESC % 5 n
27 37 53 n
ESC % 8 n
27 37 56 n
ESC % 9 n
27 37 57 n
ESC % B n1 n2 n3 n
27 37 66 n1 n2 n3 n
ESC % G 27 37 71
ESC % H 27 37 72
ESC * m n1 n2 [data]
27 42 n
1 n2
[data]
ESC - 0
27 45 48
ESC - 1
27 45 49
ESC 0 27 48
ESC 1 27 49
ESC 2 27 50
Select international character set
ML320/321 E/I, ML320T/321T, ML390T/391T, ML520/521, ML590/591
Select HSD print mode ML320/321 E/I,
ML320T/321T, ML520/521
Copy ROM character set to RAM character set
ML320/321 E/I, ML320T/321T, ML520/521
Perform n/360" line feed
ML390T/391T, ML590/591
Perform n/144" line feed ML320/321 E/I,
ML320T/321T, ML520/521, ML590/591
Set line spacing to n/360"
ML390T/391T, ML590/591
Set line spacing to n/144" ML320/321 E/I,
ML320T/321T, ML520/521
Indent from left margin ML320/321 E/I,
4 4
ML320T/321T, ML520/521
Italic printing on
ML320/321 E/I, ML320T/321T, ML390T/391T, ML520/521, ML590/591
Italic printing off ML320/321 E/I,
ML320T/321T, ML390T/391T, ML520/521, ML590/591
Graphics select/print:
AGM only
ML390T/391T, ML590/591
Underline printing off ML320/321 E/I,
ML320T/321T, ML520/521, ML590/591
Underline printing on ML320/321 E/I,
ML320T/321T, ML520/521, ML590/591
Set line spacing to 1/8" ML320/321 E/I,
ML320T/321T, ML390T/ML391T, ML520/521, ML590/591
Set line spacing to 7/72" ML320/321 E/I,
ML320T/321T, ML390T/ML391T, ML520/521, ML590/591
Set line feed stored by ESC A n
ML320/321 E/I, ML320T/321T, ML390T/ML391T, ML520/521, ML590/591
9
29
40
88
88
92
90
76
35
35
63
36
36
90
90
89
IBM Command Summary xiii
IBM Command: ASCII
Decimal Function Applies to Model(s) Page
ESC 3 n 27 51 n
ESC 3 n 27 51 n
ESC 4 27 52
ESC 5 0
27 53 48
ESC 5 1
27 53 49
ESC 6 27 54
ESC 7 27 55
ESC 8 27 56
ESC 9 27 57
ESC :
27 58
ESC = n1 n2 # a1 a2 a3 m ad1 ad2 id
id2 d1 d2 d3 d4 d5 [data]
26 61 n
35 a1 a2 a3 m ad1 ad2 id
1 n2
id2 d1 d2 d3 d4 d5 [data]
ESC = c1 c2 m n a1 a2 [data] 27 61 c
m n a1 a2 [data]
1 c2
ESC ? m n
27 63 m n
ESC A n
27 65 n
ESC A n
27 65 n
ESC B NUL
27 66 0
Set line spacing to n/216” ML320/321 E/I,
ML320T/321T, ML520/521, ML590/591
Set line spacing to n/216”
ML390T/ML391T 92 in PPR, or to n/180" in AGM
Set top of form ML320/ 321 E/ I ,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Auto line feed off
ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Auto line feed on ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Select IBM Set II ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Select IBM Set I ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Paper-out sensor off
ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Paper-out sensor on ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Select 12 cpi ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Down line load custome
1
ML590/591 47 characters
1
Down line load characters ML320/321 E/I,
ML320T/321T,
ML520/521, ML590/591 Reassign graphics codes:
Applies to IBM AGM only
ML390/391T,
ML590/591 Set line spacing of n/72" ML320/321 E/I,
ML320T/321T,
ML520/521, ML590/591 Set line spacing of n/72" in
ML390T/ML391T 91 PPR, or to n/60" in AGM
Clear vertical tabs
ML320/321 E/I,
ML320T/321T,
ML520/521, ML590/591
90
98
89
89
5
5
128
128
15
41
64
90
94
IBM Command Summaryxiv
IBM Command: ASCII
Decimal Function Applies to Model(s) Page
ESC B n1 n2 ... nk NUL
27 66 n
1 n2
... nk 0
ESC C n
27 67 n
ESC C NUL n
27 67 0 n
ESC D NUL NUL
27 68 0 0
ESC D n1 n2 ... nk NUL
27 68 n
1 n2
... nk 0
ESC E 27 69
ESC F 27 70
ESC G
27 71
ESC H
27 72
ESC I n
27 73 n
ESC J n
27 74 n
ESC J n
27 74 n
ESC K Ln Hn [data]
27 75 L
n Hn
[data]
ESC L Ln Hn [data] 27 76 L
n Hn
[data]
ESC N n
27 78 n
ESC O
27 79
Set vertical tabs ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Set page length in lines. ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Set page length in inches. ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Clear horizontal tab
settings
ML320/321 E/I,
ML320T/321T,
ML520/521, ML590/591 Set horizontal tab ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521 Emphasized printing on ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Emphasized printing off ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Enhanced printing on
ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Enhanced printing off ML320/321 E/I,
ML320T/321T, ML390T/391T.
ML520/521, ML590/591 Combined select font ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Perform n/216" line feed ML320/321 E/I,
ML320T/321T,
ML520/521, ML590/591 Perform n/216" (PPR) or
ML390T/391T 88 n/180" (AGM) line feed
Begin single density graphics
ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Double density graphics
ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Skip over perforation on ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Skip over perforation off ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591
94
85
85
76
73
36
36
36
36
31
88
54
54
99
99
IBM Command Summary xv
IBM Command: ASCII
Decimal Function Applies to Model(s) Page
ESC P 0
27 80 48
ESC P 1
27 80 49
ESC Q ETX
27 81 3
ESC Q SYN
27 81 16
ESC Q #
27 81 23
ESC Q $
27 81 24
ESC R
27 82
ESC S 0
27 83 48
ESC S 1
27 83 48
ESC T 27 84
ESC U 0
27 85 48
ESC U 1
27 85 49
ESC V n
27 86 n
ESC W 0
27 87 48
ESC W 1
27 87 49
ESC X n m 27 88 n m
ESC Y Ln Hn [data]
27 89 L
n Hn
[data]
Proportional spacing off ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Proportional spacing on ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Print suppress mode on ML320 E/I,
ML320T,
ML520 Print suppress mode on
ML321 E/I,
ML321T,
ML521 Print suppress mode on ML391T,
ML591 Print suppress mode on
ML390T,
ML590 Clear vertical tabs (resets
to default horizontal tabs)
ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Start superscript printing ML320/ 321 E/ I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Start subscript printing
ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Stop superscript/subscript
printing
ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Uni-directional printing
off
ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Uni-directional printing
on
ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Set intercharacter spacing
ML320/321 E/I,
ML320T/321T,
ML520/521 End double width printing ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Begin double width
printing
ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Set left & right margins
ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Double speed/ double
density graphics
ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591
25
25
129
129
129
129
94
20
20
20
82
82
26
21
21
69
54
IBM Command Summaryxvi
IBM Command: ASCII
p
p
fid Lfid Hfwd Lfwd
ESC Z Ln Hn [data]
27 90 L
ESC [ @ Ln Hn NUL NUL n1 n
27 91 64 Ln Hn 0 0 n1 n
ESC [ @ n1 n2 m1 m2 m3 m
27 91 64 n1 n2 m1 m2 m3 m
ESC [ T Ln Hn NUL NUL H
27 91 84 L
0 0 Hcp Lcp 0
n Hn
ESC [ \ 4 0 0 0 n1 n
27 91 92 52 48 48 48 n1 n
ESC [ g n1 n2 m [data]
27 91 103 n
1 n2
ESC [ I Ln Hn H
27 91 108 Ln Hn H
fid Lfid Hfwd Lfwd fa
27 100 n1 n
27 101 n1 n
27 108 Ln H
Decimal Function Applies to Model(s) Page
n Hn
[data]
Quadruple density graphics
ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591 Set character width, line
2
spacing and character
2
height . Begin/end double height
4
printing.
4
L
NUL
c
c
Print from code page ML320T/321T, ML390T/391T,
ML320/321 E/I,
ML320T/321T,
ML520/521, ML590/591
ML390T/391T 23
ML520/521, ML590/591 Set vertical units for the
2
line spacing command.
2
ML390T/391T 93
Set graphics resolution ML390T/391T,
m [data]
ESC \ Ln H 27 92 Ln H
f
Select font ML390T/391T 32
a
Print data from the All
n
Characters Set
n
ML590/591
ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591
ESC ]
27 93
Reverse line feed ML320/321 E/I,
ML320T/321T,
ML520/521,
ESC ^ n 27 94 n
Print one character from the All Characters Set
ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591
ESC _ 0
27 95 48
End overscore printing ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591
ESC _ 1
27 95 49
Begin overscore printing
ML320/321 E/I,
ML320T/321T, ML390T/391T,
ML520/521, ML590/591
ESC d n1 n
ESC e n1 n
ESC g
27 103 ESC i 0
Set right relative position ML390T/391T,
2 2
Set left relative position
2 2
ML590/591
ML390T/391T,
ML590/591 Select 15 cpi ML390T/391T,
ML520/521, ML590/591 Incremental printing off ML390T/391T, ML320T/321T 82
27 105 48
ESC i 1
Incremental printing on ML390T/391T, ML320T/321T 82
27 105 49
ESC j
Stop printing (deselect) ML390T/391T, ML590/591 131
27 106
ESC k n
Specify typeface ML390T/391T, ML590/ 591 30
27 107
ESC | Ln H
Set relative dot position ML320T/321T,
n n
ML520/521
54
22
11
64
6
89
7
37
37
80
80
15
79
IBM Command Summary xvii
IBM Command: ASCII
Decimal Function Applies to Model(s) Page
ESC n P
27 110 P
ESC q n
27 113 n
ESC r n
27 114 n
ESC x 0
27 120 48
ESC x 1
27 120 49
ESC { n
27 123 n
ESC } NUL
27 125 0
Select Graphics Aspect
n
Ratio: PPR only
n
ML390T/391T,
ML590/591 Specify outline/shadow ML390T/391T, ML590/591 38
Select color ML590/591 130
Select Utility print mode ML390/391T 30
Select LQ print mode ML390/391T 30
Change emulation ML320/321 E/I,
ML320T/321T,
ML520/521 Software I-Prime ML320/321T,ML390/391T,
ML520/521, ML590/591
65
125
131
IBM Command Summaryxviii
Epson FX Commands
Epson FX Command: ASCII
Decimal Function Applies to Model(s) Page
DC117Print suppress mode off ML320/321 E/I,
DC218Cancel 20 cpi ML320/321 E/I,
DC3
DC420End double width printing line
CAN24Cancel ML320/321 E/I,
ESC SO
27 14
ESC SI
27 15
ESC DLE @ Pn A1 A2 P1 P2 P3 P
27 16 64 Pn A1 A2 P1 P2 P3 P
ESC DLE A m n1 ... n
27 16 65 m n1 ... n
ESC DLE B m n [data]
27 16 66 m n [data] ESC DLE C P1 [data]
27 16 67 P
[data]
1
Backspace
BS
8
ML320/321 E/I, ML320T/321T, ML520/521
HT9Execute horizontal tab ML320/321 E/I,
ML320T/321T, ML520/521
Line feed (with carriage return)
LF
10
ML320/321 E/I, ML320T/321T, ML520/521
VT11Vertical tab ML320/321 E/I,
ML320T/321T, ML520/521
Form feed
FF
12
ML320/321 E/I, ML320T/321T, ML520/521
CR13Carriage return ML320/321 E/I,
ML320T/321T, ML520/521
SO14Begin double width printing
line by line
ML320/321 E/I, ML320T/321T, ML520/521
SI15Select compressed pitch ML320/321 E/I,
ML320T/321T, ML520/521
ML320T/321T, ML520/521
ML320T/321T, ML520/521
Print suppress mode on
19
ML320/321 E/I, ML320T/321T, ML520/521
ML320/321 E/I,
by line
ML320T/321T, ML520/521
ML320T/321T, ML520/521
Begin double width printing line by line
ML320/321 E/I, ML320T/321T, ML520/521
Select 20 cpi ML320/321 E/I,
ML320T/321T, ML520/521
Set multiple print positions ML320T/321T, ML520/521 77
4 4
Select bar code type and size ML320T/32 1T, ML520/521 101-
8 8
Print bar code data ML320T/321T, ML520/ 521 101-
Print Postnet bar code data ML320T/321T, ML520/521 113,
69
73
87
94
87
69
21
16
129
16
129
21
125
21
16
112
112
124
Epson FX Command Summaryxx
Epson FX Command: ASCII
Decimal Function Applies to Model(s) Page
ESC EM I 27 25 73
ESC EM R
27 25 82 ESC SP n
27 32 n
ESC ! n
27 33 n
ESC # 27 35
ESC $ Ln H
27 36
ESC % 0
27 37 48
ESC % 1
27 37 49
ESC % 5 n
27 37 53
ESC % 9 n
27 37 57 n
ESC & NUL n1 n2 a [data]
27 38 0 n
1 n2
a [data]
ESC ( 0
27 40 48
ESC ( t 3 0 Pn1 Pn2 P
27 40 116 51 48 Pn1 Pn2 P
ESC * m Ln Hn [data]
27 42 m L
n Hn
[data]
ESC - 0
27 45 48
ESC - 1
27 45 49
ESC / n
27 47 n
ESC 0 27 48
Insert sheet (Cut Sheet Feeder) ML320/321 E/I,
ML320T/321T, ML520/521
Eject sheet (Cut Sheet Feeder)
ML320/321 E/I, ML320T/321T, ML520/521
Set intercharacter spacing ML320/321 E/I,
ML320T/321T, ML520/521
Combined print mode ML320/321 E/I,
ML320T/321T, ML520/521
Cancel MSB control ML320/321 E/ I ,
ML320T/321T, ML520/521
Set absolute dot position ML320/321 E/I,
n
ML320T/321T, ML520/521
Select standard character set
ML320/321 E/I, ML320T/321T, ML520/521
Select custom character set ML320/321 E/I,
ML320T/321T, ML520/521
Perform n/144" line feed ML320/321 E/I,
ML320T/321T, ML520/521
Set line spacing to n/144" ML320/321 E/I,
ML320T/321T, ML520/521
Down line load characters
ML320/321 E/I, ML320T/321T, ML520/521
Select HSD print mode ML320/321 E/I,
ML320T/321T, ML520/521
Assign code page ML320/321T 12
n3 n3
Graphics select/print
ML320/321 E/I, ML320T/321T, ML520/521
Underline printing off ML320/321 E/I,
ML320T/321T, ML390T/391T, ML520/521
Underline printing on
ML320/321 E/I, ML320T/321T, ML390T/391T, ML520/521
Select vertical tab channel ML320/321 E/I,
ML320T/321T, ML520/521
Set line spacing to 1/8" ML320/321 E/I,
ML320T/321T, ML520/521
126
126
26
34
128
80
44
44
88
90
43
29
55
36
36
95
90
Epson FX Command Summary xxi
Epson FX Command: ASCII
Decimal Function Applies to Model(s) Page
ESC 1 27 49
ESC 2 27 50
ESC 3 n 27 51 n
ESC 4 27 52
ESC 5 27 53
ESC 6 27 54
ESC 7 27 55
ESC 8 27 56
ESC 9 27 57
ESC : NUL NUL NUL
27 58 0 0 0
ESC : NUL n NUL
27 58 0 n 0
ESC <
27 60
ESC =
27 61
ESC >
27 62
ESC ? m n
27 63 m n
ESC @
27 64
ESC A n
27 65 n
Set line spacing to 7/72" ML320/321 E/I,
ML320T/321T, ML520/521
Set line spacing to 1/6" ML320/321 E/I,
ML320T/321T, ML520/521
Set line spacing to n/216" ML320/321 E/I,
ML320T/321T, ML520/521
Italic printing on
ML320/321 E/I, ML320T/321T, ML520/521
Italic printing off ML320/321 E/I,
ML320T/321T, ML520/521
Permit printing upper range control codes
ML320/321 E/I, ML320T/321T, ML520/521
Cancel printing upper range control codes
ML320/321 E/I, ML320T/321T, ML520/521
Paper-out sensor off
ML320/321 E/I, ML320T/321T, ML520/521
Paper-out sensor on ML320/321 E/I,
ML320T/321T, ML520/521
Copy ROM character set to
ML320/321 E/I, ML320T/321T 43
RAM character set Copy ROM character set to
ML520/521 43
RAM character set Print uni-directional for one
line only
ML320/321 E/I, ML320T/321T, ML520/521
Set Most Significant Bit (MSB) to zero
ML320/321 E/I, ML320T/321T, ML520/521
Set MSB to 1 ML320/321 E/I,
ML320T/321T, ML520/521
Reassign graphics ML320/321 E/I,
ML320T/321T, ML520/521
Initialize printer
ML320/321 E/I, ML320T/321T, ML520/521
Set line spacing to n/72"
ML320/321 E/I, ML320T/321T, ML520/521
90
90
90
35
35
13
13
128
128
82
128
128
57
127
90
Epson FX Command Summaryxxii
Epson FX Command: ASCII
Decimal Function Applies to Model(s) Page
ESC B NUL
27 66 0
ESC B n1 n2 ... nk NUL
27 66 n
1 n2
... nk 0
ESC C n
27 67 n
ESC C NUL n
27 67 0 n
ESC D NUL NUL
27 68 0 0
ESC D n1 n2 ... nk NUL
27 68 n
1 n2
... nk 0
ESC E 27 69
ESC F 27 70
ESC G
27 71
ESC H
27 72
ESC I 0
27 73 48
ESC I 1
27 73 49
ESC K Ln Hn [data] 27 75 L
n Hn
[data]
ESC L Ln Hn [data]
27 76 L
n Hn
[data] ESC M
27 77
ESC N n
27 78 n
ESC O
27 79 ESC P
27 80
ESC Q n
27 81 n
ESC R n
27 82 n
ESC S 0
27 83 48
ESC S 1
27 83 49
ESC T 27 84
Clear vertical tabs ML320/321 E/I,
ML320T/321T, ML520/521
Set vertical tabs
ML320/321 E/I, ML320T/321T, ML520/521
Set page length in lines. ML320/321 E/I,
ML320T/321T, ML520/521
Set page length in inches. ML320/321 E/I,
ML320T/321T, ML520/521
Clear horizontal tab settings ML320/321 E/I,
ML320T/321T, ML520/521
Set horizontal tab ML320/321 E/I,
ML320T/321T, ML520/521
Emphasized printing on
ML320/321 E/I, ML320T/321T, ML520/521
Emphasized printing off ML320/321 E/I,
ML320T/321T, ML520/521
Enhanced printing on ML320/321 E/I,
ML320T/321T, ML520/521
Enhanced printing off
ML320/321 E/I, ML320T/321T, ML520/521
Cancel printing upper range control codes
Permit printing upper range control codes
Begin single density graphics
ML320/321 E/I, ML320T/321T, ML520/521
ML320/321 E/I, ML320T/321T, ML520/521
ML320/321 E/I, ML320T/321T, ML520/521
Double density graphics ML320/321 E/I ,
ML320T/321T, ML520/521
Select 12 cpi ML320/321 E/I,
ML320T/321T, ML520/521
Skip over perforation on
ML320/321 E/I, ML320T/321T, ML520/521
Skip over perforation off ML320/321 E/I,
ML320T/321T, ML520/521
Select 10 cpi ML320/321 E/I,
ML320T/321T, ML520/521
Set right margin ML320/321 E/I,
ML320T/321T, ML520/521
Select international character set
Start superscript printing
ML320/321 E/I, ML320T/321T, ML520/521
ML320/321 E/I, ML320T/321T, ML520/521
Start subscript printing ML320/321 E/I,
ML320T/321T, ML520/521
Stop superscript/ subscript printing
ML320/321 E/I, ML320T/321T, ML520/521
94
94
85
85
76
73
36
36
36
36
13
13
54
54
15
99
99
15
70
10
20
20
20
Epson FX Command Summary xxiii
Epson FX Command: ASCII
Decimal Function Applies to Model(s) Page
ESC U 0
27 85 48
ESC U 1
27 85 49
ESC W 0
27 88 48
ESC W 1
27 88 49
ESC Y Ln Hn [data] 27 89 L
n Hn
[data]
ESC Z Ln Hn [data] 27 90 L
n Hn
[data]
ESC \ Ln H
27 92 Ln H
ESC ^ m Ln Hn [data]
27 94 m L
n Hn
[data]
ESC a 0
27 97 48
ESC a 1
27 97 49
ESC a 2
27 97 50
ESC a 3
27 97 51
ESC b m n1 n2 ... nk NUL
27 98 m n
1 n2
... n 0
ESC g
27 103 ESC i 0
27 105 48
ESC i 1
27 105 49
ESC k n
27 107 n
ESC l n
27 108 n
ESC p 0
27 112 48
ESC p 1
27 112 49
ESC s 0
27 115 48
ESC s 1
27 115 49
Uni-directional printing off ML320/321 E/I,
ML320T/321T, ML520/521
Uni-directional printing on
ML320/321 E/I, ML320T/321T, ML520/521
End double width printing ML320/321 E/I,
ML320T/321T, ML520/521
Begin double width printing ML320/321 E/I,
ML320T/321T, ML520/521
Double speed/double density graphics
ML320/321 E/I, ML320T/321T, ML520/521
Quadruple density graphics ML320/321 E/I,
ML320T/321T, ML520/521
Set relative dot position
n n
ML320/321 E/I, ML320T/321T, ML520/521
Select 9-pin graphics printing ML320/321 E/I,
ML320T/321T, ML520/521
Left justification ML320/321 E/I,
ML320T/321T, ML520/521
Center justification
ML320/321 E/I, ML320T/321T, ML520/521
Right justification ML320/321 E/I,
ML320T/321T, ML520/521
Full (left and right) justification
ML320/321 E/I, ML320T/321T, ML520/521
Set vertical format unit (VFU) ML320/321 E/I,
ML320T/321T, ML520/521
Select 15 cpi ML520/521 15
Incremental printing off ML320T/321T 82
Incrementatl printing on ML320T/321T 82
Select NLQ print mode ML320/ 321 E/ I ,
ML320T/321T, ML520/521
Set left margin
ML320/321 E/I, ML320T/321T, ML520/521
Proportional spacing off ML320/321 E/I,
ML320T/321T, ML520/521
Proportional spacing on ML320/321 E/I,
ML320T/321T, ML520/521
Half-speed printing off
ML320/321 E/I, ML320T/321T, ML520/521
Half-speed printing on ML320/321 E/I,
ML320T/321T, ML520/521
82
82
21
21
54
54
80
57
83
83
83
83
95
29
70
25
25
127
127
Epson FX Command Summaryxxiv
Epson FX Command: ASCII
Decimal Function Applies to Model(s) Page
ESC t 0
27 116 48
ESC t 1
27 116 49
ESC w 0
27 119 48
ESC w 1
27 119 49
ESC x 0
27 120 48
ESC x 1
27 120 49
ESC { n
27 123 n
ESC } NUL
27 125 0
DEL
127
Select Epson Set 1 ML320/321 E/I,
7
ML320T/321T, ML520/521
Select Epson Set 2
ML320/321 E/I,
7
ML320T/321T, ML520/521
End double height printing ML320/321 E/I,
21 ML320T/321T, ML390T/391T, ML520/521
Begin double height printing ML320/ 321 E/ I ,
21 ML320T/321T, ML390T/391T, ML520/521
Select Utility print mode
ML320/321 E/I,
29 ML320T/321T, ML520/521
Select NLQ print mode ML320/ 321 E/ I ,
29 ML320T/321T, ML520/521
Change emulation ML320/321 E/I,
125 ML320T/321T, ML520/521
Software I-Prime ML520/521 131
Delete one character ML320/321 E/I,
127 ML320T/321T, ML520/521
Epson FX Command Summary xxv
Epson LQ Commands
Epson LQ Command: ASCII
Decimal Function Applies to Model(s) Page
Backspace
BS
8
ML390T/ML391T, ML590/591
HT9Execute horizontal tab ML390T/391T,
69
73
ML590/591
LF10Line feed (with carriage return) ML390T/391T,
87
ML590/591
VT
11
Vertical tab
ML390T/391T, ML590/591
94
FF12Form feed ML590/591 87
CR13Carriage return ML390T/391T,
SO14Begin double width printing li ne by line ML390T/391T,
DC1
17
DC218Cancel 20 cpi ML390T/391T,
DC319Print suppress mode on ML390T/391T,
DC4
20
CAN24Cancel ML390T/391T,
ESC SO
27 14
ESC SI
27 15
ESC DLE @ Pn A1 A2 P1 P2 P3 P
27 16 64 Pn A1 A2 P1 P2 P3 P
ESC DLE A m n1 ... n
27 16 65 m n1 ... n
ESC DLE B m n [data]
27 16 66 m n [data] ESC DLE C P1 [data]
27 16 67 P
[data]
1
ESC DLE G n 1
27 16 71 n 49
ESC EM 1
27 25 49
ESC EM 2
27 25 50
ML590/591
ML590/591
SI15Select compressed pitch ML390T/391T,
ML590/591
Print suppress mode off
ML390T/391T, ML590/591
ML590/591
ML590/591
End double width printing line by l i ne
ML390T/391T, ML590/591
ML590/591
Begin double width printing li ne by line ML390T/391T,
ML590/591
Select 20 cpi
ML390T/391T, ML590/591
Set multiple print positions ML390T/391T,
4 4
Select bar code type and size ML390T/391T,
8 8
Print bar code data
ML590/591
ML590/591 ML390T/391T,
ML590/591
Print Postnet bar code data ML390T/391T,
ML590/591
Set/reset raster graphics ML390/391T 66
Select Bin 1 of Dual-Bin CSF ML590/591 126
Select Bin 2 of Dual-Bin CSF ML590/591 126
69
21
16
129
16
129
21
125
21
16
77
113­122
113­122
113, 124
Epson LQ Command Summary xxvii
Epson LQ Command: ASCII
p
p
b
n
n3
p
Decimal Function Applies to Model(s) Page
ESC EM I 27 25 73
ESC EM R
27 25 82
ESC US 0
27 31 48
ESC US 1
27 31 49 ESC SP n
27 32 n
ESC ! n
27 33 n
ESC # 27 35
ESC $ Ln H 27 36 Ln H
ESC % 0
27 37 48
ESC % 1
27 37 49
ESC % 5 n
27 37 53 n
ESC & m n1 n2 d0 d1 d2 [data]
27 38 m n
1 n2 d0 d1 d2
[data]
ESC & NUL m n1 n2 d0 d1 d2 [data]
27 38 0 m n
1 n2 d0 d1 d2
[data]
ESC ( - Ln Hn Pn D1 D
27 40 45 Ln Hn Pn D1 D
ESC ( C 2 0 Lp H
27 40 67 40 48 Lp H
ESC ( G Ln Hn P
27 40 71 Ln Hn P
ESC ( U Ln Hn P
27 40 85 Ln Hn P
ESC ( V Ln Hn Lp H
27 40 86 Ln Hn Lp H
ESC ( ^ Ln Hn [data]
27 40 94 L
n Hn
[data]
ESC ( c 2 0 Lt Ht Lb H
27 40 99 50 48 Hn Lt Ht Lb H
ESC ( t Ln Hn Pn1 P
27 40 116 Ln Hn Pn1 Pn2 P
P
2
ESC ( v Ln Hn Lp H
27 40 118 Ln Hn Lp H
ESC * m n1 n2 [data]
27 42 n
1 n2
[data]
Insert sheet (Cut Sheet Feeder) ML390T/391T 126
Eject sheet (Cut Sheet Feeder) ML390T/391T 126
End double height printing ML390T/391T,
ML590/591
Begin double height printing ML390T/391T,
ML590/591
Set character spacing. ML390T/391T,
ML590/591
Combined print mode ML390T/391T,
ML590/591
Cancel MSB control
ML390T/391T, ML590/591
Set absolute dot position ML390T/391T,
n n
ML590/591
Select standard character set ML390T/391T ,
ML590/591
Select custom character set
ML390T/391T , ML590/591
Perform n/144" line feed ML590/591 88
Down line load characters ML390T/391T 50
Down line load characters ML590/591 50
Select score style: underline, overscore, or
2
strike through
2
ML390T/391T 37
Set Page Length ML390T/391T 86
p
Select graphics mode
n n
Set increment of movement ML390T/ 391T 130
n n
ML390T/391T, ML590/591
Absolute position line feed ML390T/391T 98
p
Select All Character Set ML390T/391T,
ML590/591
Set Page Format ML390T/391T 98
b
Select character table
n3
ML390T/391T, ML590/591
Relative position line feed ML390T/391T 97
p
Graphics select/print ML390T/391T,
ML590/591
21
21
26
34
128
80
51
51
65
6
13
63
Epson LQ Command Summaryxxviii
Epson LQ Command: ASCII
Decimal Function Applies to Model(s) Page
ESC + n
27 43 n
ESC - 0
27 45 48
ESC - 1
27 45 49
ESC . Pc Pv Ph Pm Ln Hn [data]
27 46 P
c Pv Ph Pm Ln Hn
[data]
ESC / n
27 47 n
ESC 0 27 48
ESC 2 27 50
ESC 3 n 27 51 n
ESC 3 n 27 51 n
ESC 4 27 52
ESC 5 27 53
ESC 6 27 54
ESC 7 27 55
ESC 8 27 56
ESC 9 27 57
ESC : NUL n NUL
27 58 0 n 0
ESC <
27 60
ESC =
27 61
ESC >
27 62
ESC ? m n
27 63 m n
ESC @
27 64
ESC A n
27 65 n
ESC B NUL
27 66 0
Set line spacing to n/360" ML390T/391T,
92
ML590/591
Underline printing off
ML390T/391T,
36
ML590/591
Underline printing on ML390T/391T,
36
ML590/591
Print Raster Graphics ML390T/391T,
66
ML590/591
Select vertical tab channel. ML390T/391T.
95
ml590/591
Set line spacing to 1/8" ML390T/ML391T 90
Set line spacing to 1/6"
ML390T/ML391T,
90
ML590/591
Set line spacing to n/180" ML390T/ML391T 92
Set line spacing to n/216" ML590/591 92
Italic printing on ML390T/391T 35
Italic printing off ML390T/391T 35
Permit printing upper range control codes ML390 T/ 391T,
13
ML590/591
Cancel printing upper range control codes
ML390T/391T ,
13
ML590/591
Paper-out sensor off ML390T/391T,
128
ML590/591
Paper-out sensor on ML390T/391T,
128
ML590/591
Copy ROM character set to RAM character set
ML390T, ML391T, ML590/591
Print uni-directional for one line only ML390T, ML391T,
49
82
ML590/591
Set Most Significant Bit (MSB) to zero ML390T/391T,
128
ML590/591
Set MSB to 1 ML390T/391T,
128
ML590/591
Reassign graphics ML390T, ML391T,
64
ML590/591
Initialize printer
ML390T/391T,
127
ML590/591
Set line spacing to n/60" ML390T/ML391T,
91
ML590/591
Clear vertical tabs ML590/591 94
Epson LQ Command Summary xxix
Loading...
+ 150 hidden pages