Epson ET-4500, L575 Programming Manual

EPSON
Programming Guide
For
4 Color
EPSON Ink Jet Printer
ET-4500
󲷫
󲷫575
󲷫󲷫
(Level I)
2016/09/02
Revision: 1 Page: 1
All Rights Reserved. This publication may only be used for the purposes of research and development of products and services enhancing, enabling, or facilitating existing and future products and services bearing the EPSON trademark, and for providing support to those engaging or intending to engage in such activities. All other uses are unauthorized. No part of this publication may be reproduced, stored in any retrieval system, or transmitted in any form or by any means without the prior written permission of Seiko Epson Corporation for any purpose other than the authorized users. No patent liability is assumed with respect to the use of the information contained within. While every precaution has been taken in the preparation of this information, Seiko Epson Corporation and its affiliates assume no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information presented within.
EPSON and EPSON ESC/P are registered trademarks and EPSON ESC/P 2 is a trademark of SEIKO EPSON Corporation.
Copyright 2016 by SEIKO EPSON Corporation, Nagano, Japan
2016/09/02
Revision: 1 Page: 2
TABLE OF CONTENTS:
CHAPTER 1: Introduction ............................................................................................................................................................ 5
1.1 Features ................................................................................................................................................................................ 5
CHAPTER 2: PAPER TYPES AND SIZES Media Specification ................................................................................................ 6
2.1. Paper Sizes for these printers .............................................................................................................................................. 6
2.1.1 Paper Types ............................................................................................................................................................... 6
2.2. Paper Size and Orientation ................................................................................................................................................. 7
2.3. Printable Area ..................................................................................................................................................................... 8
2.3.1 Printing Area (Standard) ............................................................................................................................................. 10
CHAPTER 3: Printing Option ..................................................................................................................................................... 12
3.1. Printing Quality ................................................................................................................................................................ 12
3.2 Recommended Settings for Color and Monochrome Printing ........................................................................................ 13
3.2.1 Recommended Setting Modes .................................................................................................................................... 13
CHAPTER 4: COMMAND SEQUENCE ................................................................................................................................... 14
4.1 Raster Graphics Modes ...................................................................................................................................................... 14
4.2 Command Transfer Procedure ........................................................................................................................................... 15
4.2.1 Command transfer sequence for non-compressed and the run-length encoded compression modes .......................... 15
4.3 Limitations of Command Settings ..................................................................................................................................... 17
4.4 Raster Graphics Data Format ............................................................................................................................................. 18
CHAPTER 5: INDIVIDUAL COMMAND SPECIFICATIONS ................................................................................................ 23
5.1.1 Exit Packet Mode ........................................................................................................................................................ 23
5.1.2 Initialize printer ESC @ .............................................................................................................................................. 24
5.1.3 Line feed LF ............................................................................................................................................................... 25
5.1.4 Form feed FF .............................................................................................................................................................. 26
5.1.5 Carriage Return CR .................................................................................................................................................... 27
5.1.6 Control paper loading/ejecting ESC EM n ................................................................................................................. 28
5.1.7 Set absolute horizontal print position ESC $ nL nH ................................................................................................... 29
5.1.8 Set absolute horizontal print position ESC ( $ nL nH m1 m2 m3 m4 ........................................................................ 30
5.1.9 Set page length in defined unit (extended) ESC (C nL nH m1 m2 m3 m4 ................................................................. 31
5.1.10 Select graphics mode ESC (G nL nH m ................................................................................................................... 32
5.1.11 Set unit (extended) ESC (U nL nH P V H mL mH ................................................................................................... 33
5.1.12 Set absolute vertical print position (extended) ESC (V nL nH m1 m2 m3 m4 ......................................................... 34
5.1.13 Set page format (extended) ESC (c nL nH t1 t2 t3 t4 b1 b2 b3 b4 ........................................................................... 35
5.1.14 Monochrome Mode / Color Mode Selection ESC ( K nL nH m n ............................................................................ 36
5.1.15 Select MicroWeave printing mode ESC (i ................................................................................................................ 37
5.1.16 Selects dot size ESC (e nL nH m d ........................................................................................................................... 38
5.1.17 Select color ESC (r nL nH m n ................................................................................................................................. 39
5.1.18 Set relative vertical print position (extended) ESC (v nL nH m1 m2 m3 m4 ........................................................... 40
5.1.19 Print raster graphics ESC . c v h m nL nH d1...dk (c=0,1) ....................................................................................... 41
5.1.20 Set paper dimensions ESC (S nL nH w1 w2 w3 w4 l1 l2 l3 l4.............................................................................. 43
5.1.21 Set the raster image resolution ESC (D nL nH rL rH v h ................................................................................ 44
5.1.22 Transfer Raster image ESC i r c b nL nH mL mH d1......dk .................................................................................. 45
5.1.23 Turn unidirectional mode on/off ESC U n ................................................................................................................ 47
2016/09/02 Revision: 1 Page: 3
5.1.24 Set relative horizontal print position ESC (/ nL nH n1 n2 m1 m2 ............................................................................ 48
5.1.25 Set Print method ID ESC (m n .................................................................................................................................. 49
CHAPTER 6: REMOTE MODE ................................................................................................................................................. 50
6.1 Remote Mode Language Description ................................................................................................................................ 50
6.1.1 Enter Remote Mode (Remote Mode) ESC (R 08H 00H 00H "REMOTE1"............................................................... 52
6.1.2 Load Power-On Default NVR into RAM (Remote Mode) "LD" 00H 00H ................................................................ 53
6.1.3 Set printer timer (Remote Mode) " TI" 08H 00H 00H YYYY MM DD hh mm ss ................................................. 54
6.1.4 Set horizontal print position (Remote Mode) “FP” 03H 00H 00H m1 m2 .............................................................. 55
6.1.5 Turn printer state reply on/off (Remote Mode) “ST” 02H 00H 00H m1 .................................................................... 56
6.1.6 Job name set “JH” nL nH 00H m1 m2 m3 m4 m5 <job name> .............................................................................. 57
6.1.7 Start job “JS” nn 00H 00H <job name> m1 .............................................................................................. 58
6.1.8 End job “JE” 01H 00H 00H ............................................................................................................................ 58
6.1.9 Paper Feed Setup "SN" 01H 00H 00H ........................................................................................................................ 59
6.1.10 Select paper path “PP” 03H 00H 00H m1 m2 ........................................................................................ 60
6.1.11 Select paper media “MI” 04H 00H 00H m1 m2 m3 ............................................................................ 61
6.1.12 Select Duplex Printing “DP” 02H 00H 00H m1 ........................................................................................ 65
6.1.13 User Setting “US” 03H 00H 00H m1 m2 ............................................................................................... 66
6.1.14 Terminate Remote Mode (Remote Mode) ESC 00H 00H 00H ................................................................................ 67
CHAPTER 7: STATUS REPLY CODE SPECIFICATION ....................................................................................................... 68
7.1 Status code ......................................................................................................................................................................... 69
7.2 Error code .......................................................................................................................................................................... 69
7.3 Warning code ..................................................................................................................................................................... 70
7.4 Paper path .......................................................................................................................................................................... 71
7.5 Cleaning time information ................................................................................................................................................. 71
7.6 Ink information .................................................................................................................................................................. 72
7.7 Loading path information .................................................................................................................................................. 73
7.8 Cancel code ........................................................................................................................................................................ 73
7.9 Job name Information ........................................................................................................................................................ 73
7.10 Paper Jam error information ............................................................................................................................................ 74
7.11 Paper Count information .................................................................................................................................................. 75
7.12 Printer I/F Status .............................................................................................................................................................. 76
CHAPTER 8: Device ID ............................................................................................................................................................. 77
Tables
Table 1 Outline and feature of printer ................................................................................................................................. 5
Table 2
Coordinate Systems for a Single Sheet of Paper ................................................................................................ 9
Table 3
Command Sequence for the Conventional command method of graphics data transmission .......................... 15
Table 4
Command Sequence for the newer Method of ESC ( D command method of graphics data transmission ..... 16
2016/09/02
Revision: 1 Page: 4
CHAPTER 1: Introduction
This section of this handbook will provide a technical overview of EPSON ET-4500/L575 to facilitate driver development.
1.1 Features
These printers are a narrow carriage of the four color inkjet printers introduced by EPSON. The advanced EPSON Micro Piezo technology that is implemented these printers produces smaller ink droplets. These printers are an ideal business printer. They will deliver resumes, letterheads, reports, envelopes and presentations on all types of paper or transparent media.
These printers use the original ink supply system. These printers incorporate the following features:
Highest resolution at 5760x1440dpi
Ink supply system with outer ink tank
I/F : USB2.0 High speed
These printers are bi-directional interfaces and EPSON’s Remote Mode bi-directional printer control language, the host computer can obtain useful printer status information. See Chapter 6 in this Handbook for further information concerning EPSON’s Remote Mode printer control language.
Table 1 Outline and feature of printer
Print Head 180 nozzles for Black, 59 nozzles for Cyan, Magenta, Yellow
Original individual ink cartridge.
Interface (s)
USB2.0
Outline and feature
Printer Language Resolution Max (dpi) Font Support Code table Ink Cartridge Type
* - - CMYK refers to: Cyan, Magenta, Yellow and Black
USB Endpoint
I/F No. Endpoint Address Endpoint Type Linked Interface
0x00
0x01
ESC/P Raster & Remote Mode 5760(h) x 1440(v) No support No support *CMYK
0x01 Bulk Out 0x02 Bulk In 0x04 Bulk Out 0x05 Bulk In
Scanner
Printer
2016/09/02
Revision: 1 Page: 5
CHAPTER 2: PAPER TYPES AND SIZES Media Specification
YES YES
YES YES
16:9 wide
Heavy
-
weight(
EUR/Asia
)
Photo Quality Self Adhesive
Photo Quality Self Adhesive
(JPN)
(JPN)
In addition to the standard plain paper and envelope sizes, EPSON provides special paper types in the following sizes:
2.1. Paper Sizes for these printers
2.1.1 Paper Types
Paper Type Size US EUR/Asia Japan
普通紙(JPN)
Plain paper(Others)
Bright White Paper(US) Cut sheets Letter YES NO NO
両面上質普通紙<再生紙
>(JPN)
Bright White Ink Jet
Paper(EUR/Asia)
写真用紙<光沢>(JPN)
Premium Photo Paper
Glossy(US)
Premium Glossy Photo
Paper(EUR/Asia)
フォトマット紙(JPN)
Premium Presentation Paper
Matte(US)
Cut sheets Legal YES
Letter YES
A4 YES YES YES B5 NO YES YES A5 NO YES YES
Half-Letter YES NO NO
A6 YES YES YES
User-defined YES YES YES
Cut sheets A4 NO YES YES
Cut sheets Letter YES NO NO
A4 YES YES YES 8x10in.(六切) YES NO YES 5x7in./2L size YES YES YES
NO YES YES
4x6in. YES YES YES
3.5x5in./L size NO NO YES
Cut sheets Letter YES NO NO
A4 YES YES YES 8x10in.(六切) YES NO NO
Matte Paper
スーパーファイン紙(JPN)
Presentation Paper
Matte(US)
Photo Quality Ink Jet
Paper(EUR/Asia)
スーパーファイン専用紙ハ
ガキ(JPN)
スーパーファイン専用ラベル
シート(JPN)
Sheets(US)
Sheets(EUR/Asia)
往復ハガキ(JPN) Post card Double Postcard NO NO YES 郵便ハガキ(JPN) Post card Postcard NO NO YES
郵便 IJ ハガキ
国内封筒
Post card Postcard NO NO YES
Envelope(US)
Envelope(EUR/Asia)
Cut sheets Letter YES NO NO
A4 YES YES YES
Post Card Postcard NO NO YES
Cut Sheets A4 NO NO YES
Envelope Japanese CHOKEI 3
Envelope
Japanese CHOKEI 4
Envelope Japanese YOKEI 1 Envelope NO NO YES Japanese YOKEI 3 Envelope NO NO YES Japanese YOKEI 4 Envelope NO NO YES
Envelope #10 (Portrait) YES YES NO
Envelope DL (Portrait)
Envelope C6 /
Japanese YOKEI 2 Envelope
(Portrait)
NO NO YES
NO NO YES
NO YES NO NO YES YES
2016/09/02
Revision: 1 Page: 6
2.2. Paper Size and Orientation
Orientation
Paper Type Dimensions
W x L
A4 210 mm x 297 mm Yes No A5 148 mm x 210 mm Yes No A6 105 mm x 148 mm Yes No
B5 182 mm x 257 mm Yes No Legal 8.5in. x 14in. Yes No Letter 8.5in. x 11in. Yes No
8x10in.(六切) 203mm 254mm Yes No
Half Letter 5.5 in. x 8.5 in. Yes No
5in. x8in. 5 in. x 8 in. Yes No
5x7in. / 2L size 127x178 mm Yes No
4 x 6 in. 113.6 mm x 164.4 mm*1) Yes No
3.5x5in. / L size 89 x 127 mm Yes No 16:9 wide 102mm x152mm Yes No
Postcard
Double Postcard
Envelope #10 9.5 in. x 4 .125 in. Yes No
Envelope DL 220 mm x 110 mm Yes No
Envelope C4 /
Japanese KAKUGATA 20 Envelope
Japanese YOKEI 1 Envelope 120mm x 176mm Yes No
Envelope C6 / Japanese YOKEI 2 Envelope Japanese YOKEI 3 Envelope 98mm x 148mm Yes No
Japanese YOKEI 4 Envelope 105mm x 235mm Yes No Japanese CHOKEI 3 Envelope 120mm x 235mm *2) Yes *3) No Japanese CHOKEI 4 Envelope 90mm x 205mm *2) Yes *3) No
User-defined
89 to 215.9 mm x 127 to 1117.6 mm
100 mmx148 mm Yes No 200 mmx148 mm No Yes
229 mm x 324 mm Yes No
162 mm x 114 mm Yes No
(3.5 in. to 8.5 in. x 5 in. to 44 in.)
Yes No
1) Each of the predetermined sizes is inserted only in the orientation indicated by "Yes" in the above table.
2) Dimension indicates body size without flap.
3) Loading envelope, flap edge first, with printable side up.
2016/09/02
Revision: 1 Page: 7
2.3. Printable Area
For the purpose of printing, a sheet of paper is divided into two regions: the printable area and the non-printable area. These areas are defined as follows.
The printable area is the region within which the printing position can be set, and is the portion which is surrounded by the left margin position, the right margin position, the top margin position, and the bottom margin position. The non-printable area is the region in which the printing position cannot be set, except for the right margin position, and is the region on the paper outside the printable area.
The margins, which determine the printable area, are defined as follows.
The left margin determines the non-printable strip appended to the left side of the printable area. The left margin position, which defines the margin boundary, is set upon the X axis. Moreover, the left margin position is considered as being included in the printable area. The right margin determines the non-printable strip appended to the right side of the printable area. The right margin position, which defines the margin boundary, is set upon the X axis. Moreover, the right margin position is considered as being included in the non-printable area. However, it is possible to set the printing position to the right margin position. The top margin determines the non-printable strip appended to the upper side of the printable area. The top margin position, which defines the margin boundary, is set upon the Y axis. Moreover, the top margin position is considered as being included in the printable area. The bottom margin determines the non-printable strip appended to the lower side of the printable area. The bottom margin position, which defines the margin boundary, is set upon the Y axis. Moreover, the bottom margin position is considered as being included in the printable area.
The page management X-Y discrete coordinate system (hereinafter abbreviated as the page management coordinate system) which is used as the reference for setting the position of each of these margins, is the same as the position management coordinate system, except for the definition of the origin. The position management coordinate system is the coordinate system for management of the printable area which is set within the page management coordinate system. The position management coordinate system is set for each page separately.
The origin of the page management coordinate system is defined as follows.
The origin upon the X axis is set to the minimum printing position. The minimum printing position is the farthest leftward printing position that can physically be set upon the paper. The minimum printing position depends upon the horizontal position of the paper when it is inserted. As for the origin upon the Y axis, for the first page directly after paper insertion, the upper edge of the paper is defined as the origin. For the second and subsequent pages, a position advanced by the page length from the origin on the page management coordinate system for the previous page is defined as the origin for the current page. Since in the case of single sheet paper only one page at a time can be inserted, the upper edge of the paper is always taken as the origin.
Here, page and page length are defined as follows.
A page means a unit region in the Y direction, which includes within it a single printable area. If the paper that is inserted is single sheet paper, only one page can be established upon each sheet. If the paper that is inserted is continuous paper, a plurality of pages can be established upon it. The page length is the length in the Y direction of the page. If the paper that is inserted is single sheet paper, the length of the printing region in the Y direction from the top margin position to just before the bottom margin position is taken as the page length. If the paper that is inserted is continuous paper, the distance from the top margin position on the present page to the top margin position upon the next page is taken as the page length.
2016/09/02 Revision: 1 Page: 8
Table 2 Coordinate Systems for a Single Sheet of Paper
argin position
Origin of the page management coordinate system
Paper
Right margin position
Left margin position
Minimum printable position
Left margin position Right margin position
Non-printable area
Top margin
Origin of the position management coordinate system
L e
f t
m
Printable area
a
r g
i
n
Bottom margin
Non-printable region
R
i g h
t m a
r g
i n
Top margin position
Bottom margin position
Top margin position Non-printable area
Printable area
Bottom m
2016/09/02
Revision: 1 Page: 9
2.3.1 Printing Area (Standard)
Paper feed
D
E
Printing area
Top margin non
-
printable area
margin
F
Ri
ght margin non
-
printable area
The printable areas of various paper sizes on these printers are defined hereafter. Values are expressed in dot units, where 1 dot = 1/360 inch. As is displayed in the following diagram, printable area can be defined as follows:
A = the width of the unprintable left margin area A (Centered) = the width of the unprintable left margin area when the printable area is centered B = the width of the printable area B (Centered) = the width of the printable area when the printable area is centered C = the width of the unprintable right margin area C (Centered) = the width of the unprintable right margin area when the printable area is centered D = the length of the unprintable top margin area D (Centered) = the length of the unprintable top margin area when the printable area is centered E = the length of the printable area E (Centered) = the length of the printable area when the printable area is centered
Left margin non-printable area
A
C
direction
P
Printing area
Bottom
2016/09/02
Revision: 1 Page: 10
non-printable area
Standard Sizes
The printing area is specified by A, B, D, and E.
Legal 42/42 2976/2976 42/42 4715/4956 Letter 42/42 2976/2976 42/42 3635/3876
A4 42/42 2892/2892 42/42 3884/4125 A5 42/42 2014/2014 42/42 2651/2892 A6 42/42 1404/1404 42/42 1773/2014 B5 42/42 2496/2496 42/42 3318/3559
Half Letter 42/42 1896/1896 42/42 2735/2976
5x7in. / 2L Size 42/42 1716/1716 42/42 2197/2438
4x6in
3.5x5in. / L Size 8x10in. 42/42 2796/2796 42/42 3275/3516
5x8in. 42/42 1716/1716 42/42 2555/2796
Postcard
Double Postcard
Envelope #10 42/42 1401/1401 42/42 3095/3095
Envelope DL 42/42 1475/1475 42/42 2793/2793
Envelope C4 /
Japanese KAKUGATA 20
Envelope
Japanese YOKEI 1 Envelope
Envelope C6 / Japanese YOKEI 2 Envelope Japanese YOKEI 3 Envelope Japanese YOKEI 4 Envelope
Japanese CHOKEI 3 Envelope Japanese CHOKEI 4 Envelope
16:9wide
User-defined
With a paper type set by the user, a printing area defined by A, B, D, and E of at least the following number of dots are reserved.
A/A(Expanded) B/B(Expanded) D/D(Expanded) E/E(Expanded)
User-defined
B/B(Expanded) D/D(Expanded) E/E(Expanded)
42/42 1356/1356 42/42 1835/2076 42/42 1177/1177 42/42 1475/1716
42/42 1333/1333 42/42 1773/2014 42/42 2751/2751 42/42 1773/2014
42/42 3162/3162 42/42 3812/4267
42/42 1617/1617 42/42 2169/2410 42/42 1532/1532 42/42 1971/212
42/42 1305/1305 42/42 1773/2014 42/42 1404/1404 42/42 3006/3247 42/42 1617/1617 42/42 3006/3247 42/42 1404/1404 539/42 3006/3247 42/42 1356/1356 42/42 2235/2476
42/42
max. 2976
/ max. 2976
42/42
Unit [1/360inch]
max. 15515
/ max. 15756
2016/09/02
Revision: 1 Page: 11
CHAPTER 3: Printing Option
3.1. Printing Quality
These printers have the capability of printing at eleven different levels of quality.
Print density Dot size Raster
command density
Plain Paper
Special Paper
(H x V) (H x V) h / r v / r mH*256
ESC (D setting horizontal
ESC (D setting vertical
ESC i setting
+ mL
ESC (e setting
n2
Remarks
Fast Eco
Economy
Normal
Fine
Super Fine
Photo
360dpi x 180dpi
360dpi x 180dpi
360dpi x 360dpi
360dpi x 720dpi
720dpi x 720dpi
360dpi x
VSD1 360dpi x
180dpi 2bit
VSD1 360dpi x
180dpi 2bit
VSD1 360dpi x
180dpi 2bit
VSD2 360dpi x
180dpi 2bit
VSD3 360dpi x
180dpi 2bit
VSD2 360dpi x
4/1440 8/1440 Max 60
(Color)/Max 180 (Mono)
4/1440 8/1440 Max 60
(Color)/Max 180 (Mono)
4/1440 8/1440 Max 60
(Color)/Max 180 (Mono)
4/1440 8/1440 Max 60
(Color)/Max 180 (Mono)
4/1440 8/1440 Max 60
(Color)/Max 180 (Mono)
4/1440 8/1440 Max 60 12H Color
11H Color and
Mono
11H Color and
Mono
11H Color and
Mono
12H Color and
Mono
13H Color and
Mono
Draft
Photo 720dpi x
Best
Photo
Photo
RPM
720dpi
720dpi
1440dpi x 720dpi
5760dpi x 1440dpi
180dpi 2bit
VSD2 360dpi x
180dpi 2bit
VSD3 360dpi x
180dpi 2bit
VSD3 360dpi x
180dpi 2bit
only
4/1440 8/1440 Max 60
(Color)/Max 180 (Mono)
4/1440 8/1440 Max 60
(Color)/Max 180 (Mono)
4/1440 8/1440 Max 60 13H Color
12H Color and
Mono
13H Color and
Mono
only
2016/09/02
Revision: 1 Page: 12
3.2 Recommended Settings for Color and Monochrome Printing
Monochrome or Color printing mode depends on the ESC (K command. See the individual command specifications.
3.2.1 Recommended Setting Modes
Media Preset name Print quality
普通紙(JPN)
Plain paper(Others)
Bright White Paper(US)
両面上質普通紙<再生紙
>(JPN)
Bright White Ink Jet
Paper(EUR/Asia)
写真用紙<光沢>(JPN)
Premium Photo Paper
Glossy(US)
Premium Glossy Photo
Paper(EUR/Asia)
フォトマット紙(JPN)
Premium Presentation Paper
Matte(US)
Matte Paper
Heavy-weight(EUR/Asia) スーパーファイン紙(JPN)
Presentation Paper Matte(US)
Photo Quality Ink Jet
Paper(EUR/Asia)
Resolution
(dpi)
Draft Fast Economy 360x180 ON VSD1
*Standard Economy 360x360 *ON/OFF VSD1
Normal 360x360 *ON/OFF VSD1
High Fine 360x720 *ON/OFF VSD2
Super Fine 720x720 *ON/OFF VSD3
*Standard Photo 720x720
High Best Photo 1440x720
Photo RPM 5760x1440
*Standard Photo 720x720 *ON/OFF VSD2 52H 53H
Bi-d
*ON/OFF
*ON/OFF
*ON/OFF
Dot Size
VSD2
VSD2
VSD3
ESC (m
Color Black only
10H 11H 20H 21H
20H 21H 30H 31H
50H 51H
52H -
70H -
A0H -
国内封筒(JPN)
Envelope(US)
Envelope(EUR/Asia)
*Default
High Best Photo 1440x720 *ON/OFF VSD3
*Standard 360x360 ON VSD1 20H 21H
High 360x720 ON VSD2
70H 71H
30H 31H
2016/09/02
Revision: 1 Page: 13
CHAPTER 4: COMMAND SEQUENCE
4.1 Raster Graphics Modes
The following two modes are available for raster graphics commands:
1) Non-compressed mode - the print data is transferred without being compressed. Effective for printing data with a low compression ratio, such as photographs.
2) Run-length encoded mode - the print data is transmitted after run-length encoding compression. Effective for printing data such as graphs and figures, in which patterns appear repeatedly.
2016/09/02 Revision: 1 Page: 14
By raster
4.2 Command Transfer Procedure
4.2.1 Command transfer sequence for non-compressed and the run-length encoded compression modes
The following are the basic commands used in non-compressed and run-length encoded modes. The commands are listed in order as they are sent:
Table 3 Command Sequence for the Conventional command method of graphics data transmission
Transfer cycle Details of setting Items set Commands used
By document 1.Initialize settings
2. Printing method control 2.1 Turn unidirectional mode on/off
3. Set print format (single sheet)
By page
5. Transfer data 5.1 Select color ESC (r
5.2 Set horizontal print position ESC(/ or ESC ($
5.3 Print raster graphics: *
5.4 Print compulsory** ESC ACK
6. Printing method control 6.1 Select Monochrome or
6.2 Set Driver Color Mode**** ESC (K
7. Form feed 7.1 Form feed FF
8. Terminate printing 8.1 Initialize printer
*Parameters and data format of non-compressed vs. run-length encoded transmissions will differ with the Print
Raster Graphics command. **In the case of micro weave print mode, ESC ACK command is inserted only when the plural passes are specified with no paper feed. *** It is necessary to send the TI command before the JS command.
4. Set vertical position 4.1 Set vertical print position ESC (V or ESC (v
1.1Exit Packet Mode
1.2 Enter remote mode Set Printer Timer*** Job Start*** Set Job Name Paper Feed Setup Set paper path Set Media information Set double paper print Set user setting Other Remote Commands (optional) Exit Remote Mode
1.3 Initialize printer
1.4 Data Processing Setting
1.5 Select graphics mode
1.6 Set unit
2.2Select Micro-Weave printing mode
2.3 Select Monochrome or Color
2.4 Set Driver Color Mode
2.5 Select Ink Drop Size
3.1 Set page length
3.2 Set page format
3.3 Set paper dimension
3.4 Set Print method
repeat above for each color
Color****
8.2 Enter Remote Mode Load NVR Settings Job End Exit Remote Mode
ESC SOH @EJL… ESC (R TI JS JH SN PP MI DP US
ESC 00H 00H 00H ESC @ ESC (A ESC (G ESC (U ESC U ESC (i ESC (K ESC (K ESC (e
ESC (C ESC (c ESC (S ESC (m
ESC .
ESC (K
ESC @ ESC (R LD JE ESC 00H 00H 00H
2016/09/02 Revision: 1 Page: 15
Table 4 Command Sequence for the newer Method of ESC ( D command method of graphics data transmission
By raster
Transfer cycle Details of setting Items set Commands used
By document 1. Initialize settings
2. Printing method control 2.1 Turn unidirectional mode on/off
3. Set print format (single sheet)
By page
5. Transfer data 5.1 Set horizontal print position ESC(/ or ESC ($
5.2 Print raster graphics:
5.3 Print compulsory* ESC ACK
6. Printing method control 6.1 Select Monochrome or Color*** ESC (K
6.2 Set Driver Color Mode*** ESC (K
7. Form feed 7.1 Form feed FF
8. Terminate printing 8.1 Initialize printer
*In the case of micro weave print mode, ESC ACK command is inserted only when the plural passes are specified with no paper feed. ** It is necessary to send the TI command before the JS command.
4. Set vertical position 4.1 Set vertical print position ESC (V or ESC (v
1.1Exit Packet Mode
1.2 Enter remote mode Set Printer Timer** Job Start** Set Job Name Paper Feed Setup Set paper path Set Media information Set double paper print Set user setting Other Remote Commands (optional) Exit Remote Mode
1.3 Initialize printer
1.4 Data Processing Setting
1.5 Select graphics mode
1.6 Set unit
2.2 Select Micro-Weave print mode
2.3 Select Monochrome or Color
2.4 Set Driver Color Mode
2.5 Select Ink Drop Size
2.6 Set resolution of Raster mode
3.1 Set page length
3.2 Set page format
3.3Set paper dimension
3.4 Set Print method
repeat above for each color
8.2 Enter Remote Mode Load NVR Settings Job End Exit Remote Mode
ESC SOH @EJL… ESC (R TI JS JH SN PP MI DP US
ESC 00H 00H 00H ESC @ ESC (A ESC (G ESC (U ESC U ESC (i ESC (K ESC (K ESC (e ESC (D ESC (C ESC (c ESC (S ESC (m
ESC i
ESC @ ESC (R LD JE ESC 00H 00H 00H
2016/09/02
Revision: 1 Page: 16
4.3 Limitations of Command Settings
“Exit Packet Mode”, in many circumstances, command MUST be called before any communication or printing
can occur on any I/F. This command is described in the “Individual Command Specifications”.
The “Set absolute vertical print position ESC (V” and “Set relative vertical print position ESC (v” commands
will set the starting print position of the subsequent data to be printed, including whatever white space may exist within that data. To avoid confusion, it is recommended not to embed large null or white space in the data.
All null raster data should not be sent to the printer.
For detailed specifications of the commands that are transmitted, refer to CHAPTER 5, "Individual Command
Specifications".
2016/09/02
Revision: 1 Page: 17
4.4 Raster Graphics Data Format
The raster graphics commands that are implemented these printers have a very different data format from the general specification commands. The driver must generate appropriate data taking into account the color nozzle positions in the printer are uniquely vertically aligned.
The parameters for the raster graphics commands used by these printers are as follows.
1) ESC i r c b nL nH mL mH For detail on the specification command that is transmitted, refer to CHAPTER 5, "Individual Command Specification".
Horizontal resolution of 360 dpi (ESC (D )
Vertical resolution of 180 dpi (ESC (D )
Vertical dot count of 60 dots (color mode) ***
Vertical dot count of 180 dots (monochrome mode)
Those commands and parameters are only available.
*** Dot size is select variable.
2) ESC . 0 20 10 m nL nH ** ESC . 1 20 10 m nL nH **
For detail on the specification command that is transmitted, refer to CHAPTER 5, "Individual Command Specification".
Horizontal resolution of 360 dpi
Vertical resolution of 180 dpi
Vertical number of 60 dots (color mode)
Vertical number of 180 dots (monochrome mode)
Those commands and parameters are only available.
** This command cannot print color data.
2016/09/02 Revision: 1 Page: 18
The nozzle constitution and each nozzle name are shown below.
Black : 180 Nozzles (A#1󲸝A#180) Yellow : 59Nozzles (B#2󲸝B#60), Magenta : 59Nozzles (B#62󲸝#120), Cyan : 59Nozzles (B#122󲸝#180)
2016/09/02 Revision: 1 Page: 19
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
α
For monochrome printing, only Black nozzle is used.
For color printing, the Black and Color nozzles are used. The Black nozzle only uses nozzles 121 to 180 and does not need to send NULL data to other nozzle.
When a user changes the printing modes to print in color or to print in monochrome, use ESC (K command.
When a user wants to print the monochrome data, a user selects the monochrome mode.
When a user wants to print the color data, a user selects the color mode and a user must select a variable dot and send the variable data.
For these printers, the data must be configured bearing in mind the vertical positions of the nozzles. EPSON printers are generally having print heads with nozzles for each color structured in the same vertical position, but the head of these printers takes the Color nozzle as a reference point. When transferring data to the printer, these offsets must be taken into consideration.
Correspondence table of raster command row and the nozzle are shown below. (Color printing)
Row ("raster")
number
1 2 3 4 5 6 7 8
9 10 … … 51 52 53 54 55 56 57 58 59 60 61 - - ­…
180 - - -
Cyan
Vertical position
+120/180inch +121/180inch +122/180inch +123/180inch +124/180inch +125/180inch +126/180inch +127/180inch +128/180inch +129/180inch
+170/180inch +171/180inch +172/180inch +173/180inch +174/180inch +175/180inch +176/180inch +177/180inch +178/180inch +179/180inch
Magenta
Vertical position
+60/180inch +61/180inch +62/180inch +63/180inch +64/180inch +65/180inch +66/180inch +67/180inch +68/180inch +69/180inch
+110/180inch +111/180inch +112/180inch +113/180inch +114/180inch +115/180inch +116/180inch +117/180inch +118/180inch +119/180inch
Yellow
Vertical position
(base position)
+1/180inch +2/180inch +3/180inch +4/180inch +5/180inch +6/180inch +7/180inch +8/180inch +9/180inch
+50/180inch +51/180inch +52/180inch +53/180inch +54/180inch +55/180inch +56/180inch +57/180inch +58/180inch +59/180inch
Black
Vertical position
(base position)
+1/180inch +2/180inch +3/180inch +4/180inch +5/180inch +6/180inch +7/180inch +8/180inch +9/180inch
+50/180inch +51/180inch +52/180inch +53/180inch +54/180inch +55/180inch +56/180inch +57/180inch +58/180inch +59/180inch +60/180inch
+179/180inch
2016/09/02 Revision: 1 Page: 20
Command transmission
Command transmission example and printing result of easy ESC/P Raster data are the following.
ESC @ initialization ESC (G 01 00 01 ESC (U 01 00 14 Set unit (1/180 inch) ESC (e 02 00 00 10 Select dot size(variable1) ESC (D 04 00 A0 05 08 04 Set resolution of Raster mode (180 x 360 DPI) ESC i 00 00 02 08 00 01 00 FF FF FF FF FF FF FF FF A: Black 1line CR carriage return ESC (v 02 00 01 00 relative vertical print position (1/180 inch) ESC i 02 00 02 08 00 01 00 FF FF FF FF FF FF FF FF B: Cyan 1line CR carriage return ESC (v 02 00 01 00 relative vertical print position (1/180 inch) ESC i 01 00 02 08 00 01 00 FF FF FF FF FF FF FF FF C: Magenta 1line CR carriage return ESC (v 02 00 01 00 relative vertical print position (1/180 inch) ESC i 04 00 02 08 00 01 00 FF FF FF FF FF FF FF FF D: Yellow 1line CR carriage return ESC (v 02 00 01 00 relative vertical print position (1/180 inch) ESC i 00 00 02 08 00 01 00 FF FF FF FF FF FF FF FF E: Black 1line CR carriage return ESC (v 02 00 01 00 relative v print position (1/180 inch) 0Ch paper eject ESC @ initialization
2016/09/02 Revision: 1 Page: 21
Print result.
(BaseLine)
+1/180”
+2/180”
D:Yellow
+3/180”
+4/180”
+5/180”
+6/180”
+7/180”
+8/180”
+9/180”
+10/180”
+11/180”
+12/180”
+13/180”
+14/180”
+15/180”
+16/180”
+58/180”
+59/180”
+60/180”
+61/180”
C:Magenta
+62/180”
+63/180”
+64/180”
+65/180”
+66/180”
+67/180”
+68/180”
+69/180”
+116/180”
+117/180”
+118/180”
+119/180”
A:Black
+120/180”
B:Cyan
+121/180”
+122/180”
+123/180”
E:Black
+124/180”
+125/180”
+126/180”
+127/180”
+128/180”
+129/180”
+
130/180”
+174/180”
+175/180”
+176/180”
+177/180”
+
178/180”
+
179/180”
2016/09/02
Revision: 1 Page: 22
CHAPTER 5: INDIVIDUAL COMMAND SPECIFICATIONS
5.1.1 Exit Packet Mode
00H 00H 00H ESC 01H “@EJL” 20H “1284.4” 0AH “@EJL” 20H 20H 20H 20H 20H 0AH Ver 1.00
[Name] EPSON packet mode exit command (special command) [Setting] [Format] 00H,00H,00H,1BH,01H,40H,45H,4AH,4CH,20H,31H,32H,38H,34H,2EH,34H,0AH, 40H,45H4AH,4CH,20H,20H,20H,20H,20H,0AH [Range of Definition] --­[Function] 1) If the system is in packet mode, this command must be sent before any other commands can
be successfully transferred over either USB or Parallel Port, including the basic ESC @ printer initialization command.
2) Packet communication protocol (EPSON packet mode) is cancelled. The command for entering packet mode and the commands utilized in packet mode are
EPSON proprietary.
[Initial State] The initial state of the printer, unused and unopened, new from the EPSON box, may or may
not be in packet mode. However, once the printer has received any print job from any other source (especially a Windows OS printer driver) it will most likely be in packet mode.
If the printer is in EPSON packet mode; no typical USB and possibly Parallel Port
transmissions can be received or recognized.
[Related Commands] ---
2016/09/02
Revision: 1 Page: 23
5.1.2 Initialize printer ESC @
ESC @ Ver 1.00
[Name] Initialize printer [Setting] [Format] 1BH, 40H [Range of Definition] ­[Function] 1) The various settings are returned to their initial values.
2) The Y axis origin of the page management coordinate system and the position management coordinate system are set to the current printing position on the Y axis.
3) The present printing position on the X axis is set to the origin upon the X axis.
4) Text mode printing is selected.
[Initial State] ­[Related Commands] [Setting] Commands whose settings are affected by this command. The settings for all commands are returned to their initial states. [Setting] Commands that change the effects of this command. None [Operation] Commands whose functionality is affected by this command. None [Operation] Commands that change the effects of this command. None
2016/09/02
Revision: 1 Page: 24
Loading...
+ 53 hidden pages