HP (Hewlett-Packard) PCL Printer User Manual


 
EN Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) D-11
Example
This example produces a 4 x 4 dither matrix that is applied to all three
color primaries (the number of planes is set to 1). The following
command would be sent to create this dither matrix:
?*m22W010404B0B1B2B3B4 . . . B15 (where the first 6 binary
bytes are shown as ASCII here for clarity, and B1 . . . B15 indicate the
binary byte data).
Byte 15 (msb) 8 7 (lsb) 0 Byte
0 Format = 0 Number of planes = 3 1
2 Dither matrix height in pixels (uint 16) 3
4 Dither matrix width in pixels (uint 16) 5
6 byte #0 (ubyte) byte #1 (ubyte) 7
8 byte #2 (ubyte) byte #3 (ubyte) 9
n Dither matrix height in pixels (uint 16) n + 1
n + 2 Dither matrix width in pixels (uint 16) n + 3
n + 4 byte #0 (ubyte) byte #1 (ubyte) n + 5
n + 6 byte #2 (ubyte) byte #3 (ubyte) n + 7
m Dither matrix height in pixels (uint 16) m + 1
m + 2 Dither matrix width in pixels (uint 16) m + 3
m + 4 byte #0 (ubyte) byte #1 (ubyte) m + 5
m + 6 byte #2 (ubyte) byte #3 (ubyte) m + 7