HP (Hewlett-Packard) PCL 5 Printer User Manual


 
9. Transfer the raster data to the printer:
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.
10. Signify the end of the raster image transfer:
?*rC This example prints the arrow as
shown in Figure 6-8.
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]
17 11111111 11111111 11111111 11111111 ?*b4W[255,255,255,255]
18 11111111 11111111 11111111 11111110 ?*b4W[255,255,255,254]
19 11111111 11111111 11111111 11111100 ?*b4W[255,255,255,252]
20 11111111 11111111 11111111 11111000 ?*b4W[255,255,255,248]
21 11111111 11111111 11111111 11110000 ?*b4W[255,255,255,240]
22 11111111 11111111 11111111 11100000 ?*b4W[255,255,255,224]
23 11111111 11111111 11111111 11000000 ?*b4W[255,255,255,192]
24 00000000 00000000 11111111 10000000 ?*b4W[ 0, 0,255,128]
25 00000000 00000000 11111111 00000000 ?*b4W[ 0, 0,255, 0]
26 00000000 00000000 11111110 00000000 ?*b4W[ 0, 0,254, 0]
27 00000000 00000000 11111100 00000000 ?*b4W[ 0, 0,252, 0]
28 00000000 00000000 11111000 00000000 ?*b4W[ 0, 0,248, 0]
29 00000000 00000000 11110000 00000000 ?*b4W[ 0, 0,240, 0]
30 00000000 00000000 11100000 00000000 ?*b4W[ 0, 0,224, 0]
31 00000000 00000000 11000000 00000000 ?*b4W[ 0, 0,192, 0]
32 00000000 00000000 10000000 00000000 ?*b4W[ 0, 0,128, 0]
The brackets and commas are not part of the raster data command; they are used only to delineate the data.
6-44 Raster Graphics6-44 Raster Graphics