Scanner Interface

 

7

6

 

 

5

4

3

2

1

0

 

 

Byte 0

 

 

 

 

 

 

 

 

 

Operation code X’28’

 

 

 

 

 

 

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Logical unit number

 

 

 

(Reserved)

 

 

RelAdr

 

2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Data type code

 

 

 

 

 

 

 

3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(Reserved)

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(MSB)

 

Data type qualifier

 

 

 

 

 

 

 

5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(LSB)

6(MSB)

7

 

 

Transfer length

 

 

 

 

8

 

 

(LSB)

9

 

 

 

 

 

 

 

Control byte

 

 

 

 

 

 

 

a.Data type code: Byte 2

Specifies the type of data to be transferred between the initiator and target. This scanner supports X’00’ (image data), X’80’ (pixel size), and X’81’ (detected paper information) only. If any other value is specified, this scanner returns the following error information:

Status:

B’00001’ (CHECK CONDITION)

Sense key: X’5’ (ILLEGAL REQUEST)

b.Data type qualifier: Bytes 4 to 5

This scanner requires specifying byte 4 = X’00’ and byte 5 = window identifier. If the window identifier specified in byte 5 has not been declared by the SET WINDOW command, this scanner returns the following error information:

Status:

B’00001’ (CHECK CONDITION)

Sense key: X’5’ (ILLEGAL REQUEST)

Note:

When window identifier is 0, window is front-side of the document.

When window identifier is 128, window is back-side of the document.

c.Transfer length (TL) : Bytes 6 to 8

Specifies the bytes of storage area that the initiator has allocated for the data to be transferred.

If TL = 0, no data is transferred. This is not assumed an error.

The target does not transfer more data than that which is indicated by TL.

Appendix A-88