PTPC related

Seetha Ramaih Setty 1 Reputation point


We are developing GPD based printer driver.
To customize the UI, we have implemented IPrintOemUI2 interface.
We have also implemented IPrintOemUni2 for the rendering part.
So, far so good. it is working fine.

Then we wanted to implement the PTPC support. For this we have implemented IPrintOemPrintTicketProvider. But unfortunately we not not getting the callbacks related to the IPrintOemPrintTicketProvider, like ConvertDevModeToPrintTicket method.

When we checked, we found that the DllGetClassObject is being called for IPrintOemUI2 & IPrintOemUni2 implementations. But for IPrintOemPrintTicketProvider implementation, the DllGetClassObject is not getting called.

Can you please let me know if i am missing any thing here. Maybe like registering the interface or some kind of hooking up?

To give more info, each interface is implemented in a separate dll.


Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,413 questions
Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,539 questions
{count} votes