HP PCL/PJL reference (PCL 5 Color) - Technical Reference Manual

EN Using Color Modes (Color LaserJet, 5, 5M, DeskJet) B-17
Long Form of CID Command (Configure
Image Data)
In addition to the short form, there is also a long form of the CID
command for each color space. In device-independent color spaces,
the long form can specify primaries other than the defaults provided
by the short form. For example, a Sony Trinitron RGB primary base
can be selected for Colorimetric RGB instead of the default non-linear
SMPTE RGB primaries.
Device RGB (Long Form)
The long form for the Device RGB color space (value field 18)
provides explicit entry of black and white references (range is –32767
to 32767). Black and white references are used in the direct pixel
encoding modes (2,3) to set relative limits for raster data; they are
also used when specifying the primary components of new palette
entries (
?*v#A, ?*v#B, ?*v#C). Black and white references have
no effect on CID default palette colors. The reference values are
specified as 16-bit signed integers (sint16).
Note The short form for the Device RGB color space defaults each
primary's black reference to 0 and the white reference to 2
n
–1, where
n is the number of bits for that primary.
Byte 15 (msb) 8 7 (lsb) 0 Byte
0 Color space Pixel encoding mode 1
2 Bits per index Bits per primary #1 3
4 Bits per primary #2 Bits per primary #3 5
6 White reference for primary #1 (sint 16) 7
8 White reference for primary #2 (sint 16) 9
10 White reference for primary #3 (sint 16) 11
12 Black reference for primary #1 (sint16) 13
14 Black reference for primary #2 (sint16) 15
16 Black reference for primary #3 (sint16) 17