HP PCL/PJL reference (PCL 5 Color) - Technical Reference Manual
EN The PCL Print Model 5-13
Logical Operation Command
Specifies the logical operation (ROP) to be performed in RGB color
space on destination, source and texture to produce new destination
data. Texture is defined as a combination of pattern and foreground
color.
?*l # O
The Logical Operation code, or Raster OPeration (ROP) code, is
simply a systematic method of encoding all of the 256 possible ways
that a Texture, Source, and Destination can be combined. Table 5-4
gives a table of ROPs from ROP 0 to ROP 255, where each operation
is defined as a logic equation. This table can be difficult to understand
and use. Furthermore, it does not show the differences that depend
on the color space. A truth table is an alternative method for
understanding the results of a logical operation. When used with
ROPs for finding the resulting destination value, it is more easily
understood than the logic operation.
1
The first destination column is ignored and the second destination column is the result
of the ROP (White = [1,1,1] and Black = [0,0,0] ).
# = Logical operation value (see Table 5-4)
Default = 252 (TSo)
Range = 0 to 255
ROP
RGB
252 (11111100)
1
(T)exture (S)ource (D)estination (D)estination
11 1 1
11 0 1
10 1 1
10 0 1
01 1 1
01 0 1
00 1 0
00 0 0