Resolution, zoom, and maximum scannable area
The ID information provides you the following values.
RMAX (in dpi) : The maximum scannable area available
XMAX (in dots) : The maximum main scan value (at the maximum resolution, 100% zoom)
YMAX (in dots) : The maximum sub scan value (at the maximum resolution, 100% zoom)
Based on these values, you can calculate the maximum scannable area for various resolution and zoom settings according to the following formulas.
Main scan (in dots)
⎛XMAX |
| RX × HX ⎞ | |||
nx = INT ⎜ |
| × |
|
| ⎟ |
| 100 |
| |||
⎝RMAX |
|
| ⎠ | ||
Sub scan |
|
|
|
| |
⎛YMAX |
| RY × HY ⎞ | |||
ny = INT ⎜ |
| × |
| ⎟ | |
| 100 | ||||
⎝RMAX |
| ⎠ |
Based on these values, the limits of the parameters for the ESC A command are as follows:
n1 (main scan skip length ) : 0 ≤ n1 ≤ nx − 8 |
|
| |||
n2 (sub scan skip length ) : 0 ≤ n2 ≤ ny − 1 |
|
| |||
|
| ⎛nx − n1 | ⎞ | ||
n3 | (main scan reading length ) : 8 ≤ n3 ≤ 8 × INT ⎜ |
| ⎟ | ||
8 | |||||
|
| ⎝ | ⎠ | ||
n4 | (sub scan reading length ) : 1 ≤ n4 ≤ ny − n2 |
|
| ||
n1 | + n3 | ≤ nx |
|
| |
n2 | + n4 | ≤ ny |
|
|
Note:
The limits of the n3 parameter depend on your scanner model. See your scanner’s manual for details.