3. Set the line counter (ESC d)
Sending this command causes the scanner to send data in block
format. If you don’t send this command at the beginning of each job,
the scanner defaults to line mode and sends data after each line is
scanned.
You can set the parameter in this command from 1 to 255 lines. This
tells the scanner how many lines to send to the computer at a time. In
other words, setting the parameter to 10 results in the printer sending
scanned data in blocks 10-lines long. During line mode, the scanner
confirms that the computer receives each line of data after it is sent.
By sending data in blocks of multiple lines, you can save the time
required for line-by-line confirmation.
Setting the line counter with this command does not necessarily mean
the final data block will include that exact number of lines. Make sure
your program always checks the line counter value included in each
data block when receiving data. For example, if the value X is the
number of total lines you are scanning, the number of lines in the final
data block would be MOD[
X
⁄
i
]. The operator MOD indicates the
remainder of the division operation.
ESC d and other commands
If you select color line scanning with the ESC C command, you must
select a parameter for the ESC d command that is a multiple of 3.
Command Usage
2-19
Содержание EMP-TW 1000
Страница 4: ...iv ...
Страница 11: ...Introduction Introduction 1 ...
Страница 14: ...4 Introduction ...
Страница 36: ...Halftone mode C None Dither mode A Dither mode B Dither mode C Dither mode D 1 22 Overview ...
Страница 39: ...Chapter 2 Command Usage 2 Command Usage 2 1 ...
Страница 72: ...Color page scanning Use when sending color page data 2 34 Command Usage ...
Страница 95: ...Chapter 3 Command Reference 3 Command Reference 3 1 ...
Страница 118: ... Upper bits beginning with the MSB are valid Lower bits not in use are fixed to 0 3 24 Command Reference ...
Страница 131: ...Parameter range Default value i 00H center Command Reference 3 37 ...
Страница 157: ...Command Reference 3 63 ...
Страница 163: ...Appendix A Interface Specifications A Interface Specifications A 1 ...
Страница 182: ...A 20 Interface Specifications ...
Страница 183: ...Appendix B Scanner Model Technical Data B Scanner Model Technical Data B 1 ...
Страница 268: ...B 86 Scanner Model Technical Data ...