4-36
(c) Window identifier: Byte 0
Specifies a unique value that identifies a window. The value may be 0 to
255.
If two or more
window
identifiers are specified for a single set of window data, the most recently specified identifier is validated
This scanner allows only one window to be set Therefore, only 0 may be specified in this field. II other
than 0 is specified, this scanner returns the following error:
•
Status: B~0000l' (CHECK CONDITION)
•
Sense key:
X'5'
(ILLEGAL REQUEST)
(d)
Auto: Byte 1
This scanner does not support auto. If a value other than 0 is specified, this scanner returns the foIl error:
•
Status: B'0000l' (CHECK CONDITION)
•
Sense key:
X'5'
(ILLEGAL REQUEST)
(e) X, Y resolution (XR, YR): Bytes 2 to 3 and 4 to 5
Specified here are the resolutions in the horizontal (X) and vertical (Y) scanning directions, in pixels per
inch. If 0 is specified, the default value (300 dpi) is assumed. The acceptable resolution value is as
60, 75, 80, 100, 120, 150, 200, 240, 300, 600. If a value is specified that does not comply with these
conditions, this scanner returns the following error:
•
Status: B'0000l' (CHECK CONDITION)
•
Sense key: X'5' (ILLEGAL REQUEST)
(f) Upper left X,Y(ULX, ULY): Bytes 6 to 9, A to D
Specified here are the X and Y coordinates of the upper-left comer of the window. The coordinates
expressed in units of 1/1200 inches relative to the upper-left comer of the maximum scan area. If the ULX
or ULY value is outside the maximum scan area of this scanner, this scanner returns the following error:
•
Status: B'00001'(CHECK CONDITION)
•
Sense key: X'5' (ILLEGAL REQUEST)
(g) Width, length (W, L): Bytes E to 11, 12 to 15
Specifies here are the width and length of the window, in units of 1/1200 inches. If the W or L value
outside the maximum scan area of this scanner; the following error is returned:
•
Status: B'0000l' (CHECK CONDITION)
•
Sense key: X'5' (ILLEGAL REQUEST)
The same error is also returned if this scanner is set to less than one raster line for vertical scanning less
than two bytes for horizontal scanning.
Notes:
1.
ULX, ULY, W, L versus maximum scan area:
0< (ULX + W) 10200 (in 1/1200 inches)
0< (ULY + L) 13937 (in 1/1200 inches) for flatbed scan
0< (ULY + L) - 16800 (in 1/1200 inches) for ADF scan
2.
Conditions for horizontal scanning:
9< {XR x W/1200] 5100