Reg 2K Printer drivers

Hi ,
We are working on Win2K monolithic drivers. While testing the WHQL
documents we came across the following problem.

  1. The emf used to print will be printing a blue rectangle and a red
    triangle over it. The triangle is send by the GDI as a bitmap with red
    triangle on white background. Under lying rectangle should be visible
    through the background (white part ) of the triangle above it. But in the
    print out the rectangle is fully over written by the triangle.
  2. We are having a device managed surface. First rectangle is send using
    DrvBitblt and DrvCopyBits is called twice to send the triangle. First
    DrvCopybits is called with source surface as a device surface. Since we
    don’t have the device surface image, we are doing an EngEraseSurfce on the
    destination surface and returning. The next call is again to DrvCopyBits to
    copy from Bitmap surface to Device surface. We are doing a source copy for
    this and hence the problem occurs .

Should we implement some other entry points like DrvgradientFill ?
Any pointer on this will be very helpful.
Thanks and regards,

Binu