HP PCL/PJL reference (PCL 5 Color) - Technical Reference Manual
EN Raster Graphics 6-39
8 Specify the raster compression mode:
9 Transfer the raster data to the printer:
10 Signify the end of the raster image transfer:
?*b0M No compression (unencoded).
Divide the image into dot rows and transfer each dot row to the
printer as a string of bytes, as illustrated on the following page.
?*rC This example prints the arrow as shown in
Figure 6-7.
Example of Raster Graphic Image Data
Raster Image Data Command Data
Dot
Row byte 1 byte 2 byte 3 byte 4 Decimal Equivalent
1 00000000 00000000 10000000 00000000
?*b4W[ 0, 0,128, 0]
2 00000000 00000000 11000000 00000000
?*b4W[ 0, 0,192, 0]
3 00000000 00000000 11100000 00000000
?*b4W[ 0, 0,224, 0]
4 00000000 00000000 11110000 00000000
?*b4W[ 0, 0,240, 0]
5 00000000 00000000 11111000 00000000
?*b4W[ 0, 0,248, 0]
6 00000000 00000000 11111100 00000000
?*b4W[ 0, 0,252, 0]
7 00000000 00000000 11111110 00000000
?*b4W[ 0, 0,254, 0]
8 00000000 00000000 11111111 00000000
?*b4W[ 0, 0,255, 0]
9 00000000 00000000 11111111 10000000
?*b4W[ 0, 0,255,128]
10 11111111 11111111 11111111 11000000
?*b4W[255,255,255,192]
11 11111111 11111111 11111111 11100000
?*b4W[255,255,255,224]
12 11111111 11111111 11111111 11110000
?*b4W[255,255,255,240]
13 11111111 11111111 11111111 11111000
?*b4W[255,255,255,248]
14 11111111 11111111 11111111 11111100
?*b4W[255,255,255,252]
15 11111111 11111111 11111111 11111110
?*b4W[255,255,255,254]
16 11111111 11111111 11111111 11111111
?*b4W[255,255,255,255]