How do I
handle print events PDF-XChange Drivers API SDK event handling and ATL?
How do I handle PDF-XChange Drivers API SDK print events?
Can you tell me how to handle print events, such as OnStartDoc, OnStartPage and so on.
I tried this way:
-Implement _IPXCPrinterEvents interface
-Ask IConnectionPointContainer at PXCComLib::IPXCControlEx object
-Send document on print through application
-Wait for events
I use ATL.
Here is a small example of a class declaration (or you can use an existing class) using ATL.