Problem with Winfx Rendering test for Printer Drivers

HI All,

I am working on Printer Drivers in Vista. I have to port a Printer Driver from XP to Vista. The driver is having Windows logo certification for XP. I build the source code in Vista DDK with some minor changes. Now it is working fine. But with DTM testing it is failing. It is only failing for the “Winfx Rendering test”. I have not included the PrintTicket provider module in my GDI based driver. Vista documentation says that it is optional and Vista will do the conversion from devmode to PrintCapabilities using prntvpt.dll. It will be using DrvDeviceCapabilities for this. I debugged that function in my driver and it is returning the values perfectly. But the error during the test given is “width must be non-negative.” this is thrown as a CLR exception. I think something is going wrong during installation.
During the test the application is qureying for “DC_PAPERS”, DC_PAPERNAMES and DC_PAPERSIZES. These values are returing correctly. And after that test application is creating a PrintTicket and validating it. During that it is getting the error and is throwing the message as Width must be non negative.

Please give some comments in this.

Thanks in Advance…

Sandeep.