《Epson Escape Codes ESCP2 打印控制命令参考手册》(EPSON ESC/P Reference Manual)ESC/P2
电驴资源
| 用户共享的电驴资源列表 | |
|---|---|
| [Epson.Escape.Codes.ESCP2.打印控制命令参考手册].escp2_98.pdf | 6.08 MB |
| 6.08 MB | |
电驴资源简介
中文名: Epson Escape Codes ESCP2 打印控制命令参考手册英文名: EPSON ESC/P Reference Manual版本: ESC/P2发行时间: 1998年对白语言: 英语简介:
Epson Escape Codes(ESC/P2 98) 打印控制命令参考手册
EPSON ESC/P
Reference
Manual
December 1997
Introduction
When EPSON created the ESC/P printer control language, the industry standard for
simple, sophisticated, efficient operation of dot-matrix printers was born.
With the scalable fonts, high-resolution color raster graphics, and advanced page handling
available with ESC/P 2, EPSON has narrowed the gap between dot-matrix and page
printers. Features previously found only on laser printers are now available at affordable
dot-matrix printer prices.
This manual was developed as an aid in creating programs and drivers that take advantage
of all the latest features of EPSON’s printers. It is assumed the reader understands basic
concepts such as bytes, ASCII codes, commands, and parameters. It is also assumed the
reader can use a programming language or application program to send commands to the
printer. By following the recommendations within this manual, your programs will allow
EPSON printers to perform at the optimum levels they were designed for.
With the introduction of our line of high-resolution color printers, we have expanded some
existing ESC/P commands and added several new ones. This manual describes all ESC/P
commands, including two new compressed raster graphics modes and MicroWeave,
EPSON’s revolutionary technology that virtually eliminates banding in graphics.
In addition, we have provided a list of features and options available on all dot-matrix
printers produced by EPSON for the American, European, and non-Japanese Pacific
markets.
Contents
Introduction........................................................................................................................1
About This Manual................................................................................................................................. 2
Conventions Used in This Manual........................................................................................................ 2
Icons ...................................................................................................................................................... 2
Command names and parameters .................................................................................................... 3
Information organization................................................................................................................... 3
Nonrecommended and deleted commands..................................................................................... 3
INT and MOD ..................................................................................................................................... 4
Command Summary .......................................................................................................C-1
Command List by Function................................................................................................................ C-2
Command List by ASCII Order.......................................................................................................... C-6
Individual Command Explanations.................................................................................................. C-9
Binary Mode Commands................................................................................................................ C-216
Recommended Operations..............................................................................................R-1
Recommended Command Order ...................................................................................................... R-4
Set the Printing Area........................................................................................................................... R-5
The printable area ............................................................................................................................ R-6
Setting left and right margins......................................................................................................... R-9
Setting page length......................................................................................................................... R-10
Setting top and bottom margins................................................................................................... R-13
Setting bottom margin................................................................................................................... R-13
Select Characters ............................................................................................................................... R-15
Assign character tables.................................................................................................................. R-15
Defining user-defined characters ................................................................................................ R-17
Selecting an international character set ...................................................................................... R-41
Select a Font ....................................................................................................................................... R-42
Print quality (draft, LQ, or NLQ) ................................................................................................ R-43
Standard and scalable fonts (multipoint mode)........................................................................ R-43
Enhancements ............................................................................................................................... R-51
Super/subscript ............................................................................................................................. R-54
Select Supporting Features ............................................................................................................... R-55
Selecting unidirectional print head movement ......................................................................... R-55
Selecting print color ....................................................................................................................... R-55
Select the Print Position .................................................................................................................... R-56
Moving the horizontal position ................................................................................................... R-57
Moving the vertical position ........................................................................................................ R-60
Send Print Data.................................................................................................................................. R-64
Sending Graphics Data...................................................................................................................... R-65
Extended raster graphics (ESC . 2) .............................................................................................. R-83
Printing Bar Codes............................................................................................................................ R-84
Extended ESC/P 2 Programming Guide........................................................................................ R-99
Programming examples .............................................................................................................. R-104
ii Contents
Command Table .............................................................................................................. T-1
24/48-Pin Printers................................................................................................................................T-2
9-Pin Printers ......................................................................................................................................T-22
Feature Summary ............................................................................................................ F-1
24/48-Pin Printers................................................................................................................................F-3
9-Pin Printers ......................................................................................................................................F-78
Appendix ..........................................................................................................................A-1
Character Tables ..................................................................................................................................A-2
Proportional Width Information......................................................................................................A-21
Proportional width during multipoint mode (ESC/P 2 only) ................................................A-21
24/48-pin proportional width tables...........................................................................................A-21
9-pin proportional width tables ...................................................................................................A-26
ASCII Code Table ...............................................................................................................................A-30
Parallel Interface................................................................................................................................A-31
Internal Serial Interface .....................................................................................................................A-35
Six-pin DIN connector type..........................................................................................................A-35
25-pin subminiature D-shell connector (female) type..............................................................A-36
Optional Serial Interfaces..................................................................................................................A-37
Selecting PreESC/P 2 Fonts in ESC/P 2 Multipoint Mode..........................................................A-38
Glossary......................................................................................................................... G-1
Index ................................................................................................................................. I-1
Epson Escape Codes(ESC/P2 98) 打印控制命令参考手册
EPSON ESC/P
Reference
Manual
December 1997
Introduction
When EPSON created the ESC/P printer control language, the industry standard for
simple, sophisticated, efficient operation of dot-matrix printers was born.
With the scalable fonts, high-resolution color raster graphics, and advanced page handling
available with ESC/P 2, EPSON has narrowed the gap between dot-matrix and page
printers. Features previously found only on laser printers are now available at affordable
dot-matrix printer prices.
This manual was developed as an aid in creating programs and drivers that take advantage
of all the latest features of EPSON’s printers. It is assumed the reader understands basic
concepts such as bytes, ASCII codes, commands, and parameters. It is also assumed the
reader can use a programming language or application program to send commands to the
printer. By following the recommendations within this manual, your programs will allow
EPSON printers to perform at the optimum levels they were designed for.
With the introduction of our line of high-resolution color printers, we have expanded some
existing ESC/P commands and added several new ones. This manual describes all ESC/P
commands, including two new compressed raster graphics modes and MicroWeave,
EPSON’s revolutionary technology that virtually eliminates banding in graphics.
In addition, we have provided a list of features and options available on all dot-matrix
printers produced by EPSON for the American, European, and non-Japanese Pacific
markets.
Contents
Introduction........................................................................................................................1
About This Manual................................................................................................................................. 2
Conventions Used in This Manual........................................................................................................ 2
Icons ...................................................................................................................................................... 2
Command names and parameters .................................................................................................... 3
Information organization................................................................................................................... 3
Nonrecommended and deleted commands..................................................................................... 3
INT and MOD ..................................................................................................................................... 4
Command Summary .......................................................................................................C-1
Command List by Function................................................................................................................ C-2
Command List by ASCII Order.......................................................................................................... C-6
Individual Command Explanations.................................................................................................. C-9
Binary Mode Commands................................................................................................................ C-216
Recommended Operations..............................................................................................R-1
Recommended Command Order ...................................................................................................... R-4
Set the Printing Area........................................................................................................................... R-5
The printable area ............................................................................................................................ R-6
Setting left and right margins......................................................................................................... R-9
Setting page length......................................................................................................................... R-10
Setting top and bottom margins................................................................................................... R-13
Setting bottom margin................................................................................................................... R-13
Select Characters ............................................................................................................................... R-15
Assign character tables.................................................................................................................. R-15
Defining user-defined characters ................................................................................................ R-17
Selecting an international character set ...................................................................................... R-41
Select a Font ....................................................................................................................................... R-42
Print quality (draft, LQ, or NLQ) ................................................................................................ R-43
Standard and scalable fonts (multipoint mode)........................................................................ R-43
Enhancements ............................................................................................................................... R-51
Super/subscript ............................................................................................................................. R-54
Select Supporting Features ............................................................................................................... R-55
Selecting unidirectional print head movement ......................................................................... R-55
Selecting print color ....................................................................................................................... R-55
Select the Print Position .................................................................................................................... R-56
Moving the horizontal position ................................................................................................... R-57
Moving the vertical position ........................................................................................................ R-60
Send Print Data.................................................................................................................................. R-64
Sending Graphics Data...................................................................................................................... R-65
Extended raster graphics (ESC . 2) .............................................................................................. R-83
Printing Bar Codes............................................................................................................................ R-84
Extended ESC/P 2 Programming Guide........................................................................................ R-99
Programming examples .............................................................................................................. R-104
ii Contents
Command Table .............................................................................................................. T-1
24/48-Pin Printers................................................................................................................................T-2
9-Pin Printers ......................................................................................................................................T-22
Feature Summary ............................................................................................................ F-1
24/48-Pin Printers................................................................................................................................F-3
9-Pin Printers ......................................................................................................................................F-78
Appendix ..........................................................................................................................A-1
Character Tables ..................................................................................................................................A-2
Proportional Width Information......................................................................................................A-21
Proportional width during multipoint mode (ESC/P 2 only) ................................................A-21
24/48-pin proportional width tables...........................................................................................A-21
9-pin proportional width tables ...................................................................................................A-26
ASCII Code Table ...............................................................................................................................A-30
Parallel Interface................................................................................................................................A-31
Internal Serial Interface .....................................................................................................................A-35
Six-pin DIN connector type..........................................................................................................A-35
25-pin subminiature D-shell connector (female) type..............................................................A-36
Optional Serial Interfaces..................................................................................................................A-37
Selecting PreESC/P 2 Fonts in ESC/P 2 Multipoint Mode..........................................................A-38
Glossary......................................................................................................................... G-1
Index ................................................................................................................................. I-1
