Hi,
I would like to capture the contents of a document which was sent for the printing, before it gets printed. Do I need to write any DLLs which would intercept the print system call when any printing event is triggered and then capture the data? or this could be achieved leveraging any existing DLLs? or is there any other simple way doing this.
I was thinking to make this work on any platform, intercepting the print system call is the only way capturing the data.
Kindly provide your suggestions on how to achieve this. It would be grateful if you could provide some sample code.
Thank you,
Sid
What I have tried:
I thought of using WMI to pause the printer and get the PrintJobs before they get printed. But it seems its not a feasible solution.