Epson GT-300 manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Epson GT-300. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Epson GT-300 ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Epson GT-300 décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Epson GT-300 devrait contenir:
- informations sur les caractéristiques techniques du dispositif Epson GT-300
- nom du fabricant et année de fabrication Epson GT-300
- instructions d'utilisation, de réglage et d’entretien de l'équipement Epson GT-300
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Epson GT-300 ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Epson GT-300 et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Epson en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Epson GT-300, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Epson GT-300, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Epson GT-300. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    EPSON ® ESC/I TM Scanner GT-1000 GT-4000 GT-6000 ES-300C GT-6500 ES-600C GT-8000 ES-800C GT-8500 ES-1000C GT-9000 ES-1200C GT-5000 Action Scanner II GT-300 ES-300GS Reference Manual[...]

  • Page 2

    All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of Seiko Epson Corporation. No patent liability is assumed with respect to the use of the information contained[...]

  • Page 3

    Preface This manual was designed to be a comprehensive guide to programming EPSON scanners using the advanced ESC/I control language. It was written with both the professional and advanced hobbyist programmer in mind. Before you begin using this manual, you should thoroughly review the operating instructions in your scanner’s user’s guide. iii[...]

  • Page 4

    iv[...]

  • Page 5

    Contents Introduction Manual Construction . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 Command Usage . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 Command Reference . . . . . . . . . . . . . . . . . . . . . . . 1-2 Appendix . . . . . . . . . . . . . . . . . . . [...]

  • Page 6

    Using Scanner Features . . . . . . . . . . . . . . . . . . . . . . . . . 1-23 Scanning multiple shade documents for output on devices capable of expressing multiple shades. . . . . . . . . . . . . . . . . . . . . . . . . . 1-23 Scanning multiple shade documents for bi-level output devices capable of black and white only . . . . . . . . . . . . . . [...]

  • Page 7

    Auxiliary Commands . . . . . . . . . . . . . . . . . . . . . . . . . 2-18 1. Initialize the scanner (ESC @) . . . . . . . . . . . . . . . . 2-18 2. Set the scanning mode (ESC g) . . . . . . . . . . . . . . . . 2-18 3. Set the line counter (ESC d) . . . . . . . . . . . . . . . . . 2-19 4. Control option (ESC e) . . . . . . . . . . . . . . . . . . . [...]

  • Page 8

    Chapter 3 Command Reference Summary of the Scanner Commands . . . . . . . . . . . . . . . . . . 3-2 Format of the Command Reference . . . . . . . . . . . . . . . . . . 3-4 Execution Commands . . . . . . . . . . . . . . . . . . . . . . . . . 3-6 Data Form Definition Commands . . . . . . . . . . . . . . . . . . . 3-18 Image Definition Commands . . . [...]

  • Page 9

    Appendix B Scanner Model Technical Data GT-1000 Technical Data . . . . . . . . . . . . . . . . . . . . . . . B-2 Physical Characteristics . . . . . . . . . . . . . . . . . . . . . B-2 Error Indications . . . . . . . . . . . . . . . . . . . . . . . . . B-2 Software Functions and Settings . . . . . . . . . . . . . . . . B-3 Software Defaults . . . . [...]

  • Page 10

    GT-8000 (ES-800C) Technical Data . . . . . . . . . . . . . . . . . . B-43 Physical Characteristics . . . . . . . . . . . . . . . . . . . . . . B-43 Error Indications . . . . . . . . . . . . . . . . . . . . . . . . . B-43 Software Functions and Settings . . . . . . . . . . . . . . . . . B-44 Software Defaults . . . . . . . . . . . . . . . . . . . . [...]

  • Page 11

    Introduction Introduction 1[...]

  • Page 12

    Manual Construction This manual consists of the following sections: ❏ Overview ❏ Command Usage ❏ Command Reference ❏ Appendix The contents of each of these sections is described below: Overview Presents an overview of scanner functions, EPSON scanner features, control codes, and programming concepts. This information is helpful in quickly u[...]

  • Page 13

    Using This Manual To get the most out of this manual, you should follow the steps below: To understand EPSON scanners Read through the overview once, and then read the Command Usage section in depth. To write a scanner control program Read through the overview once, then read the Command Usage section. From there, move to the Command Reference sect[...]

  • Page 14

    4 Introduction[...]

  • Page 15

    Chapter 1 Overview This chapter provides a brief description of scanner operations and concepts. The special features of EPSON brand scanners are also outlined in this chapter. 1 Overview 1-1[...]

  • Page 16

    What Is a Scanner A scanner is a device that performs the following functions: ❏ Reflects light off your documents ❏ Separates the light by color and intensity ❏ Converts that reflected light to digital data ❏ Sends the digital data to your computer for further processing Basic scanning principles A scanner normally includes two components:[...]

  • Page 17

    Main scan The horizontal scanning direction Sub scan The vertical scanning direction By combining the main scan and sub scan data, an entire page can be converted into organized digital data. Overview 1-3[...]

  • Page 18

    Reading color By illuminating the document with three lights, red (R), green (G), and blue (B), the scanner can analyze and separate a document’s three color components. The computer can then overlay this color-separated data to produce full-color images. Reading monochrome Even though you have a color scanner, you can still read your documents a[...]

  • Page 19

    EPSON Scanner Features EPSON scanners feature the following special attributes. ❏ A unified control code structure All scanner features are controlled by EPSON’s ESC/I scanner control codes, so the commands for each feature are the same for all scanner models. All models are downwardly compatible, so programs written for lower level scanners wi[...]

  • Page 20

    ❏ Optional automatic document feeder An automatic document feeder can be mounted on the GT-8000 (ES-800C), GT-6500 (ES-600C), GT-8500 (ES-1000C), or GT-9000 (ES-1200C) scanner models, allowing you to automatically load and scan multiple documents. This is particularly useful when using OCR (Optical Character Recognition) software to input text fr[...]

  • Page 21

    Control Code Construction Function level The EPSON image scanner control language currently has the following function levels: B1 to B5 and A5. The relationship of each level is shown in the following diagram. Each level contains the commands and features of all lower levels. For example, if you are using a B4-level scanner, all programs made for B[...]

  • Page 22

    Computers and Handshaking Scanners are connected to their host computers by some kind of interface. Since a scanner sends data to the computer, the interface must carry data not only from the computer to the scanner, but also from the scanner to the computer. For this reason, the interface must be capable of bi-directional communication. A method o[...]

  • Page 23

    Image Data The manner in which an image is converted into data and the way the data is sent to the computer is predetermined. The following sections describe this process. Image data format The smallest element of image data is called a pixel (short for picture element). A pixel is an individual dot; combining these dots, or pixels, forms an image.[...]

  • Page 24

    As you increase the amount of data, you dramatically increase the number of minute differences in color you can represent. Bits per pixel Monochrome shades Colors 1 bit/color/pixel 2 8 2 bits/color/pixel 4 64 3 bits/color/pixel 8 512 4 bits/color/pixel 16 4,096 5 bits/color/pixel 32 32,768 6 bits/color/pixel 64 262,144 7 bits/color/pixel 128 2,097,[...]

  • Page 25

    Line data transfer The scanner reads one horizontal line of data (main scan) and sends it to the computer. After the computer confirms it has received the data, the scanner sends the next line of data. The scanner repeats theses steps until data for the entire image is sent to the computer. This method is called line data transfer. Overview 1-11[...]

  • Page 26

    Block data transfer Line data transfer sends the data to the computer line by line. However, block data transfer sends multiple lines of data to the computer all at once. You can use commands to specify the number of lines sent at one time; in this way you can select the most efficient block size to send your data. 1-12 Overview[...]

  • Page 27

    Functions EPSON scanners feature a number of various functions. A brief overview of these functions is provided below. For more detailed explanations, see the following chapter on using these functions, as well as the command reference section. Image definition Brightness This function allows you to set the brightness at which images are scanned. T[...]

  • Page 28

    Gamma correction Gamma correction is a function that adjusts the light intensity so it matches the output device. Although an image may display clearly on your CRT display, your printer may not produce it the same way. Since image reproduction depends on the output device (CRT, printer, etc.), gamma correction adjusts the light intensity so the ima[...]

  • Page 29

    Halftoning Halftoning adjusts the shade and color of each pixel according to the shade and color of the surrounding pixels. Setting halftoning to large results in a sharper contrast between dots. Setting halftoning to small results in reduced contrast. Overview 1-15[...]

  • Page 30

    Data form definition Data format The data format function determines how many bits are used to represent one pixel. Increasing the bits increases the number of shades and intensity that can be expressed. However, the data required to represent an image is also increased. For example, to scan an A4 size image using 8 bits per pixel at 300 dots per i[...]

  • Page 31

    Resolution The resolution determines how detailed a scan is. The resolution is normally defined as the number of dots scanned per inch. The units of resolution are dots per inch. You can also think of it as the density of pixels in the image. The greater the resolution, the greater the image detail you can scan. However, the more detail you have, t[...]

  • Page 32

    Zoom The zoom function causes an image scanned at the same resolution as the output device to be output at a greater size than the original. The zoom function can be set independently from the resolution setting. Since the zoom function enlarges or shrinks the image of the original document, the data amount expands or shrinks in response to the zoo[...]

  • Page 33

    Scanning area The maximum scannable area for each scanner is determined by the physical dimensions of the document table. You can also use commands to tell the scanner to scan only a certain portion of your document. You set the scanning area in units of pixels. First set the point to begin scanning, and then set the number of pixels beyond that po[...]

  • Page 34

    Color setting Setting the color determines the method used for scanning. If you select monochrome scanning, you can specify either red (R), green (G), or blue (B) as the dropout color. The scanner then ignores the specified dropout color when scanning a document. For example, if you want to read a document that has been marked with red pen, you can[...]

  • Page 35

    Image processing Halftoning For documents with many shade gradations (like a photograph) in full-color mode (24-bit data), you can faithfully reproduce the image on a full-color output device. Some output devices, such as 8-color PC monitors or 8-color printers, cannot faithfully portray a full-color image; however, a method does exist for approxim[...]

  • Page 36

    Halftone mode C None Dither mode A Dither mode B Dither mode C Dither mode D 1-22 Overview[...]

  • Page 37

    Color correction Colors expressed on different types of color output devices vary slightly depending on each device’s characteristics. The color correction feature allows you to adjust colors on output devices to more closely approximate your original document. Using Scanner Features The scanner functions you use will vary, depending both on the [...]

  • Page 38

    Scanning multiple shade documents for bi-level output devices capable of black and white only When you scan multiple shade documents and output them to devices capable of expressing only black and white, use the following feature settings for best results. Data format 1 bit/pixel/color Image correction Method appropriate to output device Data proce[...]

  • Page 39

    Chapter 2 Command Usage 2 Command Usage 2-1[...]

  • Page 40

    Execution Commands Execution commands tell the scanner to send back data to the computer. Use execution commands to begin image data transfer from the scanner to the computer, to obtain the scanner ID and status, and to obtain information on the current scanner settings. 1. Start scanning (ESC G) Upon receiving this command, the scanner begins scan[...]

  • Page 41

    2. Request ID (ESC I) When the scanner receives this command, it relays the scanner ID information to the computer in the following order. Scanner command level Available resolution values Maximum scannable area (at the highest resolution, with 100% zoom) If you are creating a program for use with different scanner models, you can use this command [...]

  • Page 42

    5. Request condition (ESC S) This command causes the scanner to send a data block to the computer that contains the current values of the settings for all the scanner’s features. The features available are different for each scanner model. Following is a sample of a B4-level data block sent when the scanner receives this command. The ESC code and[...]

  • Page 43

    Data Form Commands Data form commands regulate the amount of image data sent to the computer (as determined by the setting for scanning color, resolution, tone, and zoom). 1. Set Color Mode (ESC C) This command sets either color or monochrome scanning. If you select color scanning, you must specify page scanning, line scanning, or byte scanning. Pa[...]

  • Page 44

    For example, if you specify 8 bits per pixel for each color, the scanner produces 8 bits of data per pixel per color. This requires eight times the data necessary to represent 1 bit/pixel/color. As the number of bits per color changes, the data format for each byte of data changes as shown below: ESC D and other commands Halftone processing with th[...]

  • Page 45

    3. Set Resolution (ESC R) You can set different values for the resolution for the main scan (horizontal direction) and the sub scan (vertical direction). You can find the resolutions available by reading the scanner’s user’s manual or, from within a program, sending the ID Request command. ESC R and other commands Multiple resolutions are avail[...]

  • Page 46

    Set zoom and other commands. The combination of this command and the ESC R (Set resolution) command determine the maximum number of dots you can scan. You can calculate the number of dots by multiplying the zoom percent by the original dot setting. 5. Set scanning area (ESC A) This command selects the area to be scanned. The main scan and sub scan [...]

  • Page 47

    Image Setting Commands Image setting commands are commands that tell the scanner what kinds of image processing to perform on the image data. Brightness settings and gamma correction (adjusting for input and output brightness) settings are examples. 1. Set brightness (ESC L) This command sets the scanning brightness. If the standard brightness sett[...]

  • Page 48

    2. Set gamma correction (ESC Z) This command adjusts the scanned data according to the type of output device you plan to use. The gamma correction setting is independent of any other scanner settings. On B4 and higher-level scanners, you can use the ESC z command to define gamma correction tables to match the unique needs of specific types of docum[...]

  • Page 49

    CRT Display B This setting is suitable for 256-color displays and other displays that are capable of showing multiple color levels. On these types of displays, scanned data appears dark and grainy. CRT Display B gamma correction processes the image data to appear more continuous, improving its display appearance. On identical computers, CRT Display[...]

  • Page 50

    3. Download gamma table (ESC z) Using this command, you can select the table used for gamma correction. You can specify the type of output adjustment produced for each of the 256 available color tones. For example, to achieve the following type of image correction, you can set the values determined by the equation below. 4. Set Sharpness (ESC Q) Th[...]

  • Page 51

    Image Processing Commands Image processing commands are used to modify scanned data before sending it to the computer. Two commands are available: halftone processing and color correction. 1. Set halftoning mode (ESC B) Th is c o mm and enab l es or d i sab l es ha lft one p r ocess i ng f o r b i-l eve l da t a a nd quad -l eve l d a t a . Th e t [...]

  • Page 52

    ❏ Dither mode B Processes data using a 4 × 4 spiral pattern ❏ Dither mode C Processes data using a 4 × 4 screen pattern ❏ Dither mode D Processes data using a 8 × 4 screen pattern ❏ User-defined modes A and B Processes data using the pattern defined with the ESC b command Built-in dither patterns 2-14 Command Usage[...]

  • Page 53

    ESC B and other commands The scanner ignores the image processing you select with the ESC B command if you have already selected 3 bits/color/pixel or higher with the ESC D command. 2. Download dither pattern (ESC b) This command defines the dither pattern that is selected when you use ESC B to select user-defined dither patterns A and B. You can s[...]

  • Page 54

    To determine the data for a typical spiral dither pattern like the one shown in figure a, multiply the threshold value by 16 and add 8; the results are the values shown in figure b. The data is then sent in the order shown in figure c. 3. Set color correction (ESC M) Color correction adjusts the colors to match those available on your output device[...]

  • Page 55

    ❏ CRT displays Use for color CRT displays ❏ User defined setting Use for your customized output. ❏ No color correction ESC M and other commands The ESC M command is effective only after you select color line scanning or byte scanning with the ESC C command. 4. Download color correction (ESC m) Using this command, you can set the data for colo[...]

  • Page 56

    Auxiliary Commands Auxiliary commands are provided for physical operation of the scanner. These commands include the reset command and option operation commands. 1. Initialize the scanner (ESC @) This command returns all scanner settings to their original values (the values when the scanner is first turned on). The carriage returns to the home posi[...]

  • Page 57

    3. Set the line counter (ESC d) Sending this command causes the scanner to send data in block format. If you don’t send this command at the beginning of each job, the scanner defaults to line mode and sends data after each line is scanned. You can set the parameter in this command from 1 to 255 lines. This tells the scanner how many lines to send[...]

  • Page 58

    4. Control option (ESC e) This command is effective only when an option has been installed on the scanner. If you send these commands when no option is installed, the scanner returns a NAK signal and a command error results. You can check if an option is installed by either using the ESC f command or by checking the option flag in the status byte. [...]

  • Page 59

    2. Abort scanning (CAN) Usually you send an ESC G command to start scanning and, after the scanner sends a data block, the computer responds with an ACK code to confirm the data was received. If the computer sends a CAN code instead of the ACK code, the scanner cancels scanning and stops sending data. The scanner recognizes the CAN code only after [...]

  • Page 60

    Command Order By using the Request ID (ESC I) command, you can determine the scanner model. This allows you to create software that sends only the commands featured on that particular model. Always check the scanner ID before making settings with software commands. The ID information consists of the following: ❏ The scanner function level ❏ The[...]

  • Page 61

    3. Maximum scannable area This value is expressed in units of dots (main scan × sub scan), based on the maximum scannable area available when the scanner is set to the highest available resolution and zoom is set to 100%. Control flow Using the ID information, you should send commands to the scanner in the following order. 1. Obtain the scanner’[...]

  • Page 62

    Recommended command order Send commands in the following order to control the scanner properly. Make sure to send the ESC R, ESC H, ESC A, and ESC G commands in the following order. ESC I Request ID ESC e Control option ESC C Set color ESC D Set data format ESC B Set halftoning mode ESC L Set brightness ESC Z Set gamma correction ESC M Set color co[...]

  • Page 63

    5. Following the order on the previous page, send the command to set the scanning area and send any other commands necessary to prepare for scanning. For details on these commands, see Chapter 3. 6. Send the ESC f command. Check if the option is enabled and make sure no error has occurred. In an error occurs, perform the proper error recovery proce[...]

  • Page 64

    Data Block Transfer Order The computer sends commands and parameters to the scanner in 8-bit code format. The scanner sends data to the computer in groups of 8-bit codes called ‘‘ blocks. ’’ Data block structure Data blocks can take two forms: line data structure and block data structure. Note: The scanner must support the ESC d (Set line c[...]

  • Page 65

    Block data structure Block data consists of a 6-byte information block followed by n lines of image data ( n is the value of the line counter in the information block). You specify block data transfer with the ESC d (set line counter) command. By sending multiple lines of data at once, you can shorten the total data transfer time. The information b[...]

  • Page 66

    Status byte This byte indicates the color of the image data or the state of the scanner. Each bit in the Status byte has a different meaning, as shown in the following diagram. Currently, bits 0, 1, and 6 are reserved (not used). Error flag (bit 7) This flag is set to ‘‘ 1 ’’ when an error other than a command error occurs. In this case, no[...]

  • Page 67

    Scanning color (bits 2 and 3) These bits indicate the scanning color. When monochrome is selected, these bits indicate the dropout color (if a dropout color is selected). Byte counter The byte counter indicates the number of data bytes contained in each data line. The counter consists of two bytes (an upper and lower byte); the value of the counter[...]

  • Page 68

    Data This is the data block following the information block. The type of data in the data block depends on the type of information requested by the computer. Image data Image data blocks sent in response to the ESC G (Start scanning) command ID information data Data, including the scanner function level, sent in response to the ESC I (Request ID) c[...]

  • Page 69

    The scanner function level The available resolutions The maximum scannable area The basic format of this data is as follows: The first two bytes show the scanner function level, in ASCII character format. The scanner function level tells you which commands are supported by the attached scanner. Following these two bytes are the available scanner re[...]

  • Page 70

    Scanner state data This is the data sent in response to the ESC S (Request condition) command. The example below is for a B4-level scanner. The first two bytes are the ESC C (Set color) command’s parameters. The next 5 bytes are the ESC R (Set scanning resolution) command’s parameters. The last two bytes are the ESC g (Set scanning mode) comman[...]

  • Page 71

    Image data Monochrome, color line, and color byte scanning Use when sending monochrome and color line scanning data or color byte scanning data. This includes monochrome scanning when a dropout color is selected. Command Usage 2-33[...]

  • Page 72

    Color page scanning Use when sending color page data. 2-34 Command Usage[...]

  • Page 73

    Single data blocks Use when you expect single data blocks in response to the ESC I (Request ID) command, the ESC S (Request condition) command, the ESC F (Request status) command, and the ESC f (Request extended status) command. Scanning Area The following commands affect the scanning area: the ESC R (Set resolution) command, the ESC H (Set zoom) c[...]

  • Page 74

    Resolution, zoom, and maximum scannable area The ID information provides you the following values. R MAX (in dpi) : The maximum scannable area available X MAX (in dots) : The maximum main scan value (at the maximum resolution, 100% zoom) Y MAX (in dots) : The maximum sub scan value (at the maximum resolution, 100% zoom) Based on these values, you c[...]

  • Page 75

    The main scan reading length ( n 3 ) must always be set in exact multiples of eight (8-dot units equal units of 1 byte). The main scan skip length ( n 1 ), sub scan skip length ( n 2 ), and sub scan reading length ( n 4 ) can be set in 1-dot increments. Use the above values to set the scanning area with the ESC R, ESC H, and ESC A commands. Note: T[...]

  • Page 76

    Setting the scanning area Use the ESC R, ESC H, and ESC A commands to set the scanning area. The diagram below shows the relationship between the ESC R, ESC H, and ESC A command parameters and the scanning area. R X : Main scan resolution (in dpi) R Y : Sub scan resolution (in dpi) H X : Main scan zoom (in %) H Y : Sub scan zoom (in %) After settin[...]

  • Page 77

    n 1 = INT L X 1 × R X × H X 100 n 2 = INT L Y 1 × R Y × H Y 100 n 3 = 8 × INT       L X 2 × R X × H X 100    × 1 8    n 4 = INT L Y 2 × R Y × H Y 100 n 1 + n 3 ≤ INT       maximum main scan length maximum resolution    ×    R X × H X 100       n [...]

  • Page 78

    Image trimming (1) This section explains how to trim a rough image, and how to use the ESC R, ESC H, and ESC A commands to rescan at the same resolution and zoom values. This is useful when you want to check the image from within your software and then reset the scanning area for the next scan. Rough scanned image Image after trimming R X1 : Main s[...]

  • Page 79

    Determining setting values after trimming After trimming an image, you should resend the ESC A command using the following parameters. N 1 = INT    n 1 × R X 2 × H X 2 R X 1 × H X 1    N 2 = INT    n 2 × R Y 2 × H Y 2 R Y 1 × H Y 1    N 3 = 8 × INT       n 3 × R X 2 × H X 2 R X 1 × H X[...]

  • Page 80

    Image trimming (2) This section explains how to use the ESC R, ESC H, and ESC A commands to print a trimmed image on your printer. Rough scanned image Printing size after trimming R X1 : Main scan resolution (dpi) R PX : Printer resolution (dpi) R Y1 : Sub scan resolution (dpi) main scan (horizontal) H X1 : Main scan zoom (%) R PY : Printer resolut[...]

  • Page 81

    Determining the setting values for printing Based on the size of the image you plan to print and on the resolution of the printer, use the following formulas to determine the final scanning settings. Main scan zoom (%): H X = X × 100 L X 2 Sub scan zoom (%): H Y = Y × 100 L Y 2 N 1 = INT    n 1 × R PX × H X R X 1 × H X 1    N[...]

  • Page 82

    Error Processing EPSON scanners have four types of potential errors: command errors, communications errors, system errors, and option errors. An option error can occur only with scanner models on which the optional Automatic Document Feeder or Transparency Unit can be installed. When an error occurs, the LED indicator displays the error type. For d[...]

  • Page 83

    The communications (interface) settings are incorrect. Scanner’s response: The lamps turn off and the scanner stops moving. The scanner stops accepting commands. Error recovery procedure: After correcting the communications problem, perform one of the following. Turn the scanner off and then back on again. Press the reset button (if the scanner m[...]

  • Page 84

    Bit 7 (error flag) of the status byte is set to ‘‘ 1. ’’ The appropriate bit in the extended status byte is set. The scanner only accepts these commands: ESC F, ESC f, and ESC @. Error recovery procedure: After correcting the cause of the problem, perform one of the following. Turn the scanner off and then back on again. Press the reset but[...]

  • Page 85

    Function Level and Commands Each function level builds on the previous level, so all commands and parameters in previous levels are included in higher levels. Extended commands are available regardless of function level. Using the function level Higher function levels include all the commands of lower function levels. Your programs should always ch[...]

  • Page 86

    Commands and function level table The following table shows which commands are available at each function level. Command type Command name Command Function Level Execution commands Request ID ESC I B1 Request status ESC F B1 Request extended status ESC f Extended Request condition ESC S B1 Start scanning ESC G B1 Data format commands Set data forma[...]

  • Page 87

    Function level and commands The commands added at each function level are listed in the table below. Function level Command B1 ESC G (Start scanning) ESC I (Request ID) ESC F (Request status) ESC S (Request condition) ESC R (Set resolution) ESC A (Set scanning area) CAN (Abort scanning) ESC D (Set data format) ESC C (Set color) ESC B (Set halftonin[...]

  • Page 88

    Items not affected by function level Although higher command levels include all the previous commands of lower command levels, the parameters for commands used to set the scanning area (ESC R, ESC H, ESC A) are independent of function level. These parameters are determined by the physical characteristics of each scanner; obtain the values available[...]

  • Page 89

    Typical Programming Errors and Solutions This section lists several concrete examples of programming errors, their causes, and sample solutions to these problems. Problem: The scanner does not scan correctly when a scanner with a different maximum scannable area is connected. Cause You relied on the default maximum scannable area setting instead of[...]

  • Page 90

    Problem: When connecting a different scanner model in your SCSI daisy chain, an error message such as the following appears; ‘‘ The EPSON scanner is not connected. ’’ Cause When you sent the SCSI inquiry command, the computer checked the scanner’s model name in the Vendor Unique Parameter. Solution When checking the Vendor Unique Paramete[...]

  • Page 91

    Problem: After connecting a scanner with a higher function level than the previous scanner, the new scanner does not operate properly. Cause Although you used the ESC I command to obtain the function level information, your program was set up to work only when the function level was the same as the previous scanner. Solution EPSON scanner function [...]

  • Page 92

    Problem: The scanner scans properly when you use a bi-directional parallel interface, but when you switch to SCSI, the scanner no longer operates properly. Cause During block data transfer mode, your program does not read the entire block at one time, but performs multiple read commands for each data block. Solution Change your program so it reads [...]

  • Page 93

    Problem: When connecting a different scanner model, a time-out occurs on your computer and you can no longer scan. Cause The time required for the initialization process and for the preparation time when you send an ESC G command differs by scanner model. The new scanner model took longer than the previous scanner. Solution Make sure you provide en[...]

  • Page 94

    General ❏ Always reset the scanner at the beginning and end of your programs ❏ Use the ESC @ command to reset the scanner. This allows you to use the same program with different interfaces. ❏ The time required for resetting differs by scanner model. Because of this, you should either disable your computer’s time-out or set the time-out cloc[...]

  • Page 95

    Chapter 3 Command Reference 3 Command Reference 3-1[...]

  • Page 96

    Summary of the Scanner Commands Five types of scanner commands are used with EPSON scanners. In addition, four control codes are used for handshaking. The five command types are: Execution : Requests the scanner to send back data Data form definition : Specifies the format of data to be sent from the scanner Image definition : Sets image modes Imag[...]

  • Page 97

    Image definition commands Set conditions for image reading with these commands. Set brightness ESC L Set gamma correction ESC Z Download gamma table ESC z Set sharpness ESC Q Image processing commands Process images before data transfer with these commands. Set halftoning mode ESC B Download dither pattern ESC b Set color correction ESC M Download [...]

  • Page 98

    Format of the Command Reference The command explanations in this chapter are each divided into six parts. The command explanations are given in the sequence indicated in the command summary table on the preceding page. (For recommendations on how to use the commands, see Chapter 2.) Command title Indicates the name and function of the command Comma[...]

  • Page 99

    Handshaking Shows a diagram indicating the handshaking method used with the command. See Chapter 2 for details on handshaking. Parameter range Shows the range and explains the meanings of parameters, when relevant. This section also lists the default values. Explanation This gives a detailed explanation of the effect and appropriate usage of the co[...]

  • Page 100

    Execution Commands ESC I Request identity Format: B1 B2 B3 B4 B5 A5 Command: ASCII: ESC I Decimal: 27 73 Hexadecimal: 1B 49 Parameter: (none) Handshaking: 1 ESC I command 2 data block Explanation: This command requests the scanner to send back a data block that identifies the properties of the scanner. When this command is received, the scanner sen[...]

  • Page 101

    For a more detailed explanation on using the ESC I command and the contents of the returned data block, see Chapter 2 and Appendix B. The length of the data block varies depending on the scanner model. The host computer should check the byte counter. Contents of the ESC I (identity) data block The contents of the ESC I data block for each scanner m[...]

  • Page 102

    ESC F Request status Format: B1 B2 B3 B4 B5 A5 Command: ASCII: ESC F Decimal: 27 70 Hexadecimal: 1B 46 Parameter: (none) Handshaking: 1 ESC F command 2 data block Explanation: When this command is received, the scanner sends a data block indicating the current status of the scanner. The current status can be determined by reading the flags of the s[...]

  • Page 103

    Contents of the ESC F (status) data block Order of byte Data (in hex) Contents Explanation 1 02 STX code Header: indicates the beginning of the data block 2 xx Status Status byte: indicates the status of the scanner 3 00 0 bytes Byte counter: indicates the number of bytes of data (The null value indicates that no data follows) 4 00 Note: The numeri[...]

  • Page 104

    ESC f Request extended status Format: EXT Command: ASCII: ESC f Decimal: 27 102 Hexadecimal: 1B 66 Parameter: (none) Handshaking: 1 ESC f command 2 Data block Explanation: When this command is received, the scanner sends a data block indicating the current status of the scanner and any optional equipment. The current status can be determined by rea[...]

  • Page 105

    Contents of the ESC f (extended status) data block Order of byte Data (in hex) Contents Explanation 1 02 STX code Header: indicates the beginning of the data block 2 xx Status byte Byte: indicates the status of the scanner 3 00 33 bytes Byte counter: indicates the number of bytes of status data 4 00 5 xx Scanner status ‘‘ 1 ’’ in bit 7 indi[...]

  • Page 106

    ESC S Request condition Format: B1 B2 B3 B4 B5 A5 Command: ASCII: ESC S Decimal: 27 83 Hexadecimal: 1B 53 Parameter: (none) Handshaking: 1 ESC S command 2 Data block Explanation: This command asks the scanner to send back a data block that contains the current parameter values set in the scanner. The structure of returned values is identical to the[...]

  • Page 107

    ESC G Start scanning Format: B1 B2 B3 B4 B5 Command: ASCII: ESC G Decimal: 27 71 Hexadecimal: 1B 47 Parameter: (none) Handshaking: The handshaking procedures are different for the monochrome mode, color page sequence mode, color line sequence, and color byte sequence mode. See Chapter 2 for more details on handshaking. Monochrome mode (one time sca[...]

  • Page 108

    The color image data is sent as a set of three primary color pages. 1 ESC G command 2 Data block (image data for one block) 3 ACK code 4 Last data block (last line of each color page) ❏ Steps 2 and 3 should be repeated for the number of lines (minus 1) specified for each color page of green, red, and blue until the last data block is encountered.[...]

  • Page 109

    ❏ Steps 2 and 3 should be repeated for the three colors for the number of lines (minus 1) specified for the image until the last data block is encountered. ❏ Do not send the ACK code after the last data block (the last blue data). Color byte sequence mode Handshaking: 1 ESC G command 2 Data block (image data for one block) 3 ACK code 4 Last dat[...]

  • Page 110

    Explanation: When this command is received, the scanner starts a scanning operation (image reading) for the specified reading area, and sends the image data to the host computer as data blocks. Image data of one line (one main scan of data) is sent as a data block, and a data block is sent for each sub scan reading length. When the computer receive[...]

  • Page 111

    1 ESC G command 2 Data block (image data for one block) 3 ACK code (acceptance of the data block) 4 CAN code (abort scanning) 5 ACK code Sending the CAN code does not reset the parameter settings in the scanner, unless the ESC @ (initialize the scanner) command is sent, or the scanner is turned off and back on. Settings made with the control panel [...]

  • Page 112

    Data Form Definition Commands ESC C Set color mode Format: B1 B2 B3 B4 B5 A5 Command: ASCII: ESC C Decimal: 27 67 Hexadecimal: 1B 43 Parameter: i Handshaking: 1 ESC C command 2 ACK code 3 Parameter (i) 4 ACK code 3-18 Command Reference[...]

  • Page 113

    Parameter range: i=00 H (0): Monochrome scanning (standard), no dropout color specified B1 B2 B3 B4 B5 A5 i=10 H (16): Monochrome scanning, dropout color is Red B2 B3 B4 B5 i=20 H (32): Monochrome scanning, dropout color is Green B2 B3 B4 B5 i=30 H (48): Monochrome scanning, dropout color is Blue B2 B3 B4 B5 i=01 H (1): Color scanning (color sequen[...]

  • Page 114

    Explanation: This command specifies the reading color (color or monochrome), the page, line, or byte sequence mode in color reading, and the dropout color in monochrome reading. ❏ Color page sequence reading The scanner scans the document three times, for green, red, and blue, and produces three pages of image data that can be overlaid to reprodu[...]

  • Page 115

    ❏ Dropout colors (monochrome reading only) The dropout color is the color that is treated as white, and is not read during the scanning operation. On a color scanner a dropout color can be chosen from among green, red, or blue. Dropout color can be used to avoid reading a certain color of the document. For example, corrections written in red on a[...]

  • Page 116

    ESC D Set data format Format: B1 B2 B3 B4 B5 A5 Command: ASCII: ESC D Decimal: 27 68 Hexadecimal: 1B 44 Parameter: i Handshaking: 1 ESC D command 2 ACK code 3 Parameter (i) 4 ACK code Parameter range: i = 01 H to 08 H (1 to 8 bit/pixel/color) Default value: i = 01 H (1 bit/pixel/color) Explanation: This command specifies the number of bits that rep[...]

  • Page 117

    In the color scanning mode, the data format setting defines tones for each of the three primary colors, green, red, and blue. Data format Monochrome Color 1 bit/pixel/color 2 grays 8 colors 2 bit/pixel/color 4 grays 64 colors 3 bit/pixel/color 8 grays 512 colors 4 bit/pixel/color 16 grays 4,096 colors 5 bit/pixel/color 32 grays 32,768 colors 6 bit/[...]

  • Page 118

    ❏ Upper bits beginning with the MSB are valid. Lower bits not in use are fixed to 0. 3-24 Command Reference[...]

  • Page 119

    ESC R Set resolution Format: B1 B2 B3 B4 B5 A5 Command: ASCII: ESC R Decimal: 27 82 Hexadecimal: 1B 52 Parameter: n1 L n1 H n2 L n2 H Handshaking: 1 ESC R command 2 ACK code 3 Parameter (n1, n2) 4 ACK code Parameter range: n1 L , n1 H = main scan resolution (lower byte, higher byte) n2 L , n2 H = sub scan resolution (lower byte, higher byte) Defaul[...]

  • Page 120

    Explanation: This command sets the reading resolution of the main scan and sub scan. n1 = Main scan resolution setting in dpi n2 = Sub scan resolution setting in dpi The settings available on each scanner model are listed in Appendix B. The settings available can be checked with the identity data block that is obtained with the ESC I (Request ident[...]

  • Page 121

    ESC H Set zoom Format: B2 B3 B4 B5 A5 Command: ASCII: ESC H Decimal: 27 72 Hexadecimal: 1B 48 Parameter: i1 i2 Handshaking: 1 ESC H command 2 ACK code 3 Parameter (i1, i2) 4 ACK code Parameter range: 32 H (50) ≤ i1 ≤ C8 H (200) 32 H (50) ≤ i2 ≤ C8 H (200) i1 = 50 to 200 (Main scan zoom, in %) i2 = 50 to 200 (Sub scan zoom, in %) Default val[...]

  • Page 122

    Explanation: This command specifies the zoom values for the main scan (i1) and the sub scan (i2) in the range of 50% to 200%. The zoom value increment is 1% or 10%, depending on the scanner model. See Appendix B for details. When the zoom is set with the control panel, the zoom value of the main scan and sub scan are equal. The setting made with th[...]

  • Page 123

    ESC A Set scanning area Format: B1 B2 B3 B4 B5 A5 Command: ASCII: ESC A Decimal: 27 65 Hexadecimal: 1B 41 Parameters: n1 L , n1 H , n2 L , n2 H , n3 L , n3 H , n4 L , n4 H Handshaking: 1 ESC A command 2 ACK code 3 Parameter (n1, n2, n3, n4) 4 ACK code Parameter range: n1 L , n1 H = main scan offset length in dots (lower byte, higher byte) n2 L , n2[...]

  • Page 124

    Default value: Varies according to scanner model. See Appendix B for details. Explanation: This command specifies the scanning area as a rectangle measured from the origin, with lengths for the main scan and sub scan. The setting is made in units of dots (pixels). The maximum values are determined by the current resolution ( ESC R ) and zoom ( ESC [...]

  • Page 125

    The offset and scanning lengths (n1 to n4) should be integer values within the available range of the main scan length and sub scan length. The maximum main scan and sub scan lengths are determined by the current resolution and zoom settings, and the parameter range for the ESC A parameter falls within the values shown below. 0 ≤ n1 ≤ (maximum [...]

  • Page 126

    The physical distance of the offset lengths and scanning lengths depends on the current dpi and zoom settings. For example, when the main scan and sub scan lengths are set to 400 dots and 640 dots respectively (at 100 dpi and 100%), the physical lengths are 4 inches (10.16 cm) and 6.4 inches (16.26 cm) respectively. Relation to other commands The r[...]

  • Page 127

    Reading area The figure below illustrates the scanning area definition. c Cau ti on : If t he read i ng area para m eters are w ro ng , a co mm and error occ u rs i n t he sca nn er . Th e m ost li ke l y m ist ake is t ha t t he va l u e u se d f or t he m a i n sca n is no t a m u lti p le o f 8 . Th e m ax i m u m va l u e o f n 3 is d iff ere n[...]

  • Page 128

    ESC K Set data order Format: B5 A5 Command: ASCII: ESC K Decimal: 27 75 Hexadecimal: 1B 4B Parameters: i Handshaking: 1 ESC K command 2 ACK code 3 Parameter (i) 4 ACK code Parameter range: i = 00 H (0): Left top first (from left to right) i = 01 H (1): Right top first (from right to left) Default values: i = 00 H i =0 : L e ft t op f ir st i =1 : R[...]

  • Page 129

    Explanation: This command selects the order of image data. The position of the origin is not affected by the order. Command Reference 3-35[...]

  • Page 130

    Image Definition Commands ESC L Set brightness Format: B2 B3 B4 B5 A5 Command: ASCII: ESC L Decimal: 27 76 Hexadecimal: 1B 4C Parameter: i Handshaking: 1 ESC L command 2 ACK code 3 Parameter (i) 4 ACK code 3-36 Command Reference[...]

  • Page 131

    Parameter range: Default value: i = 00 H (center) Command Reference 3-37[...]

  • Page 132

    Explanation: This command sets the brightness level of the scanned image data. Seven values for i are available: 00 H , 01 H , 02 H , 03 H , FF H , FE H, and FD H . The graph below shows the differences between the brightness settings when gamma correction is set for the CRT Display A setting. Note: The brightness parameter is not available if a us[...]

  • Page 133

    ESC Z Set gamma correction Format: B2 B3 B4 B5 A5 Command: ASCII: ESC Z Decimal: 27 90 Hexadecimal: 1B 5A Parameter: i Handshaking: 1 ESC Z command 2 ACK code 3 Parameter (i) 4 ACK code Parameter range: i = 01 H (1) : CRT Display A B2 B3 B4 B5 A5 i = 02 H (2) : CRT Display B B2 B3 B4 B5 A5 i = 00 H (0) : Printer Output A B2 B3 B4 B5 A5 i = 03 H (3)[...]

  • Page 134

    Explanation: This command specifies the gamma correction setting for the output device. The gamma correction refers to the gamma correction table stored in the scanner’s internal memory, and adjusts the conversion ratio between the input intensity of the original image and the output image data values. The various predefined mode settings have th[...]

  • Page 135

    Printer Output A (High density printers) This setting is appropriate for printing on high density printers, such as 24-dot printers and laser printers. Since high density printing increases the darker components of the image, this setting compensates by producing data that is lighter than that used by a CRT display. Printer Output B (Low density pr[...]

  • Page 136

    ESC z Download gamma table Format: B4 B5 A5 Command: ASCII: ESC z Decimal: 27 122 Hexadecimal: 1B 7A Parameter: i d (256 bytes) Handshaking: 1 ESC z command 2 ACK code 3 Parameters (i, d) 4 ACK code Parameter range: i = ’’ m ’’ or ’’ M ’’ : Monochrome i = ‘‘ r ’’ or ‘‘ R ’’ : Red i = ‘‘ g ’’ or ‘‘ G ’?[...]

  • Page 137

    Explanation: This command downloads a user-defined gamma correction table to the scanner. This command is used when suitable gamma correction is not provided by any of the five gamma correction tables built into the scanner. Specify ‘‘ m ’’ or ‘‘ M ’’ for the i parameter when defining a gamma correction table for monochrome scanning[...]

  • Page 138

    ESC Q Set sharpness Format: B4 B5 A5 Command: ASCII: ESC Q Decimal: 27 81 Hexadecimal: 1B 51 Parameter: i Handshaking: 1 ESC Q command 2 ACK code 3 Parameter (i) 4 ACK code Parameter range: i = FE H : More defocused i = FF H : Defocused i = 00 H : Normal i = 01 H : Sharp i = 01 H : Sharper Default value: i = 00 H Explanation: This command selects f[...]

  • Page 139

    Image Processing Commands ESC B Set halftoning mode Format: B1 B2 B3 B4 B5 A5 Command: ASCII: ESC B Decimal: 27 66 Hexadecimal: 1B 42 Parameter: i Handshaking: 1 ESC B command 2 ACK code 3 Parameter (i) 4 ACK code Command Reference 3-45[...]

  • Page 140

    Parameter range: i= 00 H (0): Enable halftoning mode A (hard tone): B1 B2 B3 B4 B5 A5 i= 10 H (16): Enable halftoning mode B (soft tone): B2 B3 B4 B5 A5 i= 20 H (32): Enable halftoning mode C (net-screen): B2 B3 B4 B5 i= 80 H (128): Dither mode A (4 x 4 Bayer): B4 B5 A5 i= 90 H (144): Dither mode B (4 x 4 spiral): B4 B5 A5 i= A0 H (160): Dither mod[...]

  • Page 141

    Each halftoning mode has the following characteristics. Halftoning mode A (hard tone) The image is processed to produce hard tones, to express distinction. This mode is suitable for most purposes. Halftoning mode B (soft tone) The image is processed to give soft tones. This mode is suitable for images that contain large areas of similar tones. Comm[...]

  • Page 142

    Halftoning mode C (net-screen) The image is processed so that it is represented similar to the net screen used in newspaper printing. The gradations of the tones are represented by clusters of different numbers of dots. Dither modes A, B, C, and D (fixed pattern dithering) These modes have the following dither patterns. 3-48 Command Reference[...]

  • Page 143

    ESC B and other commands This command is not available if a value other than 01 H (1 bit per pixel per color) and 02 H (2 bits per pixel per color) is specified with the ESC D (Set data format) command. If a user-defined dither pattern is specified when none has been downloaded, the Dither mode A is selected. The parameter 03 H is effective only wh[...]

  • Page 144

    ESC b Download dither pattern Format: B4 B5 A5 Command: ASCII: ESC b Decimal: 27 98 Hexadecimal: 1B 62 Parameter: ij d(j 2 ) Handshaking: 1 ESC b command 2 ACK code 3 Parameter i j 4 Parameter d (j 2 ) 5 ACK code Parameter range: i = 00 H : User pattern A i = 01 H : User pattern B j = 04 H : 4 x 4 matrix d(16) j = 08 H : 8 x 8 matrix d(64) j = 16 H[...]

  • Page 145

    Explanation: This command sets the threshold values for user-defined dither patterns. The patterns defined with this command can be selected by the ESC B command. Parameter i can be 0 or 1, allowing you to define two dither patterns. Parameter j determines the number of pixels on one side of the dither matrix square. The square can be 4 × 4, 8 × [...]

  • Page 146

    ESC M Set color correction Format: B3 B4 B5 Command: ASCII: ESC M Decimal: 27 77 Hexadecimal: 1B 4D Parameter: i Handshaking: 1 ESC M command 2 ACK code 3 Parameter (i) 4 ACK code Parameter range: i = 10 H (0) : For color impact dot matrix printers i = 01 H (1) : User defined value i = 20 H (32) : For color thermal transfer printers i = 40 H (64) :[...]

  • Page 147

    This command is valid only when color line sequence reading or byte sequence is specified by the ESC C (Set color) command. The parameter 01 H setting is effective only after downloading color correction with ESC m . Command Reference 3-53[...]

  • Page 148

    ESC m Download color correction Format: B4 B5 Command: ASCII: ESC m Decimal: 27 109 Hexadecimal: 1B 60 Parameter: d1, d2, d3, d4, d5, d6, d7, d8, d9 Handshaking: 1 ESC m command 2 ACK code 3 Parameter (d1 ~ d9) 4 ACK code 3-54 Command Reference[...]

  • Page 149

    Parameter range: -127 ≤ d1, d2, d3, d4, d5, d6, d7, d8, d9 ≤ 127 Each data is a signed byte, and the data format is as follows. MSB LSB X X X X X X X X Absolute value Sign bit, 0: positive (+), 1: negative (-) Explanation: This command downloads 9 coefficient data bits for color correction. A scanner converts color data according to the followi[...]

  • Page 150

    ESC s Set auto area segmentation Format: A5 Command: ASCII: ESC s Decimal: 27 115 Hexadecimal: 1B 73 Parameter: i Handshaking: 1 ESC s command 2 ACK code 3 Parameter (i) 4 ACK code Parameter range: i = 00 H : Disable auto area segmentation i = 01 H : Enable auto area segmentation (Text area = TET OFF, Photo area = [ESC B]) i = 02 H : Enable auto ar[...]

  • Page 151

    Auxiliary Commands ESC @ Initialize the scanner Format: B2 B3 B4 B5 A5 Command: ASCII: ESC @ Decimal: 27 64 Hexadecimal: 1B 40 Parameter: (none) Handshaking: 1 ESC @ command 2 ACK code Explanation: When this command is received, the scanner initializes itself, and the command settings are reset to the default values. Downloaded data, such as user-d[...]

  • Page 152

    ESC d Set line counter Format: B4 B5 A5 Command: ASCII: ESC d Decimal: 27 100 Hexadecimal: 1B 64 Parameter: i Handshaking: 1 ESC d command 2 ACK code 3 Parameter i 4 ACK code Parameter range: 0 ≤ i ≤ 255 Explanation: This command sets the number of the line counter for use with block-structure data blocks. This makes it possible for the scanner[...]

  • Page 153

    Parameter i determines the number of image lines that are included in the data block. The value specified must be greater than 0 and less than or equal to 255. (If 0 is specified, the scanner returns NAK in response to this command.) When the block data transfer mode is enabled with this command, the receiving host computer must check the line coun[...]

  • Page 154

    ESC g Set scanning mode Format: B4 B5 A5 Command: ASCII: ESC g Decimal: 27 103 Hexadecimal: 1B 67 Parameter: i Handshaking: 1 ESC g command 2 ACK code 3 Parameter i 4 ACK code Parameter range: i = 00 H : Normal mode i = 01 H : High speed mode Default value: 00 H Explanation: This command selects scanning in the high-speed mode or the normal mode. W[...]

  • Page 155

    The high-speed mode is suitable when scanning bi-level originals, such as text and line art. When scanning continuous tone images, as with 8-bit monochrome and 24-bit color scanning, use the normal mode. Note: ❏ To obtain the full benefit of high-speed data transfer, use the high speed scanning mode in combination with block-structure data lock t[...]

  • Page 156

    ESC e Control option Format: EXT* Command: ASCII: ESC e Decimal: 27 101 Hexadecimal: 1B 65 Parameter: i Handshaking: 1 ESC e command 2 ACK code 3 Parameter i 4 ACK code Parameter range: i = 01 H : Enable option i = 00 H : Disable option Default value: 00 H Explanation: This command enables or disables the option. Upon execution of this command, the[...]

  • Page 157

    Command Reference 3-63[...]

  • Page 158

    FF Eject document Format: EXT Command: ASCII: FF Decimal: 12 Hexadecimal: 0C Parameter: (none) Handshaking: 1 FF code 2 Data block Explanation: Upon receiving this command, the scanner ejects the document currently loaded in the Automatic Document Feeder. 3-64 Command Reference[...]

  • Page 159

    Control Codes The following four codes are used to control handshaking and data transfer between the computer and scanner. STX Header Format: ASCII: STX Decimal: 2 Hexadecimal: 02 Explanation: This code is used by the scanner and indicates the beginning of a data block. Command Reference 3-65[...]

  • Page 160

    CAN Abort scanning Format: ASCII: CAN Decimal: 24 Hexadecimal: 18 Explanation: This code aborts a scanning operation, and returns the scanner to the command waiting mode (ready state). An ACK code is returned from the scanner. This code should be sent by the computer in place of an ACK code during scanning operation. See the explanation of the ESC [...]

  • Page 161

    ACK Normal response (acknowledge) Format: B1 B2 B3 B4 B5 A5 ASCII: ACK Decimal: 6 Hexadecimal: 06 Explanation: This code is used by both the scanner and computer for handshaking. This code indicates that a command, a set of parameters, or a data block was legal and accepted by the receiving device. The computer should always send an ACK code in res[...]

  • Page 162

    NAK Abnormal response (negative acknowledge) Format: B1 B2 B3 B4 B5 A5 ASCII: NAK Decimal: 21 Hexadecimal: 15 Explanation: This code is used by the scanner for handshaking. This code indicates that a command or a parameter was illegal and not accepted by the scanner. When the NAK code is returned from the scanner, it means a command error has occur[...]

  • Page 163

    Appendix A Interface Specifications A Interface Specifications A-1[...]

  • Page 164

    Serial Interface Specifications Interface type: RS-232C(D) compatible Transfer method: Asynchronous Transfer speed: Scanner model dependent Data format: Scanner model dependent Handshaking: ACK/NAK codes software handshaking Signal voltage: Logic ‘‘ 1 ’’ , MARK = -3V to -27V Logic ‘‘ 0 ’’ , SPACE = 3V to 27V Connector type: DB-25 (D[...]

  • Page 165

    Signal pin assignments In this table, the direction of the signals is given relative to the scanner. Pin No. Signal I/O Description 1 C.GND - Chassis ground 2 TXD Out Transmit data 3 RXD In Receive data 4 RTS Out Request to send 5 CTS In Clear to send 6 DSR In Data set ready 7 S.GND - Signal ground 8 − 19 NC - - 20 DTR Out Data terminal ready 21 [...]

  • Page 166

    Parallel Interface Specifications Interface type: Bi-directional parallel interface Data format: 8-bit parallel Synchronization: By external strobe pulse Handshaking: By ACKNLG and BUSY signals Logic level: Input/output data and interface control signals are TTL level compatible. Connector type: 36-pin Centronics type connector Connector pin arrang[...]

  • Page 167

    Signal pin assignments In this table, the direction of the signals is given relative to the scanner. Pin No. Return pin Signal I/O Comment 1 19 STROBE IN STROBE pulse to read in or send out data. Pulse width must be more than 0.5 microseconds at the receiving terminal. 2 20 DATA0 IN/OUT These signals represent information of bits 1 to 8, respective[...]

  • Page 168

    18 - NC - Not used 19 − 30 - NC - Twisted-pair return signal ground level 31 - INIT IN When this signal level goes Low, the scanner is reset to its power-up state. This level is usually High. The pulse width must be more than 50 microseconds at the receiving terminal. 32 - NC - Not used 33 - GND - Twisted-pair return signal ground level 34 − 35[...]

  • Page 169

    Timing charts The figures below show the timing for the bi-directional parallel interface. OUT (Scanner to computer) IN (Computer to scanner) timechr1 timechr2 Interface Specifications A-7[...]

  • Page 170

    SCSI Interface Specifications Basic Specification Any item not included in this specification is in conformance with ANSI Standard X3.131-1986. Functions The following functions covered by ANSI Standard X3.131-1986 are included. i) BUS FREE phase ii) ARBITRATION phase iii) RESELECTION phase iv) COMMAND phase With this device, the LUN (Logical Unit [...]

  • Page 171

    ID Switch Setting The SCSI ID is set with the ID switch mounted on the back of the scanner. The ID switch numbers correspond to the available ID and can be set from 0 to 7. The numbers 8 and 9 should not be used. Command Chart This device uses the following group 0 processor commands. Code Command Description 00H TEST UNIT READY Ready for operation[...]

  • Page 172

    Peripheral device type : 03 H (processor) : 00 H RMB : 0 B Device type qualifier : 00 H : 00 H ISO version : 0 H ECMA version : 0 H ANSI version : 0 H Reserved : 00 H Additional length : 23 H Reserved : 00 H , 00 H , 00 H Vendor unique parameter byte : ‘‘ EPSON ’’ , 20 H : ‘‘ SCANNER ’’ , 20 H , ‘‘ ************** ’’ , 20 H ,[...]

  • Page 173

    Message List Code Type Message Direction 00H M COMMAND COMPLETE IN 01H − 03H O Not Supported 04H O DISCONNECT IN 05H − 06H O Not Supported 07H O MESSAGE REJECT IN OUT 08H − 0BH O Not Supported 0CH O BUS DEVICE RESET OUT 0DH − 7FH R (Reserved) 80H − FFH O IDENTIFY IN OUT M: MANDATORY O: OPTIONAL R: Reserved IN: Initiator ← Target OUT: Ta[...]

  • Page 174

    Signal pin assignments In this table, the direction of the signals is given relative to the scanner. Signal I/O 50 Pin No. 25 Pin No. Description GND 1 − 12 14 − 25 35 − 37 39 − 40 42 7 − 9 14 16 18 24 Ground NC 13 Not connected DB0 I/O 26 8 Data bus 0 DB1 I/O 27 21 Data bus 1 DB2 I/O 28 22 Data bus 2 DB3 I/O 29 10 Data bus 3 DB4 I/O 30 2[...]

  • Page 175

    SCSI Operation Procedure This section explains the operational procedures for the SCSI. For details concerning SCSI specifications for individual operations, refer to ANSI X3.131-1986 ‘‘ Small Computer System Interface. ’’ Communication Operation The following procedure is used to transfer data between the scanner (Target) and a host comput[...]

  • Page 176

    vi When the unit attention condition is set, the Target sends Check Condition status and then advances to item ix without executing the command. vii The Target rechecks the command operation code. If the command is Test Unit Ready, the command is executed. If there is a parameter error, however, the Target creates an error code and sense data and t[...]

  • Page 177

    SCSI Commands The commands supported by EPSON scanners are explained below. If the Link, Flag, and reserved bits of a command are a value other than 0, an error occurs and the command is not executed. 1. Test Unit Ready If the scanner is ready for operation, Good status is sent; if an error occurs at this time, Check Condition status is sent. 2. Re[...]

  • Page 178

    4. Send, Receive Data is sent to and received from the scanner. With this command, the transfer length and assigned length must be the same as the actual number of data bytes. For example, when the ESC G (Start reading) command is to be sent to the scanner, the transfer length must be 2 bytes; otherwise, an error occurs and the command is not execu[...]

  • Page 179

    Sense Data The extension sense data format is used for the sense data created when an error occurs. This format is described below. Bit Byte 7 6 5 4 3 2 1 0 0 Valid Error class (7) Error code (0) 1 Segment data number (0) 2 File mark EOM ILI Reserved Sense keys 3 Information byte (MSB) 4 Information byte 5 Information byte 6 Information byte (LSB) [...]

  • Page 180

    Information byte: This byte has meaning only when the Valid bit is set to 0 and indicates the difference between the transfer length or assigned length specified with a command and the actual data length required by the scanner. The value entered here is calculated using the following formula. Information byte = transfer length - actual data length[...]

  • Page 181

    Initialization The scanner is initialized (returned to a fixed set of conditions) in several ways. Hardware initialization ❏ When the power is turned on ❏ When the RESET switch is pressed ❏ When the scanner receives an initializing signal in the interface Software initialization When the software command ESC @ (Initialize the scanner) is rece[...]

  • Page 182

    A-20 Interface Specifications[...]

  • Page 183

    Appendix B Scanner Model Technical Data B Scanner Model Technical Data B-1[...]

  • Page 184

    GT-1000 Technical Data This appendix provides technical information that is relevant to software control of the EPSON GT-1000 color image scanner. For further details about this particular scanner model, see the GT-1000 user’s guide. Physical Characteristics Function level: B2 Maximum reading area: 74mm × 105mm Effective pixels: 592 × 840 dots [...]

  • Page 185

    Software Functions and Settings The function level of the GT-1000 is B2. The table below lists the functions and settings that can be controlled with software commands. Function Available settings Output resolution 3 settings (50, 100, 200 dpi) Zoom 50% to 200% in 10% increments Reading area 592 × 840 dots at 200 dpi, 100% Data format 1 to 8 bits [...]

  • Page 186

    DIP Switch Setting The GT-1000 has one bank of DIP switches on the control panel. The tables below show the function of each switch and the preset factory settings. The shaded boxes show the factory settings. Switch No. Function ON OFF SW 1 (Reserved) (Always ON) - SW 2 Baud rate See table SW 3 SW 4 Stop bit 1 bit 2 bits SW 5 Gamma correction See t[...]

  • Page 187

    Gamma correction (ESC Z command) Setting SW 5 SW 6 CRT Display A OFF OFF CRT Display B ON OFF Printer Output A OFF ON Printer Output C ON ON Halftoning mode (ESC B command) Setting SW 7 SW 8 Disabled OFF OFF Halftoning mode A ON OFF Halftoning mode B OFF ON Halftoning mode C ON ON Scanner Model Technical Data B-5[...]

  • Page 188

    The Identity Data-Block The GT-1000 sends the following data-block when it receives the ESC I (Request identity) command. Identity Data-Block Order of bytes Data (in hex) Contents Explanation (Information block) 1 02 STX code Header: indicates the beginning of the data-block 2 xx* Status Status byte: indicates the status of the scanner and data 3 1[...]

  • Page 189

    The Condition Data-Block The GT-1000 sends the following data-block when it receives the ESC S (Request condition) command. Condition Data-Block Order of bytes Data (in hex) Contents Explanation (Information block) 1 02 STX code Header: indicates the beginning of the data-block 2 xx* Status Status byte: indicates the status of the scanner 3 1B 27 B[...]

  • Page 190

    Order of bytes Data (in hex) Contents Explanation 21 4C ‘‘ L ’’ Brightness 22 xx i 23 5A ‘‘ Z ’’ Gamma correction 24 xx i 25 48 ‘‘ H ’’ Zoom 26 xx i1 (main scan zoom) 27 xx 12 (sub scan zoom) *(xx denotes a variable) B-8 Scanner Model Technical Data[...]

  • Page 191

    GT-4000 Technical Data This appendix provides technical information that is relevant to software control of the EPSON GT-4000 color image scanner. For further details about this particular scanner model, see the GT-4000 user’s guide. Physical Characteristics Function level: B3 Maximum reading area 214mm × 295mm Effective pixels: 1712 × 2320 dot[...]

  • Page 192

    Software Functions and Settings The function level of the GT-4000 is B3. The table below lists the functions and settings that can be controlled with software commands. Function Available settings Output resolution 16 settings (50, 72, 80, 90, 100, 120, 144, 150, 160, 180, 200, 240, 300, 320, 360, and 400 dpi) Zoom 50% to 200% in 1% increments Read[...]

  • Page 193

    Software Defaults With the DIP switches at the preset factory settings, the following values are the default values on the GT-4000 when the power is turned on. Function Command Default value Data format ESC D i=01 H (1 bit/pixel/color) Resolution ESC R n1=100, n2=100 (dpi) Zoom ESC H i1=100, i2=100 (%) Reading area ESC A n1=0, n2=0, n3=856, n4=1160[...]

  • Page 194

    DIP Switch Setting The GT-4000 has one bank of DIP switches on the control panel. The tables below show the function of each switch and the preset factory settings. The shaded boxes show the factory settings. DIP switch 1 settings Switch No. Function ON OFF SW 1-1 Baud rate See table SW 1-2 SW 1-3 SW 1-4 Stop bit 2 bits 1 bit SW 1-5 Parity bit Even[...]

  • Page 195

    Printer type for direct printing Printer type SW 1-7 SW 1-8 EPSON 24-pin color printer OFF OFF Note: No other combination of SW 1-7 and SW 1-8 should be made. Direct printing is available only when the GT-4000 is directly connected to a printer through the parallel interface. This function has no relation to ordinary software controls. See the GT-4[...]

  • Page 196

    Gamma correction (ESC Z command) Setting SW 2-3 SW 2-4 SW 2-5 CRT Display A OFF OFF OFF CRT Display B ON OFF OFF Printer Output A OFF ON OFF Printer Output B ON ON OFF Printer Output C OFF OFF ON Color correction (ESC M command) Setting SW 2-6 SW 2-7 Impact dot matrix printer OFF OFF Thermal transfer printer ON OFF Ink jet printer OFF ON CRT Displa[...]

  • Page 197

    The Identity Data-Block The GT-4000 sends the following data-block when it receives the ESC I (Request identity) command. Identity Data-Block Order of bytes Data (in hex) Contents Explanation (Information block) 1 02 STX code Header: indicates the beginning of the data-block 2 xx* Status Status byte: indicates the status of the scanner and data 3 3[...]

  • Page 198

    Order of bytes Data (in hex) Contents Explanation 18 52 ‘‘ R ’’ Available resolution (120 dpi) 19 78 120 20 00 21 52 ‘‘ R ’’ Available resolution (144 dpi) 22 90 144 23 00 24 52 ‘‘ R ’’ Available resolution (150 dpi) 25 96 150 26 00 27 52 ‘‘ R ’’ Available resolution (160 dpi) 28 A0 160 29 00 30 52 ‘‘ R ’’ Av[...]

  • Page 199

    Order of bytes Data (in hex) Contents Explanation 48 52 ‘‘ R ’’ Available resolution (400 dpi) 49 90 400 50 01 51 41 ‘‘ A ’’ Maximum reading area at the maximum resolution and 100% zoom (main scan 3424 dots by sub scan 4640 dots) 52 60 3424 53 0D 54 20 4640 55 12 *(xx denotes a variable) The Condition Data-Block The GT-4000 sends th[...]

  • Page 200

    Order of bytes Data (in hex) Contents Explanation 9 xx n1 (main scan offset length) 10 xx 11 xx n2 (sub scan offset length) 12 xx 13 xx n3 (main scan read length) 14 xx 15 xx n4 (sub scan read length) 16 xx 17 44 ‘‘ D ’’ Data format 18 xx i 19 42 ‘‘ B ’’ Halftoning mode 20 xx i 21 4C ‘‘ L ’’ Brightness 22 xx i 23 5A ‘‘ Z[...]

  • Page 201

    GT-6000 (ES-300C) Technical Data This appendix provides technical information that is relevant to software control of the EPSON GT-6000 color image scanner. For further details about this particular scanner model, see the GT-6000 user’s guide. Note for American and Canadian users: The EPSON GT-6000 scanner is sold under the model name ES-300C in [...]

  • Page 202

    Software Functions and Settings The function level of the GT-6000 is B3. The table below lists the functions and settings that can be controlled with software commands. Function Available settings Output resolution 19 settings (50, 72, 75, 80, 90, 100, 120, 144, 150, 160, 180, 200, 240, 300, 320, 360, 400, 480, and 600 dpi) Zoom 50% to 200% in 1% i[...]

  • Page 203

    Software Defaults With the DIP switches at the preset factory settings, the following values are the default values on the GT-6000 when the power is turned on. Function Command Default value Data format ESC D i=01 H (1 bit/pixel/color) Resolution ESC R n1=100, n2=100 (dpi) Zoom ESC H i1=100, i2=100 (%) Reading area ESC A n1=0, n2=0, n3=848, n4=1169[...]

  • Page 204

    DIP Switch Setting The GT-6000 has one bank of DIP switches on the control panel. The tables below show the function of each switch and the preset factory settings. The shaded boxes show the factory settings. DIP switch 1 settings Switch No. Function ON OFF SW 1-1 Baud rate See table SW 1-2 SW 1-3 SW 1-4 Stop bit 2 bits 1 bit SW 1-5 Parity bit Even[...]

  • Page 205

    Printer type for direct printing Printer type SW 1-7 SW 1-8 EPSON 24-pin color printer (80 col.) OFF OFF HP PaintJet color printer (parallel) ON OFF EPSON 24-pin color printer (136 col.) ON ON Note: To use the direct printing function, SW 2-8 should also be set to ON. No other combination of SW 1-7 and SW 1-8 should be made. Direct printing is avai[...]

  • Page 206

    Halftoning mode (ESC B command) Setting SW 2-1 SW 2-2 Disabled OFF OFF Halftoning mode A ON OFF Halftoning mode B OFF ON Halftoning mode C ON ON Gamma correction (ESC Z command) Setting SW 2-3 SW 2-4 SW 2-5 CRT Display A OFF OFF OFF CRT Display B ON OFF OFF Printer Output A OFF ON OFF Printer Output B ON ON OFF Printer Output C OFF OFF ON Color cor[...]

  • Page 207

    The Identity Data-Block The GT-6000 sends the following data-block when it receives the ESC I (Request identity) command. Identity Data-Block Order of bytes Data (in hex) Contents Explanation (Information block) 1 02 STX code Header: indicates the beginning of the data-block 2 xx* Status Status byte: indicates the status of the scanner and data 3 3[...]

  • Page 208

    Order of bytes Data (in hex) Contents Explanation 18 52 ‘‘ R ’’ Available resolution (100 dpi) 19 64 100 20 00 21 52 ‘‘ R ’’ Available resolution (120 dpi) 22 78 120 23 00 24 52 ‘‘ R ’’ Available resolution (144 dpi) 25 90 144 26 00 27 52 ‘‘ R ’’ Available resolution (150 dpi) 28 96 150 29 00 30 52 ‘‘ R ’’ Av[...]

  • Page 209

    Order of bytes Data (in hex) Contents Explanation 48 52 ‘‘ R ’’ Available resolution (360 dpi) 49 68 360 50 01 51 52 ‘‘ R ’’ Available resolution (400 dpi) 52 90 400 53 01 54 52 ‘‘ R ’’ Available resolution (480 dpi) 55 E0 480 56 01 57 52 ‘‘ R ’’ Available resolution (600 dpi) 58 58 600 59 02 60 41 ‘‘ A ’’ Ma[...]

  • Page 210

    The Condition Data-Block The GT-6000 sends the following data-block when it receives the ESC S (Request condition) command. Condition Data-Block Order of bytes Data (in hex) Contents Explanation (Information block) 1 02 STX code Header: indicates the beginning of the data-block 2 xx* Status Status byte: indicates the status of the scanner 3 1D 29 B[...]

  • Page 211

    Order of bytes Data (in hex) Contents Explanation 21 4C ‘‘ L ’’ Brightness 22 xx i 23 5A ‘‘ Z ’’ Gamma correction 24 xx i 25 48 ‘‘ H ’’ Zoom 26 xx i1 (main scan zoom) 27 xx 12 (sub scan zoom) 28 4D ‘‘ M ’’ Color correction 29 xx i *(xx denotes a variable) Scanner Model Technical Data B-29[...]

  • Page 212

    GT-6500 (ES-600C) Technical Data This appendix provides technical information that is relevant to software control of the EPSON GT-6500 color image scanner. For further details about this particular scanner model, see the GT-6500 user’s guide. Note for American and Canadian users: The EPSON GT-6500 scanner is sold under the model name ES-600C in [...]

  • Page 213

    Error Indications The error indications are different for the GT-6500 and the ES-600C. Both versions are listed below. GT-6500 Scanner errors are displayed by the digital indicator as shown below. The READY light remains on after a Command Error. Error name Digital indicator READY light Command Error E-C On Interface Error E-I Off Fatal Error E-F ([...]

  • Page 214

    Software Functions and Settings The function level of the GT-6500 is B4. The table below lists the functions and settings that can be controlled with software commands. Function Available settings Output resolution 23 settings (50, 60, 72, 75, 80, 90, 100, 120, 133, 144, 150, 160, 175, 180, 200, 216, 240, 300, 320, 360, 400, 480, and 600 dpi) Zoom [...]

  • Page 215

    Software Defaults With the DIP switches at the preset factory settings, the following values are the default values on the GT-6500 when the power is turned on. Function Command Default value Data format ESC D i=01 H (1 bit/pixel/color) Resolution ESC R n1=100, n2=100 (dpi) Zoom ESC H i1=100, i2=100 (%) Reading area ESC A n1=0, n2=0, n3=848, n4=1170[...]

  • Page 216

    DIP Switch Setting The DIP switch settings are different for the GT-6500 and ES-600C. Both versions are listed below. GT-6500 The GT-6500 has two banks of DIP switches on the front of the scanner. The tables below show the function of each switch and the preset factory settings. The shaded boxes show the factory settings. DIP switch 1 settings Swit[...]

  • Page 217

    Baud rate settings Setting SW 1-1 SW 1-2 SW 1-3 19200 bps OFF OFF OFF 9600 bps ON OFF OFF 4800 bps OFF ON OFF 2400 bps ON ON OFF 1200 bps OFF OFF ON 600 bps ON OFF ON 300 bps OFF ON ON Printer type for direct printing Printer type SW 1-7 SW 1-8 EPSON 24-pin color printer (80 col.) OFF OFF EPSON Stylus Color ON OFF EPSON 24-pin color printer (136 co[...]

  • Page 218

    DIP switch 2 settings Switch No. Function ON OFF SW 2-1 Halftoning mode See table SW 2-2 SW 2-3 Gamma correction See table SW 2-4 SW 2-5 SW 2-6 Color correction See table SW 2-7 SW 2-8 GT-6000 emulation ON OFF Halftoning mode (ESC B command) Setting SW 2-1 SW 2-2 Disabled OFF OFF Halftoning mode A ON OFF Halftoning mode B OFF ON Halftoning mode C O[...]

  • Page 219

    ES-600C The ES-600C has one bank of DIP switches on the front of the scanner. The table below shows the function of each switch and the preset factory settings. The shaded boxes show the factory settings. DIP switch 1 settings Switch No. Function ON OFF SW 1-1 Self test ON OFF SW 1-2 Self test mode Color Monochrome SW 1-3 Self test mode Line Page S[...]

  • Page 220

    The Identity Data-Block The GT-6500 sends the following data-block when it receives the ESC I (Request identity) command. Identity Data-Block Order of bytes Data (in hex) Contents Explanation (Information block) 1 02 STX code Header: indicates the beginning of the data-block 2 xx* Status Status byte: indicates the status of the scanner and data 3 4[...]

  • Page 221

    Order of bytes Data (in hex) Contents Explanation 18 52 ‘‘ R ’’ Available resolution (90 dpi) 19 5A 90 20 00 21 52 ‘‘ R ’’ Available resolution (100 dpi) 22 64 100 23 00 24 52 ‘‘ R ’’ Available resolution (120 dpi) 25 78 120 26 00 27 52 ‘‘ R ’’ Available resolution (133 dpi) 28 85 133 29 00 30 52 ‘‘ R ’’ Avai[...]

  • Page 222

    Order of bytes Data (in hex) Contents Explanation 48 52 ‘‘ R ’’ Available resolution (216 dpi) 49 D8 216 50 00 51 52 ‘‘ R ’’ Available resolution (240 dpi) 52 F0 240 53 00 54 52 ‘‘ R ’’ Available resolution (300 dpi) 55 2C 300 56 01 57 52 ‘‘ R ’’ Available resolution (320 dpi) 58 40 320 59 01 60 52 ‘‘ R ’’ Av[...]

  • Page 223

    The Condition Data-Block The GT-6500 sends the following data-block when it receives the ESC S (Request condition) command. Condition Data-Block Order of bytes Data (in hex) Contents Explanation (Information block) 1 02 STX code Header: indicates the beginning of the data-block 2 xx* Status Status byte: indicates the status of the scanner 3 21 33 B[...]

  • Page 224

    Order of bytes Data (in hex) Contents Explanation 21 4C ‘‘ L ’’ Brightness 22 xx i 23 5A ‘‘ Z ’’ Gamma correction 24 xx i 25 48 ‘‘ H ’’ Zoom 26 xx i1 (main scan zoom) 27 xx 12 (sub scan zoom) 28 4D ‘‘ M ’’ Color correction 29 xx i 30 51 ‘‘ Q ’’ Sharpness 31 xx i 32 67 ‘‘ g ’’ Scanning mode 33 xx i *(x[...]

  • Page 225

    GT-8000 (ES-800C) Technical Data This appendix provides technical information that is relevant to software control of the EPSON GT-8000 color image scanner. For further details about this particular scanner model, see the GT-8000 user’s guide. Note for American and Canadian users: The EPSON GT-8000 scanner is sold under the model name ES-800C in [...]

  • Page 226

    Software Functions and Settings The function level of the GT-8000 is B4. The table below lists the functions and settings that can be controlled with software commands. Function Available settings Output resolution 24 settings (50, 60, 72, 75, 80, 90, 100, 120, 133, 144, 150, 160, 175, 180, 200, 216, 240, 300, 320, 360, 400, 480, 600, and 800 dpi) [...]

  • Page 227

    Software Defaults The following values are the default values on the GT-8000 when the power is turned on. Function Command Default value Data format ESC D i=01 H (1 bit/pixel/color) Resolution ESC R n1=100, n2=100 (dpi) Zoom ESC H i1=100, i2=100 (%) Reading area ESC A n1=0, n2=0, n3=848, n4=1170 (dot) Color mode ESC C i=00 H (standard monochrome) B[...]

  • Page 228

    The Identity Data-Block The GT-8000 sends the following data-block when it receives the ESC I (Request identity) command. Identity Data-Block Order of bytes Data (in hex) Contents Explanation (Information block) 1 02 STX code Header: indicates the beginning of the data-block 2 xx* Status Status byte: indicates the status of the scanner and data 3 4[...]

  • Page 229

    Order of bytes Data (in hex) Contents Explanation 21 52 ‘‘ R ’’ Available resolution (100 dpi) 22 64 100 23 00 24 52 ‘‘ R ’’ Available resolution (120 dpi) 25 78 120 26 00 27 52 ‘‘ R ’’ Available resolution (133 dpi) 28 85 133 29 00 30 52 ‘‘ R ’’ Available resolution (144 dpi) 31 90 144 32 00 33 52 ‘‘ R ’’ Av[...]

  • Page 230

    Order of bytes Data (in hex) Contents Explanation 51 52 ‘‘ R ’’ Available resolution (240 dpi) 52 F0 240 53 00 54 52 ‘‘ R ’’ Available resolution (300 dpi) 55 2C 300 56 01 57 52 ‘‘ R ’’ Available resolution (320 dpi) 58 40 320 59 01 60 52 ‘‘ R ’’ Available resolution (360 dpi) 61 68 360 62 01 63 52 ‘‘ R ’’ Av[...]

  • Page 231

    The Condition Data-Block The GT-8000 sends the following data-block when it receives the ESC S (Request condition) command. Condition Data-Block Order of bytes Data (in hex) Contents Explanation (Information block) 1 02 STX code Header: indicates the beginning of the data-block 2 xx* Status Status byte: indicates the status of the scanner 3 21 33 B[...]

  • Page 232

    Order of bytes Data (in hex) Contents Explanation 21 4C ‘‘ L ’’ Brightness 22 xx i 23 5A ‘‘ Z ’’ Gamma correction 24 xx i 25 48 ‘‘ H ’’ Zoom 26 xx i1 (main scan zoom) 27 xx 12 (sub scan zoom) 28 4D ‘‘ M ’’ Color correction 29 xx i 30 51 ‘‘ Q ’’ Sharpness 31 xx i 32 67 ‘‘ g ’’ Scanning mode 33 xx i *(x[...]

  • Page 233

    GT-8500 (ES-1000C) Technical Data This appendix provides technical information that is relevant to software control of the EPSON GT-8500 color image scanner. For further details about this particular scanner model, see the GT-8500 user’s guide. Note for American and Canadian users: The EPSON GT-8500 scanner is sold under the model name ES-1000C i[...]

  • Page 234

    Software Functions and Settings The function level of the GT-8500 is B5. The table below lists the functions and settings that can be controlled with software commands. Function Available settings Output resolution 50 dpi to 1600 dpi in 1 dpi increments Zoom 50% to 200% in 1% increments Reading area 3400 × 4680 dots at 400 dpi, 100% Data format 1 [...]

  • Page 235

    Software Defaults The following values are the default values on the GT-8500 when the power is turned on. Function Command Default value Data format ESC D i=01 H (1 bit/pixel/color) Resolution ESC R n1=100, n2=100 (dpi) Zoom ESC H i1=100, i2=100 (%) Reading area ESC A n1=0, n2=0, n3=848, n4=1170 (dot) Color mode ESC C i=00 H (standard monochrome) B[...]

  • Page 236

    The Identity Data-Block The GT-8500 sends the following data-block when it receives the ESC I (Request identity) command. Identity Data-Block Order of bytes Data (in hex) Contents Explanation (Information block) 1 02 STX code Header: indicates the beginning of the data-block 2 xx* Status Status byte: indicates the status of the scanner and data 3 5[...]

  • Page 237

    Order of bytes Data (in hex) Contents Explanation 21 52 ‘‘ R ’’ Available resolution (100 dpi) 22 64 100 23 00 24 52 ‘‘ R ’’ Available resolution (120 dpi) 25 78 120 26 00 27 52 ‘‘ R ’’ Available resolution (133 dpi) 28 85 133 29 00 30 52 ‘‘ R ’’ Available resolution (144 dpi) 31 90 144 32 00 33 52 ‘‘ R ’’ Av[...]

  • Page 238

    Order of bytes Data (in hex) Contents Explanation 51 52 ‘‘ R ’’ Available resolution (240 dpi) 52 F0 240 53 00 54 52 ‘‘ R ’’ Available resolution (300 dpi) 55 2C 300 56 01 57 52 ‘‘ R ’’ Available resolution (320 dpi) 58 40 320 59 01 60 52 ‘‘ R ’’ Available resolution (360 dpi) 61 68 360 62 01 63 52 ‘‘ R ’’ Av[...]

  • Page 239

    Order of bytes Data (in hex) Contents Explanation 81 52 ‘‘ R ’’ Available resolution (1600 dpi) 82 40 1600 83 06 84 41 ‘‘ A ’’ Maximum reading area at the maximum resolution and 100% zoom (main scan 13600 dots by sub scan 18720 dots) 85 20 13600 86 35 87 20 18720 88 49 *(xx denotes a variable) The Condition Data-Block The GT-8500 se[...]

  • Page 240

    Order of bytes Data (in hex) Contents Explanation 8 41 ‘‘ A ’’ Reading area (main scan offset length) (sub scan offset length) (main scan read length) (sub scan read length) 9 xx n1 10 xx 11 xx n2 12 xx 13 xx n3 14 xx 15 xx n4 16 xx 17 44 ‘‘ D ’’ Data format 18 xx i 19 42 ‘‘ B ’’ Halftoning mode 20 xx i 21 4C ‘‘ L ’’[...]

  • Page 241

    Order of bytes Data (in hex) Contents Explanation 34 4B ‘‘ K ’’ Data order 35 xx i *(xx denotes a variable) Scanner Model Technical Data B-59[...]

  • Page 242

    GT-9000 (ES-1200C) Technical Data This appendix provides technical information that is relevant to software control of the EPSON GT-9000 color image scanner. For further details about this particular scanner model, see the GT-9000 user’s guide. Note for American and Canadian users: The EPSON GT-9000 scanner is sold under the model name ES-1200C i[...]

  • Page 243

    Software Functions and Settings The function level of the GT-9000 is B4. The table below shows the list of the functions and settings that can be controlled with software commands. Function Available settings Output resolution 29 settings (50, 60, 72, 75, 80, 90, 100, 120, 133, 144, 150, 160, 175, 180, 200, 216, 240, 300, 320, 360, 400, 480, 600, 8[...]

  • Page 244

    Software Defaults The following are the default values of the GT-9000 at power on. Function Command Default value Data format ESC D i=01 H (1 bit/pixel/color) Resolution ESC R n1=100, n2=100 (dpi) Zoom ESC H i1=100, i2=100 (%) Reading area ESC A n1=0, n2=0, n3=848, n4=1170 (dot) Color mode ESC C i=00 H (standard monochrome) Brightness ESC L i=00 H [...]

  • Page 245

    The Identity Data-Block The GT-9000 sends the following data-block when it receives the ESC I (Request identity) command. Identity Data-Block Order of bytes Data (in hex) Contents Explanation (Information block) 1 02 STX code Header: indicates the beginning of the data-block 2 xx* Status Status byte: indicates the status of the scanner and data 3 5[...]

  • Page 246

    Order of bytes Data (in hex) Contents Explanation 21 52 ‘‘ R ’’ Available resolution (100 dpi) 22 64 100 23 00 24 52 ‘‘ R ’’ Available resolution (120 dpi) 25 78 120 26 00 27 52 ‘‘ R ’’ Available resolution (133 dpi) 28 85 133 29 00 30 52 ‘‘ R ’’ Available resolution (144 dpi) 31 90 144 32 00 33 52 ‘‘ R ’’ Av[...]

  • Page 247

    Order of bytes Data (in hex) Contents Explanation 51 52 ‘‘ R ’’ Available resolution (240 dpi) 52 F0 240 53 00 54 52 ‘‘ R ’’ Available resolution (300 dpi) 55 2C 300 56 01 57 52 ‘‘ R ’’ Available resolution (320 dpi) 58 40 320 59 01 60 52 ‘‘ R ’’ Available resolution (360 dpi) 61 68 360 62 01 63 52 ‘‘ R ’’ Av[...]

  • Page 248

    Order of bytes Data (in hex) Contents Explanation 81 52 ‘‘ R ’’ Available resolution (1600 dpi) 82 40 1600 83 06 84 52 ‘‘ R ’’ Available resolution (1800 dpi) 85 08 1800 86 07 87 52 ‘‘ R ’’ Available resolution (2400 dpi) 88 60 2400 89 09 90 41 ’’ A ’’ Maximum reading area at the maximum resolution and 100% zoom (mai[...]

  • Page 249

    The Condition Data-Block The GT-9000 sends the following data-block when it receives the ESC S (Request condition) command. Condition Data-Block Order of bytes Data (in hex) Contents Explanation (Information block) 1 02 STX code Header: indicates the beginning of the data-block 2 xx* Status Status byte: indicates the status of the scanner 3 21 33 B[...]

  • Page 250

    Order of bytes Data (in hex) Contents Explanation 21 4C ‘‘ L ’’ Brightness 22 xx i 23 5A ‘‘ Z ’’ Gamma correction 24 xx i 25 48 ‘‘ H ’’ Zoom 26 xx i1 (main scan zoom) 27 xx 12 (sub scan zoom) 28 4D ‘‘ M ’’ Color correction 29 xx i 30 51 ‘‘ Q ’’ Sharpness 31 xx i 32 67 ‘‘ g ’’ Scanning mode 33 xx i *(x[...]

  • Page 251

    GT-5000 (Action Scanner II) Technical Data This appendix provides technical information that is relevant to software control of the EPSON GT-5000 color image scanner. For further details about this particular scanner model, see the GT-5000 user’s guide. Note for American and Canadian users: The EPSON GT-5000 scanner is sold under the model name A[...]

  • Page 252

    Software Functions and Settings The function level of the GT-5000 is B5. The table below lists the functions and settings that can be controlled with software commands. Function Available settings Output resolution 50 dpi to 1200 dpi in 1 dpi increments Zoom 50% to 200% in 1% increments Reading area 2550 × 3510 dots at 300 dpi, 100% Data format 1 [...]

  • Page 253

    Software Defaults The following are the default values of the GT-5000 at power on. Function Command Default value Data format ESC D i=01 H (1 bit/pixel/color) Resolution ESC R n1=100, n2=100 (dpi) Zoom ESC H i1=100, i2=100 (%) Reading area ESC A n1=0, n2=0, n3=848, n4=1170 (dot) Color mode ESC C i=00 H (standard monochrome) Brightness ESC L i=00 H [...]

  • Page 254

    The Identity Data-Block The GT-5000 sends the following data-block when it receives the ESC I (Request identity) command. Identity Data-Block Order of bytes Data (in hex) Contents Explanation (Information block) 1 02 STX code Header: indicates the beginning of the data-block 2 xx* Status Status byte: indicates the status of the scanner and data 3 5[...]

  • Page 255

    Order of bytes Data (in hex) Contents Explanation 21 52 ‘‘ R ’’ Available resolution (100 dpi) 22 64 100 23 00 24 52 ‘‘ R ’’ Available resolution (120 dpi) 25 78 120 26 00 27 52 ‘‘ R ’’ Available resolution (133 dpi) 28 85 133 29 00 30 52 ‘‘ R ’’ Available resolution (144 dpi) 31 90 144 32 00 33 52 ‘‘ R ’’ Av[...]

  • Page 256

    Order of bytes Data (in hex) Contents Explanation 51 52 ‘‘ R ’’ Available resolution (240 dpi) 52 F0 240 53 00 54 52 ‘‘ R ’’ Available resolution (300 dpi) 55 2C 300 56 01 57 52 ‘‘ R ’’ Available resolution (320 dpi) 58 40 320 59 01 60 52 ‘‘ R ’’ Available resolution (360 dpi) 61 68 360 62 01 63 52 ‘‘ R ’’ Av[...]

  • Page 257

    Order of bytes Data (in hex) Contents Explanation 81 52 ‘‘ R ’’ Available resolution (1200 dpi) 82 B0 1200 83 04 84 41 ‘‘ A ’’ Maximum reading area at the maximum resolution and 100% zoom (main scan 10200 dots by sub scan 14040 dots) 85 D8 10200 86 27 87 98 14040 88 3A *(xx denotes a variable) The Condition Data-Block The GT-5000 se[...]

  • Page 258

    Order of bytes Data (in hex) Contents Explanation 8 41 ‘‘ A ’’ Reading area (main scan offset length) (sub scan offset length) (main scan read length) (sub scan read length) 9 xx n1 10 xx 11 xx n2 12 xx 13 xx n3 14 xx 15 xx n4 16 xx 17 44 ‘‘ D ’’ Data format 18 xx i 19 42 ‘‘ B ’’ Halftoning mode 20 xx i 21 4C ‘‘ L ’’[...]

  • Page 259

    Order of bytes Data (in hex) Contents Explanation 34 4B ‘‘ K ’’ Data order 35 xx i *(xx denotes a variable) Scanner Model Technical Data B-77[...]

  • Page 260

    GT-300 (ES-300GS) Technical Data This appendix provides technical information that is relevant to software control of the EPSON GT-300 document scanner. For further details about this particular scanner model, see the GT-300 user’s guide. Note for American and Canadian users: The EPSON GT-300 scanner is sold under the model name ES-300GS in the U[...]

  • Page 261

    Software Functions and Settings The function level of the GT-300 is A5. The table below lists the functions and settings that can be controlled with software commands. Function Available settings Output resolution 50 dpi to 600 dpi in 1 dpi increments Zoom 50% to 200% in 1% increments Reading area 2550 × 4200 dots at 300 dpi, 100% Data format 1 to[...]

  • Page 262

    Software Defaults The following values are the default values on the GT-300 when the power is turned on. Function Command Default value Data format ESC D i=01 H (1 bit/pixel) Resolution ESC R n1=100, n2=100 (dpi) Zoom ESC H i1=100, i2=100 (%) Reading area ESC A n1=0, n2=0, n3=848, n4=1170 (dot) Brightness ESC L i=00 H (center) Gamma correction ESC [...]

  • Page 263

    The Identity Data-Block The GT-300 sends the following data-block when it receives the ESC I (Request identity) command. Identity Data-Block Order of bytes Data (in hex) Contents Explanation (Information block) 1 02 STX code Header: indicates the beginning of the data-block 2 xx* Status Status byte: indicates the status of the scanner and data 3 4C[...]

  • Page 264

    Order of bytes Data (in hex) Contents Explanation 21 52 ‘‘ R ’’ Available resolution (100 dpi) 22 64 100 23 00 24 52 ‘‘ R ’’ Available resolution (120 dpi) 25 78 120 26 00 27 52 ‘‘ R ’’ Available resolution (133 dpi) 28 85 133 29 00 30 52 ‘‘ R ’’ Available resolution (144 dpi) 31 90 144 32 00 33 52 ‘‘ R ’’ Av[...]

  • Page 265

    Order of bytes Data (in hex) Contents Explanation 51 52 ‘‘ R ’’ Available resolution (240 dpi) 52 F0 240 53 00 54 52 ‘‘ R ’’ Available resolution (300 dpi) 55 2C 300 56 01 57 52 ‘‘ R ’’ Available resolution (320 dpi) 58 40 320 59 01 60 52 ‘‘ R ’’ Available resolution (360 dpi) 61 68 360 62 01 63 52 ‘‘ R ’’ Av[...]

  • Page 266

    Condition Data-Block Order of bytes Data (in hex) Contents Explanation (Information block) 1 02 STX code Header: indicates the beginning of the data-block 2 xx* Status Status byte: indicates the status of the scanner 3 23 35 Bytes Byte counter: indicates the number of bytes of data 4 00 (Data) 1 43 ‘‘ C ’’ Color mode 2 xx 0 3 52 ‘‘ R ?[...]

  • Page 267

    Order of bytes Data (in hex) Contents Explanation 26 xx i1 (main scan zoom) 27 xx 12 (sub scan zoom) 30 51 ‘‘ Q ’’ Sharpness 31 xx i 32 67 ‘‘ g ’’ Scanning mode 33 xx i 34 4B ‘‘ K ’’ Data order 35 xx i 36 73 ‘‘ s ’’ Auto area segmentation 37 xx i *(xx denotes a variable) Scanner Model Technical Data B-85[...]

  • Page 268

    B-86 Scanner Model Technical Data[...]