EPSON® ESC/ITM ScannerGT-1000GT-4000GT-6000 ES-300CGT-6500 ES-600CGT-8000 ES-800CGT-8500 ES-1000CGT-9000 ES-1200CGT-5000 Action Scanner IIGT-300 ES-30
GT-8000 (ES-800C) Technical Data . . . . . . . . . . . . . . . . . . B-43Physical Characteristics . . . . . . . . . . .
Execution Commands ESC I Request identityFormat: B1 B2 B3 B4 B5 A5Command:ASCII: ESC IDecimal: 27 73Hexadecimal: 1B 49Parameter: (n
For a more detailed explanation on using the ESC I command and thecontents of the returned data block, see Chapter 2 and Appendix B.The length of the
ESC F Request status Format: B1 B2 B3 B4 B5 A5Command:ASCII: ESC FDecimal: 27 70Hexadecimal: 1B 46Parameter: (none)Handshaking:1 ESC F comma
Contents of the ESC F (status) data blockOrder ofbyteData (inhex)Contents Explanation1 02 STX code Header: indicates thebeginning of the data block2
ESC f Request extended statusFormat: EXTCommand:ASCII: ESC fDecimal: 27 102Hexadecimal: 1B 66Parameter: (none)Handshaking:1 ESC f comm
Contents of the ESC f (extended status) data blockOrder of byte Data (inhex)Contents Explanation1 02 STX code Header: indicates the beginning of the
ESC S Request conditionFormat: B1 B2 B3 B4 B5 A5Command:ASCII: ESC SDecimal: 27 83Hexadecimal: 1B 53Parameter: (none)Handshaking:1 ES
ESC G Start scanningFormat: B1 B2 B3 B4 B5Command:ASCII: ESC GDecimal: 27 71Hexadecimal: 1B 47Parameter: (none)Handshaking:The handshaking procedures
The color image data is sent as a set of three primary color pages.1 ESC G command2 Data block (image data for one block)3 ACK code4 Last data blo
❏ Steps 2 and 3 should be repeated for the three colors for thenumber of lines (minus 1) specified for the image until the lastdata block is encounter
IntroductionIntroduction 1
Explanation:When this command is received, the scanner starts a scanningoperation (image reading) for the specified reading area, and sends theimage d
1 ESC G command2 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
Data Form Definition Commands ESC C Set color mode Format: B1 B2 B3 B4 B5 A5Command: ASCII: ESC CDecimal: 27 67Hexadecimal: 1B 43Parameter:
Parameter range:i=00H (0): Monochrome scanning (standard), no dropout color specified B1 B2 B3 B4 B5 A5i=10H (16): Monochrome scanning, dropout color
Explanation:This command specifies the reading color (color or monochrome), thepage, line, or byte sequence mode in color reading, and the dropoutcolo
❏ Dropout colors (monochrome reading only)The dropout color is the color that is treated as white, and is not readduring the scanning operation. On a
ESC D Set data formatFormat: B1 B2 B3 B4 B5 A5Command:ASCII: ESC DDecimal: 27 68Hexadecimal: 1B 44Parameter: iHandshaking:1 ESC
In the color scanning mode, the data format setting defines tones foreach of the three primary colors, green, red, and blue. Data format Monochrome Co
❏ Upper bits beginning with the MSB are valid. Lower bits not inuse are fixed to 0.3-24 Command Reference
ESC R Set resolutionFormat: B1 B2 B3 B4 B5 A5Command:ASCII: ESC RDecimal: 27 82Hexadecimal: 1B 52Parameter: n1Ln1Hn2Ln2HHandshaking:1 ESC R
Manual Construction This manual consists of the following sections:❏ Overview❏ Command Usage❏ Command Reference❏ AppendixThe contents of each of t
Explanation:This command sets the reading resolution of the main scan and subscan. n1 = Main scan resolution setting in dpin2 = Sub scan resolution se
ESC H Set zoomFormat: B2 B3 B4 B5 A5Command:ASCII: ESC HDecimal: 27 72Hexadecimal: 1B 48Parameter: i1 i2Handshaking:1 ESC H command2 ACK
Explanation:This command specifies the zoom values for the main scan (i1) andthe sub scan (i2) in the range of 50% to 200%. The zoom valueincrement is
ESC A Set scanning areaFormat: B1 B2 B3 B4 B5 A5Command:ASCII: ESC ADecimal: 27 65Hexadecimal: 1B 41Parameters: n1L, n1H, n2L, n2H, n
Default value: Varies according to scanner model. See Appendix B fordetails.Explanation:This command specifies the scanning area as a rectangle measur
The offset and scanning lengths (n1 to n4) should be integer valueswithin the available range of the main scan length and sub scanlength. The maximum
The physical distance of the offset lengths and scanning lengthsdepends on the current dpi and zoom settings. For example, when themain scan and sub s
Reading areaThe figure below illustrates the scanning area definition.cCaution: If the reading area parameters are wrong, a command erroroccurs in the
ESC K Set data orderFormat: B5 A5Command:ASCII: ESC KDecimal: 27 75Hexadecimal: 1B 4BParameters: iHandshaking:1 ESC K command2 ACK code3 Paramet
Explanation:This command selects the order of image data.The position of the origin is not affected by the order.Command Reference 3-35
Using This Manual To get the most out of this manual, you should follow the stepsbelow:To understand EPSON scannersRead through the overview once, and
Image Definition Commands ESC L Set brightnessFormat: B2 B3 B4 B5 A5Command: ASCII: ESC L Decimal: 27 76Hexadecimal: 1B 4CParameter: iHandshaking
Parameter range:Default value: i = 00H (center)Command Reference 3-37
Explanation:This command sets the brightness level of the scanned image data.Seven values for i are available: 00H, 01H, 02H, 03H, FFH, FEH, andFDH.Th
ESC Z Set gamma correctionFormat: B2 B3 B4 B5 A5Command:ASCII: ESC ZDecimal: 27 90Hexadecimal: 1B 5AParameter: iHandshaking:1 ESC Z command2 ACK co
Explanation:This command specifies the gamma correction setting for the outputdevice.The gamma correction refers to the gamma correction table stored
Printer Output A (High density printers)This setting is appropriate for printing on high density printers, suchas 24-dot printers and laser printers.
ESC z Download gamma tableFormat: B4 B5 A5Command:ASCII: ESC zDecimal: 27 122Hexadecimal: 1B 7AParameter: i d (256 bytes)Handsha
Explanation:This command downloads a user-defined gamma correction table tothe scanner. This command is used when suitable gamma correction isnot prov
ESC Q Set sharpnessFormat: B4 B5 A5Command:ASCII: ESC QDecimal: 27 81Hexadecimal: 1B 51Parameter: iHandshaking:1 ESC Q command2 ACK code
Image Processing Commands ESC B Set halftoning modeFormat: B1 B2 B3 B4 B5 A5Command:ASCII: ESC BDecimal: 27 66Hexadecimal: 1B 42Parameter:
4 Introduction
Parameter range:i= 00H (0): Enable halftoning mode A (hard tone): B1 B2 B3 B4 B5 A5i= 10H (16): Enable halftoning mode B (soft tone): B2 B3 B4 B5 A5i=
Each halftoning mode has the following characteristics.Halftoning mode A (hard tone)The image is processed to produce hard tones, to express distincti
Halftoning mode C (net-screen) The image is processed so that it is represented similar to the netscreen used in newspaper printing. The gradations of
ESC B and other commandsThis command is not available if a value other than 01H (1 bit perpixel per color) and 02H (2 bits per pixel per color) is spe
ESC b Download dither patternFormat: B4 B5 A5Command: ASCII: ESC bDecimal: 27 98Hexadecimal: 1B 62Parameter: i j d(j2)Handshaking
Explanation:This command sets the threshold values for user-defined ditherpatterns. The patterns defined with this command can be selected bythe ESC B
ESC M Set color correctionFormat: B3 B4 B5Command: ASCII: ESC MDecimal: 27 77Hexadecimal: 1B 4DParameter: iHandshaking:1 ESC M co
This command is valid only when color line sequence reading or bytesequence is specified by the ESC C (Set color) command.The parameter 01H setting is
ESC m Download color correction Format: B4 B5Command: ASCII: ESC mDecimal: 27 109Hexadecimal: 1B 60Parameter: d1, d2, d3, d4, d5, d6, d7, d
Parameter range:-127 ≤ d1, d2, d3, d4, d5, d6, d7, d8, d9 ≤ 127Each data is a signed byte, and the data format is as follows.MSB LSB X X X
Chapter 1OverviewThis chapter provides a brief description of scanner operations andconcepts. The special features of EPSON brand scanners are alsoout
ESC s Set auto area segmentationFormat: A5Command: ASCII: ESC sDecimal: 27 115Hexadecimal: 1B 73Parameter: iHandshaking:1 ESC s comma
Auxiliary Commands ESC @ Initialize the scanner Format: B2 B3 B4 B5 A5Command: ASCII: ESC @Decimal: 27 64Hexadecimal: 1B 40Parameter: (none)Handsh
ESC d Set line counterFormat: B4 B5 A5Command: ASCII: ESC dDecimal: 27 100Hexadecimal: 1B 64Parameter: iHandshaking:1 ESC d c
Parameter i determines the number of image lines that are included inthe data block. The value specified must be greater than 0 and lessthan or equal
ESC g Set scanning modeFormat: B4 B5 A5Command: ASCII: ESC gDecimal: 27 103Hexadecimal: 1B 67Parameter: iHandshaking:1 ESC g comma
The high-speed mode is suitable when scanning bi-level originals,such as text and line art. When scanning continuous tone images, aswith 8-bit monochr
ESC e Control optionFormat: EXT*Command: ASCII: ESC eDecimal: 27 101Hexadecimal: 1B 65Parameter: iHandshaking:1 ESC e command2 ACK code3
Command Reference 3-63
FF Eject documentFormat: EXTCommand: ASCII: FFDecimal: 12Hexadecimal: 0CParameter: (none)Handshaking:1 FF code2 Data blockExplanat
Control Codes The following four codes are used to control handshaking and datatransfer between the computer and scanner. STX HeaderFormat:ASCII: STXD
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 in
CAN Abort scanningFormat:ASCII: CANDecimal: 24Hexadecimal: 18Explanation:This code aborts a scanning operation, and returns the scanner to
ACK Normal response (acknowledge)Format: B1 B2 B3 B4 B5 A5ASCII: ACKDecimal: 6Hexadecimal: 06Explanation:This code is used by both th
NAK Abnormal response (negative acknowledge)Format: B1 B2 B3 B4 B5 A5ASCII: NAKDecimal: 21Hexadecimal: 15Explanation:This code is used by t
Appendix AInterface SpecificationsAInterface Specifications A-1
Serial Interface Specifications Interface type: RS-232C(D) compatibleTransfer method: AsynchronousTransfer speed: Scanner model dependentData format:
Signal pin assignmentsIn this table, the direction of the signals is given relative to thescanner.Pin No. Signal I/O Description1 C.GND - Chassis grou
Parallel Interface Specifications Interface type: Bi-directional parallel interfaceData format: 8-bit parallelSynchronization: By external strobe puls
Signal pin assignmentsIn this table, the direction of the signals is given relative to thescanner.Pin No. Return pin Signal I/O Comment1 19 STROBE IN
18 - NC - Not used19−30 - NC - Twisted-pair return signalground level31 - INIT IN When this signal level goesLow, the scanner is reset toits power-up
Timing chartsThe figures below show the timing for the bi-directional parallelinterface.OUT (Scanner to computer)IN (Computer to scanner) timec
Main scanThe horizontal scanning directionSub scanThe vertical scanning directionBy combining the main scan and sub scan data, an entire page can beco
SCSI Interface Specifications Basic SpecificationAny item not included in this specification is in conformance withANSI Standard X3.131-1986.Functions
ID Switch SettingThe SCSI ID is set with the ID switch mounted on the back of thescanner.The ID switch numbers correspond to the available ID and can
Peripheral device type : 03H (processor): 00HRMB : 0B Device type qualifier : 00H: 00HISO version : 0HECMA version : 0HANSI version : 0HReserved : 00H
Message ListCode Type Message Direction00H M COMMAND COMPLETE IN01H−03H O Not Supported04H O DISCONNECT IN05H−06H O Not Supported07H O MESSAGE REJECT
Signal pin assignmentsIn this table, the direction of the signals is given relative to thescanner.Signal I/O 50 PinNo.25 PinNo.DescriptionGND 1−12 14−
SCSI Operation Procedure This section explains the operational procedures for the SCSI. For details concerning SCSI specifications for individualopera
vi When the unit attention condition is set, the Target sends CheckCondition status and then advances to item ix withoutexecuting the command.vii The
SCSI CommandsThe commands supported by EPSON scanners are explainedbelow.If the Link, Flag, and reserved bits of a command are a value otherthan 0, an
4. Send, ReceiveData is sent to and received from the scanner. With thiscommand, the transfer length and assigned length must be thesame as the actual
Sense DataThe extension sense data format is used for the sense datacreated when an error occurs. This format is described below.BitByte7 6 5 4 3 2 1
Reading colorBy illuminating the document with three lights, red (R), green (G),and blue (B), the scanner can analyze and separate a document’s threec
Information byte:This byte has meaning only when the Valid bit is set to 0 andindicates the difference between the transfer length orassigned length s
Initialization The scanner is initialized (returned to a fixed set of conditions) inseveral ways.Hardware initialization❏ When the power is turned on❏
A-20 Interface Specifications
Appendix BScanner Model Technical DataBScanner Model Technical Data B-1
GT-1000 Technical Data This appendix provides technical information that is relevant tosoftware control of the EPSON GT-1000 color image scanner. Forf
Software Functions and SettingsThe function level of the GT-1000 is B2. The table below lists thefunctions and settings that can be controlled with so
DIP Switch SettingThe GT-1000 has one bank of DIP switches on the control panel.The tables below show the function of each switch and the presetfactor
Gamma correction (ESC Z command)Setting SW 5 SW 6CRT Display A OFF OFFCRT Display B ON OFFPrinter Output A OFF ONPrinter Output C ON ONHalftoning mode
The Identity Data-BlockThe GT-1000 sends the following data-block when it receives theESC I (Request identity) command.Identity Data-BlockOrder ofbyte
The Condition Data-BlockThe GT-1000 sends the following data-block when it receives theESC S (Request condition) command.Condition Data-BlockOrder ofb
EPSON Scanner Features EPSON scanners feature the following special attributes.❏ A unified control code structureAll scanner features are controlled b
Order ofbytesData(in hex)Contents Explanation21 4C ‘‘L’’ Brightness22 xx i23 5A ‘‘Z’’ Gamma correction24 xx i25 48 ‘‘H’’ Zoom26 xx i1 (main scan zoom)
GT-4000 Technical Data This appendix provides technical information that is relevant tosoftware control of the EPSON GT-4000 color image scanner. Forf
Software Functions and SettingsThe function level of the GT-4000 is B3. The table below lists thefunctions and settings that can be controlled with so
Software DefaultsWith the DIP switches at the preset factory settings, the followingvalues are the default values on the GT-4000 when the power isturn
DIP Switch SettingThe GT-4000 has one bank of DIP switches on the control panel.The tables below show the function of each switch and the presetfactor
Printer type for direct printingPrinter type SW 1-7 SW 1-8EPSON 24-pin color printer OFF OFFNote: No other combination of SW 1-7 and SW 1-8 should be
Gamma correction (ESC Z command)Setting SW 2-3 SW 2-4 SW 2-5CRT Display A OFF OFF OFFCRT Display B ON OFF OFFPrinter Output A OFF ON OFFPrinter Output
The Identity Data-BlockThe GT-4000 sends the following data-block when it receives theESC I (Request identity) command.Identity Data-BlockOrder ofbyte
Order ofbytesData(in hex)Contents Explanation18 52 ‘‘R’’ Available resolution(120 dpi)19 78 12020 0021 52 ‘‘R’’ Available resolution(144 dpi)22 90 144
Order ofbytesData(in hex)Contents Explanation48 52 ‘‘R’’ Available resolution(400 dpi)49 90 40050 0151 41 ‘‘A’’ Maximum reading area at themaximum res
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, ortransmitted in any form or any means, electronic,
❏ Optional automatic document feederAn automatic document feeder can be mounted on the GT-8000(ES-800C), GT-6500 (ES-600C), GT-8500 (ES-1000C), orGT-9
Order ofbytesData(in hex)Contents Explanation9 xx n1 (main scan offset length)10 xx11 xx n2 (sub scan offset length)12 xx13 xx n3 (main scan read leng
GT-6000 (ES-300C) Technical Data This appendix provides technical information that is relevant tosoftware control of the EPSON GT-6000 color image sca
Software Functions and SettingsThe function level of the GT-6000 is B3. The table below lists thefunctions and settings that can be controlled with so
Software DefaultsWith the DIP switches at the preset factory settings, the followingvalues are the default values on the GT-6000 when the power isturn
DIP Switch SettingThe GT-6000 has one bank of DIP switches on the control panel.The tables below show the function of each switch and the presetfactor
Printer type for direct printingPrinter type SW 1-7 SW 1-8EPSON 24-pin color printer (80 col.) OFF OFFHP PaintJet color printer (parallel) ON OFFEPSON
Halftoning mode (ESC B command)Setting SW 2-1 SW 2-2Disabled OFF OFFHalftoning mode A ON OFFHalftoning mode B OFF ONHalftoning mode C ON ONGamma corre
The Identity Data-BlockThe GT-6000 sends the following data-block when it receives theESC I (Request identity) command.Identity Data-BlockOrder ofbyte
Order ofbytesData(in hex)Contents Explanation18 52 ‘‘R’’ Available resolution(100 dpi)19 64 10020 0021 52 ‘‘R’’ Available resolution(120 dpi)22 78 120
Order ofbytesData(in hex)Contents Explanation48 52 ‘‘R’’ Available resolution(360 dpi)49 68 36050 0151 52 ‘‘R’’ Available resolution(400 dpi)52 90 400
Control Code Construction Function levelThe EPSON image scanner control language currently has thefollowing function levels: B1 to B5 and A5. The rela
The Condition Data-BlockThe GT-6000 sends the following data-block when it receives theESC S (Request condition) command.Condition Data-BlockOrder ofb
Order ofbytesData(in hex)Contents Explanation21 4C ‘‘L’’ Brightness22 xx i23 5A ‘‘Z’’ Gamma correction24 xx i25 48 ‘‘H’’ Zoom26 xx i1 (main scan zoom)
GT-6500 (ES-600C) Technical Data This appendix provides technical information that is relevant tosoftware control of the EPSON GT-6500 color image sca
Error IndicationsThe error indications are different for the GT-6500 and theES-600C. Both versions are listed below.GT-6500Scanner errors are displaye
Software Functions and SettingsThe function level of the GT-6500 is B4. The table below lists thefunctions and settings that can be controlled with so
Software DefaultsWith the DIP switches at the preset factory settings, the followingvalues are the default values on the GT-6500 when the power isturn
DIP Switch SettingThe DIP switch settings are different for the GT-6500 andES-600C. Both versions are listed below.GT-6500The GT-6500 has two banks of
Baud rate settingsSetting SW 1-1 SW 1-2 SW 1-319200 bps OFF OFF OFF9600 bps ON OFF OFF4800 bps OFF ON OFF2400 bps ON ON OFF1200 bps OFF OFF ON600 bps
DIP switch 2 settingsSwitch No. Function ON OFFSW 2-1 Halftoning mode See tableSW 2-2SW 2-3 Gamma correction See tableSW 2-4SW 2-5SW 2-6 Color correct
ES-600CThe ES-600C has one bank of DIP switches on the front of thescanner. The table below shows the function of each switch andthe preset factory se
Computers and Handshaking Scanners are connected to their host computers by some kind ofinterface. Since a scanner sends data to the computer, the int
The Identity Data-BlockThe GT-6500 sends the following data-block when it receives theESC I (Request identity) command.Identity Data-BlockOrder ofbyte
Order ofbytesData(in hex)Contents Explanation18 52 ‘‘R’’ Available resolution(90 dpi)19 5A 9020 0021 52 ‘‘R’’ Available resolution(100 dpi)22 64 10023
Order ofbytesData(in hex)Contents Explanation48 52 ‘‘R’’ Available resolution(216 dpi)49 D8 21650 0051 52 ‘‘R’’ Available resolution(240 dpi)52 F0 240
The Condition Data-BlockThe GT-6500 sends the following data-block when it receives theESC S (Request condition) command.Condition Data-BlockOrder ofb
Order ofbytesData(in hex)Contents Explanation21 4C ‘‘L’’ Brightness22 xx i23 5A ‘‘Z’’ Gamma correction24 xx i25 48 ‘‘H’’ Zoom26 xx i1 (main scan zoom)
GT-8000 (ES-800C) Technical Data This appendix provides technical information that is relevant tosoftware control of the EPSON GT-8000 color image sca
Software Functions and SettingsThe function level of the GT-8000 is B4. The table below lists thefunctions and settings that can be controlled with so
Software DefaultsThe following values are the default values on the GT-8000 whenthe power is turned on.Function Command Default valueData format ESC D
The Identity Data-BlockThe GT-8000 sends the following data-block when it receives theESC I (Request identity) command.Identity Data-BlockOrder ofbyte
Order ofbytesData(in hex)Contents Explanation21 52 ‘‘R’’ Available resolution(100 dpi)22 64 10023 0024 52 ‘‘R’’ Available resolution(120 dpi)25 78 120
Image Data The manner in which an image is converted into data and the way thedata is sent to the computer is predetermined. The following sectionsdes
Order ofbytesData(in hex)Contents Explanation51 52 ‘‘R’’ Available resolution(240 dpi)52 F0 24053 0054 52 ‘‘R’’ Available resolution(300 dpi)55 2C 300
The Condition Data-BlockThe GT-8000 sends the following data-block when it receives theESC S (Request condition) command.Condition Data-BlockOrder ofb
Order ofbytesData(in hex)Contents Explanation21 4C ‘‘L’’ Brightness22 xx i23 5A ‘‘Z’’ Gamma correction24 xx i25 48 ‘‘H’’ Zoom26 xx i1 (main scan zoom)
GT-8500 (ES-1000C) Technical DataThis appendix provides technical information that is relevant tosoftware control of the EPSON GT-8500 color image sca
Software Functions and SettingsThe function level of the GT-8500 is B5. The table below lists thefunctions and settings that can be controlled with so
Software DefaultsThe following values are the default values on the GT-8500 whenthe power is turned on.Function Command Default valueData format ESC D
The Identity Data-BlockThe GT-8500 sends the following data-block when it receives theESC I (Request identity) command.Identity Data-BlockOrder ofbyte
Order ofbytesData(in hex)Contents Explanation21 52 ‘‘R’’ Available resolution(100 dpi)22 64 10023 0024 52 ‘‘R’’ Available resolution(120 dpi)25 78 120
Order ofbytesData(in hex)Contents Explanation51 52 ‘‘R’’ Available resolution(240 dpi)52 F0 24053 0054 52 ‘‘R’’ Available resolution(300 dpi)55 2C 300
Order ofbytesData(in hex)Contents Explanation81 52 ‘‘R’’ Available resolution(1600 dpi)82 40 160083 0684 41 ‘‘A’’ Maximum reading area at themaximum r
As you increase the amount of data, you dramatically increase thenumber of minute differences in color you can represent.Bits per pixel Monochrome sha
Order ofbytesData(in hex)Contents Explanation8 41 ‘‘A’’ Reading area(main scan offset length)(sub scan offset length)(main scan read length)(sub scan
Order ofbytesData(in hex)Contents Explanation34 4B ‘‘K’’ Data order35 xx i*(xx denotes a variable)Scanner Model Technical Data B-59
GT-9000 (ES-1200C) Technical Data This appendix provides technical information that is relevant tosoftware control of the EPSON GT-9000 color image sc
Software Functions and SettingsThe function level of the GT-9000 is B4. The table below showsthe list of the functions and settings that can be contro
Software DefaultsThe following are the default values of the GT-9000 at power on.Function Command Default valueData format ESC D i=01H (1 bit/pixel/co
The Identity Data-BlockThe GT-9000 sends the following data-block when it receives theESC I (Request identity) command.Identity Data-BlockOrder ofbyte
Order ofbytesData(in hex)Contents Explanation21 52 ‘‘R’’ Available resolution(100 dpi)22 64 10023 0024 52 ‘‘R’’ Available resolution(120 dpi)25 78 120
Order ofbytesData(in hex)Contents Explanation51 52 ‘‘R’’ Available resolution(240 dpi)52 F0 24053 0054 52 ‘‘R’’ Available resolution(300 dpi)55 2C 300
Order ofbytesData(in hex)Contents Explanation81 52 ‘‘R’’ Available resolution(1600 dpi)82 40 160083 0684 52 ‘‘R’’ Available resolution(1800 dpi)85 08
The Condition Data-BlockThe GT-9000 sends the following data-block when it receives theESC S (Request condition) command.Condition Data-BlockOrder ofb
Line data transferThe scanner reads one horizontal line of data (main scan) and sends itto the computer. After the computer confirms it has received t
Order ofbytesData(in hex)Contents Explanation21 4C ‘‘L’’ Brightness22 xx i23 5A ‘‘Z’’ Gamma correction24 xx i25 48 ‘‘H’’ Zoom26 xx i1 (main scan zoom)
GT-5000 (Action Scanner II) Technical Data This appendix provides technical information that is relevant tosoftware control of the EPSON GT-5000 color
Software Functions and SettingsThe function level of the GT-5000 is B5. The table below lists thefunctions and settings that can be controlled with so
Software DefaultsThe following are the default values of the GT-5000 at power on.Function Command Default valueData format ESC D i=01H (1 bit/pixel/co
The Identity Data-BlockThe GT-5000 sends the following data-block when it receives theESC I (Request identity) command.Identity Data-BlockOrder ofbyte
Order ofbytesData(in hex)Contents Explanation21 52 ‘‘R’’ Available resolution(100 dpi)22 64 10023 0024 52 ‘‘R’’ Available resolution(120 dpi)25 78 120
Order ofbytesData(in hex)Contents Explanation51 52 ‘‘R’’ Available resolution(240 dpi)52 F0 24053 0054 52 ‘‘R’’ Available resolution(300 dpi)55 2C 300
Order ofbytesData(in hex)Contents Explanation81 52 ‘‘R’’ Available resolution(1200 dpi)82 B0 120083 0484 41 ‘‘A’’ Maximum reading area at themaximum r
Order ofbytesData(in hex)Contents Explanation8 41 ‘‘A’’ Reading area(main scan offset length)(sub scan offset length)(main scan read length)(sub scan
Order ofbytesData(in hex)Contents Explanation34 4B ‘‘K’’ Data order35 xx i*(xx denotes a variable)Scanner Model Technical Data B-77
Block data transferLine data transfer sends the data to the computer line by line.However, block data transfer sends multiple lines of data to thecomp
GT-300 (ES-300GS) Technical Data This appendix provides technical information that is relevant tosoftware control of the EPSON GT-300 document scanner
Software Functions and SettingsThe function level of the GT-300 is A5. The table below lists thefunctions and settings that can be controlled with sof
Software DefaultsThe following values are the default values on the GT-300 whenthe power is turned on.Function Command Default valueData format ESC D
The Identity Data-BlockThe GT-300 sends the following data-block when it receives theESC I (Request identity) command.Identity Data-BlockOrder ofbytes
Order ofbytesData(in hex)Contents Explanation21 52 ‘‘R’’ Available resolution(100 dpi)22 64 10023 0024 52 ‘‘R’’ Available resolution(120 dpi)25 78 120
Order ofbytesData(in hex)Contents Explanation51 52 ‘‘R’’ Available resolution(240 dpi)52 F0 24053 0054 52 ‘‘R’’ Available resolution(300 dpi)55 2C 300
Condition Data-BlockOrder ofbytesData(in hex)Contents Explanation(Information block)1 02 STX code Header: indicates the beginning ofthe data-block2 xx
Order ofbytesData(in hex)Contents Explanation26 xx i1 (main scan zoom)27 xx 12 (sub scan zoom)30 51 ‘‘Q’’ Sharpness31 xx i32 67 ‘‘g’’ Scanning mode33
B-86 Scanner Model Technical Data
Functions EPSON scanners feature a number of various functions. A briefoverview of these functions is provided below. For more detailedexplanations, s
Gamma correctionGamma correction is a function that adjusts the light intensity so itmatches the output device.Although an image may display clearly o
HalftoningHalftoning adjusts the shade and color of each pixel according to theshade and color of the surrounding pixels. Setting halftoning to larger
PrefaceThis manual was designed to be a comprehensive guide toprogramming EPSON scanners using the advanced ESC/I controllanguage. It was written with
Data form definitionData formatThe data format function determines how many bits are used torepresent one pixel. Increasing the bits increases the num
ResolutionThe resolution determines how detailed a scan is. The resolution isnormally defined as the number of dots scanned per inch. The units ofreso
ZoomThe zoom function causes an image scanned at the same resolution asthe output device to be output at a greater size than the original. Thezoom fun
Scanning areaThe maximum scannable area for each scanner is determined by thephysical dimensions of the document table. You can also usecommands to te
Color settingSetting the color determines the method used for scanning.If you select monochrome scanning, you can specify either red (R),green (G), or
Image processingHalftoningFor documents with many shade gradations (like a photograph) infull-color mode (24-bit data), you can faithfully reproduce t
Halftone mode C NoneDither mode A Dither mode BDither mode C Dither mode D1-22 Overview
Color correctionColors expressed on different types of color output devices varyslightly depending on each device’s characteristics. The colorcorrecti
Scanning multiple shade documents for bi-level outputdevices capable of black and white onlyWhen you scan multiple shade documents and output them to
Chapter 2Command Usage2Command Usage 2-1
iv
Execution Commands Execution commands tell the scanner to send back data to thecomputer.Use execution commands to begin image data transfer from thesc
2. Request ID (ESC I)When the scanner receives this command, it relays the scanner IDinformation to the computer in the following order.Scanner comman
5. Request condition (ESC S)This command causes the scanner to send a data block to thecomputer that contains the current values of the settings for a
Data Form Commands Data form commands regulate the amount of image data sent to thecomputer (as determined by the setting for scanning color, resoluti
For example, if you specify 8 bits per pixel for each color, the scannerproduces 8 bits of data per pixel per color. This requires eight timesthe data
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)
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. Y
Image Setting Commands Image setting commands are commands that tell the scanner whatkinds of image processing to perform on the image data. Brightnes
2. Set gamma correction (ESC Z)This command adjusts the scanned data according to the type ofoutput device you plan to use.The gamma correction settin
CRT Display BThis setting is suitable for 256-color displays and other displays thatare capable of showing multiple color levels. On these types ofdis
ContentsIntroductionManual Construction . . . . . . . . . . . . . . . . . . . . . . . . . 1-2Overview . . . . . . .
3. Download gamma table (ESC z)Using this command, you can select the table used for gammacorrection. You can specify the type of output adjustment pr
Image Processing Commands Image processing commands are used to modify scanned data beforesending it to the computer. Two commands are available: half
❏ Dither mode BProcesses data using a 4×4 spiral pattern❏ Dither mode C Processes data using a 4×4 screen pattern❏ Dither mode D Processes data using
ESC B and other commandsThe scanner ignores the image processing you select with the ESC Bcommand if you have already selected 3 bits/color/pixel or h
To determine the data for a typical spiral dither pattern like the oneshown in figure a, multiply the threshold value by 16 and add 8; theresults are
❏ CRT displays Use for color CRT displays❏ User defined settingUse for your customized output.❏ No color correctionESC M and other commandsThe ESC M c
Auxiliary Commands Auxiliary commands are provided for physical operation of thescanner. These commands include the reset command and optionoperation
3. Set the line counter (ESC d)Sending this command causes the scanner to send data in blockformat. If you don’t send this command at the beginning of
4. Control option (ESC e)This command is effective only when an option has been installed onthe scanner. If you send these commands when no option is
2. Abort scanning (CAN)Usually you send an ESC G command to start scanning and, after thescanner sends a data block, the computer responds with an ACK
Using Scanner Features . . . . . . . . . . . . . . . . . . . . . . . . . 1-23Scanning multiple shade documents foroutput on
Command Order By using the Request ID (ESC I) command, you can determine thescanner model. This allows you to create software that sends only thecomma
3. Maximum scannable areaThis value is expressed in units of dots (main scan × sub scan), basedon the maximum scannable area available when the scanne
Recommended command orderSend commands in the following order to control the scannerproperly. Make sure to send the ESC R, ESC H, ESC A, and ESC Gcomm
5. Following the order on the previous page, send the command to setthe scanning area and send any other commands necessary toprepare for scanning. Fo
Data Block Transfer Order The computer sends commands and parameters to the scanner in 8-bitcode format. The scanner sends data to the computer in gro
Block data structureBlock data consists of a 6-byte information block followed by n linesof image data (n is the value of the line counter in the info
Status byteThis byte indicates the color of the image data or the state of thescanner. Each bit in the Status byte has a different meaning, as shownin
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 c
DataThis is the data block following the information block. The type ofdata in the data block depends on the type of information requested bythe compu
The scanner function levelThe available resolutionsThe maximum scannable areaThe basic format of this data is as follows:The first two bytes show the
Auxiliary Commands . . . . . . . . . . . . . . . . . . . . . . . . . 2-181. Initialize the scanner (ESC @) . . . . .
Scanner state dataThis 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
Image dataMonochrome, color line, and color byte scanningUse when sending monochrome and color line scanning data or colorbyte scanning data. This inc
Color page scanningUse when sending color page data.2-34 Command Usage
Single data blocksUse when you expect single data blocks in response to the ESC I(Request ID) command, the ESC S (Request condition) command, theESC F
Resolution, zoom, and maximum scannable areaThe ID information provides you the following values.RMAX (in dpi) : The maximum scannable area availableX
The main scan reading length (n3) must always be set in exactmultiples of eight (8-dot units equal units of 1 byte). The main scanskip length (n1), su
Setting the scanning areaUse the ESC R, ESC H, and ESC A commands to set the scanningarea. The diagram below shows the relationship between the ESC R,
n1 = INT LX1 × RX × HX100n2 = INT LY1 × RY × HY100n3 = 8 × INT LX2 × RX × HX100 × 18n4 = INT LY2 × RY × HY100n1 + n3 ≤ INT maximum m
Image trimming (1)This section explains how to trim a rough image, and how to use theESC R, ESC H, and ESC A commands to rescan at the sameresolution
Determining setting values after trimmingAfter trimming an image, you should resend the ESC A commandusing the following parameters.N1 = INT n1 × R
Chapter 3 Command ReferenceSummary of the Scanner Commands . . . . . . . . . . . . . . . . . . 3-2Format of the Command Referenc
Image trimming (2)This section explains how to use the ESC R, ESC H, and ESC Acommands to print a trimmed image on your printer.Rough scanned image Pr
Determining the setting values for printingBased on the size of the image you plan to print and on the resolutionof the printer, use the following for
Error Processing EPSON scanners have four types of potential errors: command errors,communications errors, system errors, and option errors. An option
The communications (interface) settings are incorrect.Scanner’s response:The lamps turn off and the scanner stops moving.The scanner stops accepting c
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:
Function Level and Commands Each function level builds on the previous level, so all commands andparameters in previous levels are included in higher
Commands and function level tableThe following table shows which commands are available at eachfunction level.Command type Command name Command Funct
Function level and commandsThe commands added at each function level are listed in the tablebelow.Function level CommandB1 ESC G (Start scanning)ESC I
Items not affected by function levelAlthough higher command levels include all the previous commandsof lower command levels, the parameters for comman
Typical Programming Errors and Solutions This section lists several concrete examples of programming errors,their causes, and sample solutions to thes
Appendix B Scanner Model Technical DataGT-1000 Technical Data . . . . . . . . . . . . . . . . . . . . . . . B-2Physical Ch
Problem:When connecting a different scanner model in your SCSI daisychain, an error message such as the following appears; ‘‘TheEPSON scanner is not c
Problem:After connecting a scanner with a higher function level than theprevious scanner, the new scanner does not operate properly.CauseAlthough you
Problem:The scanner scans properly when you use a bi-directionalparallel interface, but when you switch to SCSI, the scanner nolonger operates properl
Problem:When connecting a different scanner model, a time-out occurs on your computer and you can no longer scan.CauseThe time required for the initia
General❏ Always reset the scanner at the beginning and end of yourprograms❏ Use the ESC @ command to reset the scanner. This allows you touse the same
Chapter 3Command Reference3Command Reference 3-1
Summary of the Scanner Commands Five types of scanner commands are used with EPSON scanners. Inaddition, four control codes are used for handshaking.
Image definition commandsSet conditions for image reading with these commands.Set brightness ESC LSet gamma correction ESC ZDownload gamma table ESC z
Format of the Command Reference The command explanations in this chapter are each divided into sixparts. The command explanations are given in the seq
HandshakingShows a diagram indicating the handshaking method used with thecommand. See Chapter 2 for details on handshaking.Parameter rangeShows the r
Comentários a estes Manuais