How to set fix directory for output file in V4 Printer Driver

324 Views Asked by At

I am working with V4 printer driver, i need to store output xps file to a specific folder instead of letting user select output folder.

1

There are 1 best solutions below

0
On

You can create a render filter and use the code from Microsoft sample (here) in it. At the end you could use "WriteToFile" method of your XPS package to write the modified content to your specific file and folder.