FENIX IMVICO EPC1100 OPERATION MANUAL
26/37
________________________________________________________________
ESC + ‘V’ + nl + nh + Image Data BIT IMAGE SPECIFY
________________________________________________________________
Decimal codes:
<27><86><nl><nh><Image Data>
Hexadecimal codes:
<1B><56><nl><nh><Image Data>
Function: Prints bit image.
nl,nh : number of dot lines in vertical direction.
nl represents the least significant byte and nh represents the most
significant byte.
Number of dot lines = nh x 256+nl
0<=nlnh<=FFFFH(65535)
Ignored when nl=nh=0
Operation: Enter the image data following nl and nh. Since data for one dot line is 48
bytes, the amount of image data is as follows:
Amount of image data =(nl)x48 bytes
The data following nl and nh is printed out entirely as image data.
A bitmap picture may be considered like a bidimensional array of bits. Each bit
corresponds to a graphic dot (called “pixel”) of the image. If bit is at logical state ‘1’
pixel is not printed. If bit is at logical state ‘0’ pixel is printed.
Because of memory configuration, bits are grouped in bytes of 8 bits each one.
However, pixels in the image are grouped in bytes, too.
byte 1
byte 2
byte 3
byte 4
byte 5
byte 6
byte 7
byte 8
*
*
*
*
*
*
*
*
*
*
*
*
*
* * *
‘ ’ = bit at logical ‘1’
‘*‘ = bit at logical ‘0’
bit 0 ...
... bit
Fig. 5.2 - Example of bitmap graphic
Picture is then represented by an array of bytes, each byte having 8 horizontal pixels
(bits) of the image. Bytes are grouped in graphics rows. Each row in printer
mechanism contains :
48 bytes x 8 bits = 384 pixels in a row