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

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.



Solution 1:[1]

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.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 amirfg