Hi,
We have a GPD based printer minidriver developed using the sample code
provided by microsoft.
In this we implement a rendering side plugin for various device specific
customizations. When a print is fired from winword applications, we are
getting IPrintOemUni::ResetPDEV calls from unidrv. I checked the
documentation which says that this is due to ResetDC calls from GDI.
Now in this method I am getting 2 PDEVOBJ each containing a copy of my
private devmode.
Am I supposed to copy the valid values from pdevobjOld to pdevobjNew in this
method? Or is there something else which has to be handled here?
Earlier when this method was not implemented the private devmode values were
not correct on rendering side hooks. We were getting the printers control
panel devmode instead of the devmode of the current job.
|