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

# = Logical operation value (see Table 5-4)

Default = 252 (TSo)

Range = 0 to 255

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.

ROPRGB 252 (11111100)1

(T)exture

(S)ource

(D)estination

(D)estination

 

 

 

 

1

1

1

1

 

 

 

 

1

1

0

1

 

 

 

 

1

0

1

1

 

 

 

 

1

0

0

1

 

 

 

 

0

1

1

1

 

 

 

 

0

1

0

1

 

 

 

 

0

0

1

0

 

 

 

 

0

0

0

0

 

 

 

 

1The 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] ).

EN

The PCL Print Model 5-13

Page 77
Image 77
HP L 5 manual Logical Operation Command, ?*l # O, Roprgb 252 Texture Source Destination