6.25 Transfer Raster image “ESC i r c b nL nH mL mH d1......dk” |
|
|
| ||||||||
Format: | ESC | I | r | c | b | nL | nH | mL | mH | d1 | d2…dk |
ASCII | |||||||||||
Hex | 1B | 69 | r | c | b | nL | nH | mL | mH | d1 | d2…dk |
Decimal | 27 | 105 r | c | b | nL | nH | mL | mH | d1 | d2…dk |
Range of Values for Parameters:
r = 00H, 01H, 02H, 04H c = 00H, 01H
b = 01H, 02H
0000H <= ( nH*256 + nL ) <= 7FFFH
0001H <= ( mH*256 + mL ) <= 7FFFH
Function:
1)Prints dot graphics in raster format.
2)Parameters are used as described below:
r : | color of image ( 00H:black, 01H:magenta, 02H:cyan, 04H:yellow ) | |
c : | compress method ( 00H:noncompressed, 01H:Run Length | |
| Encoding ) | |
b : | bit length of each pixel ( 01H:1bit/pixel (for Micro, Normalx1, | |
| Normalx2, Normalx4 dot) | |
nL, nH: Horizontal byte count, according to the following formula: | ||
nH | = INT( horizontal byte count / 256 ) | |
| = INT( ( ( horizontal dot count ) * ( bit lenght of each pixel ) + 7 ) / | |
| 8 ) /256 | |
nL | = MOD(horizontal byte count / 256 ) | |
| = MOD( ( ( horizontal dot count ) * ( bit lenght of each pixel ) + 7 | |
| ) / 8 ) /256 | |
mL, mH: | Vertical dot count ( rows of dot graphics ), according to the | |
| following formula: | |
mH = INT(vertical dot count / 256 ) | ||
mL = MOD(vertical dot count / 256 ) | ||
k : | Total numbers of data bytes, accoriding to the following formula: |
k = ( nH*256 + nL ) * ( mH*256 + mL )
Initial State: -
EPSON Imaging Technology Center | Page: 50 |
Revision: 1 | 10/6/00 |