an_raj
August 8th, 2007, 06:23 AM
I'm using a windows PCL-XL system printer driver with plug-in. I have drawn a watermark text on the blank page. After that when I'm trying to write some text on that page , watermark is become in-visible for the whole rectangle where my text is drawn and visible out side the text region but I want it in such a way that water mark is visible as a transparent background (same as MS word Watermark) for whole page i.e. even in the area where text is written.
I have Drvtextout() hooked from Unidrv.
Can any one please let me know how can I do that by changing the Drvtextout() function parameter.
I have modified the MIX value of DrvtextOut() :
mix = mix & 0xFFFF00FF; // make the ROP for bkground to 0 keeping all same
mix = mix | 0x00000400; // Make ROP for bkground to R2_NOP
prclOpaque = NULL;
But no help.
Pls. help.
ani_raj
I have Drvtextout() hooked from Unidrv.
Can any one please let me know how can I do that by changing the Drvtextout() function parameter.
I have modified the MIX value of DrvtextOut() :
mix = mix & 0xFFFF00FF; // make the ROP for bkground to 0 keeping all same
mix = mix | 0x00000400; // Make ROP for bkground to R2_NOP
prclOpaque = NULL;
But no help.
Pls. help.
ani_raj