6.3Command

Commands sent from the host machine to the scanner are as listed in Table 6.2.

Table 6.2 Commands

Command name

Command

Details

 

code

 

 

 

 

CLEAR

44

This command initializes the scanner.

 

 

This command can be issued at any time.

 

 

 

CONTROL

58

This command sets the operation mode of

 

 

the scanner and the operation mode in the

 

 

main window.

 

 

 

IMAGE

5A

This command sets the image processing

CONTROL

 

mode of the scanner.

 

 

 

SUB WINDOW

5C

This command sets the subwindow

CONTROL

 

attribute of the scanner.

 

 

 

START

53

This command reports the size of a

 

 

document to be read.

 

 

 

READ

54

This command starts reading. The

 

 

scanner starts reading according to the

 

 

operation mode set previously.

 

 

 

SENSE

41

This command requests a scanner status

 

 

report.

 

 

 

RETURN

42

This command requests a status report on

SENSE

 

the return of the flatbed scan.

 

 

 

IMAGE MODE

43

This command requests a status report of

SENSE

 

the image processing mode of each main

 

 

window and the number of pixels (in units

 

 

of a byte) per line in the X>direction.

 

 

 

SEND DITHER

46

This command transfers the dither and

 

 

overlay patterns.

 

 

 

SEND DITHER2

47

This command transfers the dither, d

 

 

curve, or overlay patterns.

 

 

 

6

$ 4

50FH5037E>02