Condition
Order of | Data | Contents | Explanation |
bytes | (in hex) |
|
|
|
|
|
|
(Information block) |
|
| |
|
|
|
|
1 | 02 | STX code | Header: indicates the beginning of |
|
|
| the |
|
|
|
|
2 | xx* | Status | Status byte: indicates the status of |
|
|
| the scanner |
|
|
|
|
3 | 23 | 35 Bytes | Byte counter: indicates the number |
|
|
| of bytes of data |
4 | 00 |
| |
|
| ||
|
|
|
|
(Data) |
|
|
|
|
|
|
|
1 | 43 | ‘‘C’’ | Color mode |
|
|
|
|
2 | xx | 0 |
|
|
|
|
|
3 | 52 | ‘‘R’’ | Resolution |
|
|
|
|
4 | xx | n1 | (main scan resolution) |
|
|
|
|
5 | xx |
|
|
|
|
|
|
6 | xx | n2 | (sub scan resolution) |
|
|
|
|
7 | xx |
|
|
|
|
|
|
8 | 41 | ‘‘A’’ | Reading area |
|
|
|
|
9 | xx | n1 | (main scan offset length) |
|
|
| |
10 | xx |
| |
|
| ||
|
|
|
|
11 | xx | n2 | (sub scan offset length) |
|
|
| |
12 | xx |
| |
|
| ||
|
|
|
|
13 | xx | n3 | (main scan read length) |
|
|
| |
14 | xx |
| |
|
| ||
|
|
|
|
15 | xx | n4 | (sub scan read length) |
|
|
| |
16 | xx |
| |
|
| ||
|
|
|
|
17 | 44 | ‘‘D’’ | Data format |
|
|
|
|
18 | xx | i |
|
|
|
|
|
19 | 42 | ‘‘B’’ | Halftoning mode |
|
|
|
|
20 | xx | i |
|
|
|
|
|
21 | 4C | ‘‘L’’ | Brightness |
|
|
|
|
22 | xx | i |
|
|
|
|
|
23 | 5A | ‘‘Z’’ | Gamma correction |
|
|
|
|
24 | xx | i |
|
|
|
|
|
25 | 48 | ‘‘H’’ | Zoom |
|
|
|
|