HP PCL/PJL reference (PCL 5 Color) - Technical Reference Manual
D-10 Modifying Output Color (Color LaserJet, 5, 5M, DeskJet) EN
Each dither matrix must be completely specified. Otherwise, the width
and height values may be misinterpreted if multiple matrices are sent.
If the width, height, and data specifications result in an odd number
data bytes, the next matrix specification will begin on an odd byte
boundary. No padding is provided for even-byte aligning.
Multiple Dither Matrices
As noted in the previous table, you set the number of planes field to 3
to send separate matrices for each primary. Each dither matrix must
have its own width and height data fields. As shown below, the matrix
specification for each primary follows the previous primary color’s
matrix specification.