Epson GT-6500 EN User Manual

Page 62

Advertising
background image

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 correction
ESC Q Set sharpness
ESC g Set the scanning mode
ESC K Set data order
ESC R Set resolution
ESC H Set zoom
ESC A Set scanning area
ESC d Set line counter
ESC G Start scanning

Using commands when options are installed

With scanners that are capable of using options, your programs should
always check the flag in the status byte to determine if options are
installed. Then use the following steps to operate the scanner.

1.

Use the ESC I (Request ID) command to obtain the scanner’s ID
information. This information includes the scanner’s function
level, the scan resolutions available, and the maximum scannable
area.

2.

Check bit 4 in the ID information status byte. If the bit is not set to
1, no option is installed and option use should be discontinued.

3.

Send the ESC f (Request extended status) command to determine
the option’s maximum scannable area.

4.

Send the ESC e (Control option) command and enable the option.

2-24

Command Usage

Advertising
This manual is related to the following products: