HP (Hewlett-Packard) PCL Printer User Manual


 
5-18 The PCL Print Model EN
The result is computed below (source and pattern opaque).
Table 5-3. Logical Operation (ROP3)
Each column of destination, source, and texture values are the input
to the logical function. The result, 252, is the value that would be sent
to identify the logical operation (refer to page 5-12 for source/pattern
transparency interactions).
Table of Logical Operations
The Logical Operations (ROP3) table (Table 5-4) shows the mapping
between input values and their logical operations. Note that the
logical operations are specified as RPN (reverse polish notation)
equations. Here is a key to describe what the Boolean Function
values mean;
Note Since logical operations are interpreted in RGB space (white = 1 and
black = 0) rather than in CMY space (white = 0 and black = 1), the
results may not be intuitive. For example, ORing a white object with a
black object in RGB space yields a white object. This is the same as
ANDing the two objects in CMY space. It must be remembered that
the printer operates in something similar to a CMY space and inverts
the bits and reverses the order.
Bits
7 6 5 4 3 2 1 0
Texture 1 1 1 1 0 0 0 0
Source 1 1 0 0 1 1 0 0
Destination 1 0 1 0 1 0 1 0
ROP3 (source & pattern) 11111100
(decimal 252)
S = Source a = AND
T = Texture o = OR
D = Destination n = NOT
x = EXCLUSIVE OR