Click here to Skip to main content
15,893,594 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I want to develop a V4 Printer Driver which will send rendered file to a desktop application instead of a device which will do further processing.

What I have tried:

I tried to use a post script printer render filter to add the code but not able get the output. I am not able find the way .
Posted
Updated 31-Mar-18 6:53am

1 solution

Try to write the printer output as a temporary file and use it as start parameter for your exe. Start your app with ShellExecute and the file path as start parameter. Pay attention to the start the app with the correct access rights.
 
Share this answer
 
Comments
bhairab bhuyan 2-Apr-18 1:26am    
Hello Karsten,
Thanks a lot for the solution. I think this way I can Invoke and send the file output. If you can suggest how to use Shellexecute in print driver that will help me a lot. I am unable to find the place from where I can call that method.
Thanks again.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900