PTMergeAndValidatePrintTicket not working RRS feed

  • Question

  • Hi,

    We have built an XPS print driver based on the example in the WDK. We have added support for specifying the PageInputBin.

    This works fine on most of our test machines (Win7 & Win8), however, we have come across a couple of Windows 7 machines that generate an empty xps file (Its a valid zip, but with nothing inside of it)

    We've been debugging, and have discovered that the second call to the PTMergeAndValidatePrintTicket method fails, stating that there is a duplicate value for PageInputBin.

    Going back to the first call the driver makes to PTMergeAndValidatePrintTicket, we can see that both the baseTicket, and the deltaTicket contain elements for PageInputBin (They have the same setting). On the machines that work, the resultTicket contains only one PageInputBin value. ON the machines that are erroring, the resultTicket contains two PageInputBin elements. This uggests that the PTMergeAndValidatePrintTicket method is nto merging them correctly.

    Has any oen come across this before, or know anyway to fix it?

    Many Thanks,


    Friday, February 6, 2015 4:50 PM