HP (Hewlett-Packard) PCL Printer User Manual


 
7-6 Color Vector Graphics (HP-GL/2) EN
MC (Merge Control)
The MC command controls the color of pixels where two or more
page marking primitives intersect on the page. This command
supports all 256 Microsoft Windows ternary (ROP3) raster operation
codes. A common application of the MC command is the rendering of
complex polygon fill patterns. Raster Operations specify how source,
destination, and patterns are combined to produce final images.
MC mode, [opcode][;]
Mode — defines the merge control mode as follows:
Note This command is the HP-GL/2 version of the PCL Logical Operation
command.
This command sets a ROP value which affects not only HP-GL/2
operation but also the PCL ROP value.
The MC command is defaulted by an IN command.
Parameter Format Functional
Range
Parameter
Default
mode clamped integer 0 or 1 0 (off)
opcode clamped integer 0 to 255 252 (mode=0),
168 (mode=1)
0 (off, default) Pixels in a primitive replace corresponding
destination pixels. If no opcode is specified,
252 is used.
1 (on) Pixels in a primitive merge with
corresponding destination pixels, creating a
new color based on the colors of the source
data and the contents of the destination
(frame buffer). If no opcode is specified,168
is used.